You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
directory[/etc/profile.d] action create (up to date)
template[/etc/profile.d/jdk.sh] action create
create new file /etc/profile.d/jdk.sh
update content in file /etc/profile.d/jdk.sh from none to b2915a
--- /etc/profile.d/jdk.sh 2018-05-16 17:25:56.288136629 +0000
+++ /etc/profile.d/.chef-jdk20180516-72-whnrl2.sh 2018-05-16 17:25:56.288136629 +0000
@@ -1 +1,2 @@
+export JAVA_HOME=/opt/java
change mode from '' to '0755'
Recipe: java::oracle
yum_package[tar] action install (up to date)
java_ark[jdk] action install
yum_package[curl for download_direct_from_oracle] action install (up to date)
download oracle tarball straight from the server[2018-05-16T17:25:59+00:00] FATAL: Failed to extract file server-jre-8u152-linux-x64.tar.gz!
[2018-05-16T17:25:59+00:00] FATAL: Failed to extract file server-jre-8u152-linux-x64.tar.gz!
Running handlers:
[2018-05-16T17:25:59+00:00] ERROR: Running exception handlers
[2018-05-16T17:25:59+00:00] ERROR: Running exception handlers
Running handlers complete
[2018-05-16T17:25:59+00:00] ERROR: Exception handlers complete
[2018-05-16T17:25:59+00:00] ERROR: Exception handlers complete
Chef Client failed. 2 resources updated in 05 seconds
[2018-05-16T17:25:59+00:00] FATAL: Stacktrace dumped to /etc/chef/local-mode-cache/cache/chef-stacktrace.out
[2018-05-16T17:25:59+00:00] FATAL: Stacktrace dumped to /etc/chef/local-mode-cache/cache/chef-stacktrace.out
[2018-05-16T17:25:59+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-05-16T17:25:59+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
ERROR: Service 'nexus' failed to build: The command '/bin/sh -c curl -L https://www.getchef.com/chef/install.sh | bash && /opt/chef/embedded/bin/erb /var/chef/solo.json.erb > /var/chef/solo.json && chef-solo --recipe-url ${NEXUS_REPOSITORY_MANAGER_COOKBOOK_URL} --json-attributes /var/chef/solo.json && rpm -qa chef | xargs rpm -e && rpm --rebuilddb && rm -rf /etc/chef && rm -rf /opt/chefdk && rm -rf /var/cache/yum && rm -rf /var/chef' returned a non-zero code: 1
The text was updated successfully, but these errors were encountered:
@jetch-elbahi this happens because Java version 8u152 is no more available on Oracle site. You should change Dockerfile inside docker-nexus gitmodule repo:
Recipe: java::set_java_home
--- /etc/profile.d/jdk.sh 2018-05-16 17:25:56.288136629 +0000
+++ /etc/profile.d/.chef-jdk20180516-72-whnrl2.sh 2018-05-16 17:25:56.288136629 +0000
@@ -1 +1,2 @@
+export JAVA_HOME=/opt/java
Recipe: java::oracle
[2018-05-16T17:25:59+00:00] FATAL: Failed to extract file server-jre-8u152-linux-x64.tar.gz!
Running handlers:
[2018-05-16T17:25:59+00:00] ERROR: Running exception handlers
[2018-05-16T17:25:59+00:00] ERROR: Running exception handlers
Running handlers complete
[2018-05-16T17:25:59+00:00] ERROR: Exception handlers complete
[2018-05-16T17:25:59+00:00] ERROR: Exception handlers complete
Chef Client failed. 2 resources updated in 05 seconds
[2018-05-16T17:25:59+00:00] FATAL: Stacktrace dumped to /etc/chef/local-mode-cache/cache/chef-stacktrace.out
[2018-05-16T17:25:59+00:00] FATAL: Stacktrace dumped to /etc/chef/local-mode-cache/cache/chef-stacktrace.out
[2018-05-16T17:25:59+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-05-16T17:25:59+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
ERROR: Service 'nexus' failed to build: The command '/bin/sh -c curl -L https://www.getchef.com/chef/install.sh | bash && /opt/chef/embedded/bin/erb /var/chef/solo.json.erb > /var/chef/solo.json && chef-solo --recipe-url ${NEXUS_REPOSITORY_MANAGER_COOKBOOK_URL} --json-attributes /var/chef/solo.json && rpm -qa chef | xargs rpm -e && rpm --rebuilddb && rm -rf /etc/chef && rm -rf /opt/chefdk && rm -rf /var/cache/yum && rm -rf /var/chef' returned a non-zero code: 1
The text was updated successfully, but these errors were encountered: