Bug #10468
closedKatello 2.2 installation fails on RHEL7
Description
Katello installer fails on RHEL7 systems. From logs:
[ERROR 2015-05-11 16:13:58 main] Could not start Service[httpd]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait start httpd' returned 1: Redirecting to /bin/systemctl start httpd.service
[ERROR 2015-05-11 16:13:58 main] /Stage[main]/Apache::Service/Service[httpd]/ensure: change from stopped to running failed: Could not start Service[httpd]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait start httpd' returned 1: Redirecting to /bin/systemctl start httpd.service
root@vm-ttm-7:~/katello-deploy# systemctl status httpd
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
Active: failed (Result: exit-code) since Mon 2015-05-11 16:11:24 CEST; 15min ago
Process: 25908 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 25898 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 25898 (code=exited, status=1/FAILURE)May 11 16:11:24 vm-ttm-7 systemd 1: Starting The Apache HTTP Server...
May 11 16:11:24 vm-ttm-7 httpd 25898: AH00526: Syntax error on line 29 of /etc/httpd/conf.d/25-puppet.conf:
May 11 16:11:24 vm-ttm-7 httpd 25898: SSLCertificateChainFile: file '/var/lib/puppet/ssl/ca/ca_crt.pem' does not exist or is empty
May 11 16:11:24 vm-ttm-7 systemd 1: httpd.service: main process exited, code=exited, status=1/FAILURE
May 11 16:11:24 vm-ttm-7 kill 25908: kill: cannot find process ""
May 11 16:11:24 vm-ttm-7 systemd 1: httpd.service: control process exited, code=exited status=1
May 11 16:11:24 vm-ttm-7 systemd 1: Failed to start The Apache HTTP Server.
May 11 16:11:24 vm-ttm-7 systemd 1: Unit httpd.service entered failed state.
Under /var/lib/puppet/ssl/ there is no ca directory.
I tried both manual installation and katello-deploy.
Katello version: 2.2
OS: RHEL 7.1
Updated by Eric Helms almost 10 years ago
- Status changed from New to Need more information
- Triaged changed from No to Yes
Did puppet exist on the machine prior to? When you used katello-deploy, did you do a direct deployment or use the vagrant boxes provided?
Updated by Edgars Mazurs almost 10 years ago
There was Puppet Agent, but I stopped and removed it before deploying Katello. I used direct deployment with katello-deploy. To workaround this issue I had to use katello-installer --capsule-puppet=false --capsule-puppetca=false and then it did not fail.
Updated by Eric Helms almost 10 years ago
- Translation missing: en.field_release changed from 51 to 55
This sounds like its this issue https://groups.google.com/forum/#!topic/foreman-users/ekZdM2nZPeo where the whole directory needs to be deleted and not just the contents of the directory.
Updated by Edgars Mazurs almost 10 years ago
Hi
After deleting Puppet directory, katello-installer worked. Thanks!
Updated by Eric Helms almost 10 years ago
- Status changed from Need more information to Rejected
- Translation missing: en.field_release deleted (
55)
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 166