Project

General

Profile

Actions

Bug #10468

closed

Katello 2.2 installation fails on RHEL7

Added by Edgars Mazurs over 9 years ago. Updated about 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Eric Helms over 9 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?

Actions #2

Updated by Edgars Mazurs over 9 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.

Actions #3

Updated by Eric Helms over 9 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.

Actions #4

Updated by Edgars Mazurs over 9 years ago

Hi

After deleting Puppet directory, katello-installer worked. Thanks!

Actions #5

Updated by Eric Helms over 9 years ago

  • Status changed from Need more information to Rejected
  • Translation missing: en.field_release deleted (55)
Actions #6

Updated by Eric Helms about 8 years ago

  • Translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF