Hi,
I am trying to install Katello on one server and foreman-proxy on a separate server using
foreman-installer --scenario katello -i
Slight problem : the installer failed at 93% on this step :
'/usr/bin/wget --no-proxy --timeout=30 --tries=40 --wait=20 --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init > /var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done' returned 8 instead of one of [0]
If i dig a little bit more i see that this error message appear because the wget command return 404 :
404 Not Found
Registered socket 3 for persistent reuse.
] done.
2018-10-29 10:47:46 ERROR 404: Not Found.
Because tomcat doesn’t start it cannot therefore listen on the 8080 port
SEVERE: Exception sending context initialized event to listener instance of class org.candlepin.guice.CandlepinContextListener
com.google.inject.CreationException: Guice creation errors:
1) Error injecting constructor, java.io.FileNotFoundException: /etc/pki/katello/private/katello-default-ca.key (Permission denied)
Here are the rights setup by foreman-installer :
-r--r----- 1 root qpidd 1675 Oct 29 10:05 HOSTNAME.hosting.eu-qpid-broker.key
-r-------- 1 root root 1675 Oct 29 10:05 java-client.key
-r--r----- 1 root root 1675 Oct 29 10:05 katello-apache.key
-r--r----- 1 root root 1675 Oct 29 10:03 katello-default-ca.key
-r-------- 1 root root 24 Oct 29 10:03 katello-default-ca.pwd
-r-------- 1 root root 1675 Oct 29 10:05 katello-tomcat.key
-r--r----- 1 root root 1679 Oct 29 10:05 pulp-client.key
And when i try to alter the rights the foreman-installer re sets them up like above.
Is it a bug? Or is it impossible to install Katello whitout a local foreman-proxy?
Any help is welcome