Bug 1335875
Summary: | Upgrade step start_httpd failed on RHEL6 with "Include directory '/etc/httpd/conf.modules.d' not found" | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Lukas Pramuk <lpramuk> |
Component: | Upgrades | Assignee: | John Mitsch <jomitsch> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.2.0 | CC: | bbuckingham, cwelton, ehelms, jomitsch, tbrisker |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/15072 | ||
Whiteboard: | |||
Fixed In Version: | katello-installer-base-3.0.0.32-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 11:04:04 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1335807 |
Description
Lukas Pramuk
2016-05-13 12:33:44 UTC
/etc/httpd/conf/httpd.conf:
46: Include "/etc/httpd/conf.d/*.conf"
47:
48: Include "/etc/httpd/conf.modules.d/*.conf" <<< dir not found
>>> It seems that 6.1 httpd conf layout is not migrated to 6.2 layout...
>>> That directory exists only on RHEL7 with httpd-2.4 while RHEL6 has httpd-2.2 # rpm -qf /etc/httpd/conf.modules.d httpd-2.4.6-40.el7.x86_64 >>> Upgrades should handle also RHEL6 httpd-2.2 The error is not so hard, after removing line 48 in /etc/httpd/conf/httpd.conf, the upgrade step start_httpd succeeds and Upgrades proceed further I confirm, the root cause is here: https://github.com/Katello/katello-installer/blob/master/hooks/pre/30-upgrade.rb#L13 This was introduced in the fix for bug 1332700. John - can you please take a look as you fixed the related bug? Tomer, I assigned this to myself and will take a look. -John Created redmine issue http://projects.theforeman.org/issues/15072 from this bug Moving to POST since upstream bug http://projects.theforeman.org/issues/15072 has been closed VERIFIED. @satellite-6.2.0-13.0.el6sat.noarch # satellite-installer -S satellite --upgrade Upgrading... Upgrade Step: stop_services... Upgrade Step: start_databases... Upgrade Step: update_http_conf... Upgrade Step: migrate_pulp... Upgrade Step: fix_pulp_httpd_conf... Upgrade Step: start_httpd... <<< step went successfully Upgrade Step: start_qpidd... Upgrade Step: start_pulp... Upgrade Step: migrate_candlepin... Upgrade Step: start_tomcat... Upgrade Step: fix_katello_settings_file... Upgrade Step: migrate_foreman... Upgrade Step: migrate_gutterball... Upgrade Step: remove_nodes_distributors... Upgrade Step: Running installer... ... Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501 |