Bug #17415
closedCapsule upgrade fails to start httpd due to duplicated WSGI daemon definition
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1368085
Description of problem:
On a 6.2.0 Capsule (installed from scratch, never upgraded from 6.1.x), attempting to upgrade to 6.2.1 fails when httpd fails to start due to duplicated WSGI daemon definition.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Install a 6.2.0 Capsule from scratch
2. Run "satellite-installer --scenario capsule --upgrade"
Actual results:
Upgrade Step: start_httpd...
Redirecting to /bin/systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
Some services failed to start: httpd
Upgrade step start_httpd failed. Check logs for more information.
- systemctl status httpd.service
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2016-08-18 06:30:12 EDT; 7min ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 21674 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 21672 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 21672 (code=exited, status=1/FAILURE)
Aug 18 06:30:12 sat62cap.usersys.redhat.com systemd1: Starting The Apache HTTP Server...
Aug 18 06:30:12 sat62cap.usersys.redhat.com httpd21672: AH00526: Syntax error on line 28 of /etc/httpd/conf.d/pulp.conf:
Aug 18 06:30:12 sat62cap.usersys.redhat.com httpd21672: Name duplicates previous WSGI daemon definition.
Aug 18 06:30:12 sat62cap.usersys.redhat.com systemd1: httpd.service: main process exited, code=exited, status=1/FAILURE
Aug 18 06:30:12 sat62cap.usersys.redhat.com kill21674: kill: cannot find process ""
Aug 18 06:30:12 sat62cap.usersys.redhat.com systemd1: httpd.service: control process exited, code=exited status=1
Aug 18 06:30:12 sat62cap.usersys.redhat.com systemd1: Failed to start The Apache HTTP Server.
Aug 18 06:30:12 sat62cap.usersys.redhat.com systemd1: Unit httpd.service entered failed state.
Aug 18 06:30:12 sat62cap.usersys.redhat.com systemd1: httpd.service failed.
Expected results:
Upgrade to 6.2.1. succeeds.
Additional info: