Skip to content

irods_audit_elk_stack Dockerfile not building #35

@trel

Description

@trel

Mostly got there...

Current build failure on step 33/37:

47.50 + /etc/init.d/kibana start
47.74  * Starting Kibana Server
137.3  * Kibana Server appears to be running, but healthcheck failed: Kibana responded with HTTP status 503
137.3    ...fail!
------
Dockerfile:161
--------------------
 160 |     COPY kibana/irods_dashboard.ndjson /var/lib/irods-elk/irods_dashboard.ndjson
 161 | >>> RUN ES_JAVA_OPTS="-Xms512m -Xmx512m" /etc/init.d/elasticsearch start && \
 162 | >>>     curl -sLSf -XPUT "http://localhost:9200/irods_audit?pretty=true" \
 163 | >>>         -H 'Content-Type: application/json' \
 164 | >>>         --data @/var/lib/irods-elk/irods_audit.index.json \
 165 | >>>     && \
 166 | >>>     curl -sLSf -X GET "http://localhost:9200/irods_audit/_settings?pretty=true&human=true" && \
 167 | >>>     curl -sLSf -X GET "http://localhost:9200/irods_audit/_mapping?pretty=true&human=true" && \
 168 | >>>     /etc/init.d/kibana start && \
 169 | >>>     curl -sLSf -X POST "http://localhost:5601/api/saved_objects/_import" \
 170 | >>>         -H "kbn-xsrf: true" \
 171 | >>>         --form file=@/var/lib/irods-elk/irods_dashboard.ndjson \
 172 | >>>     && echo && \
 173 | >>>     /etc/init.d/kibana stop && \
 174 | >>>     /etc/init.d/elasticsearch stop
 175 |     SHELL [ "/bin/bash", "-c" ]
--------------------
ERROR: failed to solve: process "/bin/bash -x -c ES_JAVA_OPTS=\"-Xms512m -Xmx512m\" /etc/init.d/elasticsearch start &&     curl -sLSf -XPUT \"http://localhost:9200/irods_audit?pretty=true\"         -H 'Content-Type: application/json'         --data @/var/lib/irods-elk/irods_audit.index.json     &&     curl -sLSf -X GET \"http://localhost:9200/irods_audit/_settings?pretty=true&human=true\" &&     curl -sLSf -X GET \"http://localhost:9200/irods_audit/_mapping?pretty=true&human=true\" &&     /etc/init.d/kibana start &&     curl -sLSf -X POST \"http://localhost:5601/api/saved_objects/_import\"         -H \"kbn-xsrf: true\"         --form file=@/var/lib/irods-elk/irods_dashboard.ndjson     && echo &&     /etc/init.d/kibana stop &&     /etc/init.d/elasticsearch stop" did not complete successfully: exit code: 154

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions