Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1081537

Summary: [upgrade] upgrade to 3.3 - VirtualHost overlap on port 443 with mod_nss leftover from ipa installation from 3.0
Product: Red Hat Enterprise Virtualization Manager Reporter: Pavel Stehlik <pstehlik>
Component: ovirt-engine-setupAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: sefi litmanovich <slitmano>
Severity: high Docs Contact:
Priority: medium    
Version: 3.3.0CC: acathrow, alonbl, bazulay, dfediuck, didi, gklein, iheim, lveyde, pstehlik, Rhev-m-bugs, sbonazzo, sherold, stirabos, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Deprecated Functionality
Doc Text:
Running IPA on the same host running RHEV-M was supported in version 3.0 and is not supported anymore. As side effect of the IPA setup, you'll have Apache mod_nss configured for binding https on standard port 443. When upgrading to a newer RHEV-M releases if the mod_nss configuration file is still around it will cause a failure when trying to configure Apache mod_ssl for binding https on port 443 since it's already used by mod_nss. So when upgrading from 3.0 the file /etc/httpd/conf.d/nss.conf should be removed or configured properly for not using port 443
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-12 14:06:37 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:
Attachments:
Description Flags
upg-log.tgz none

Description Pavel Stehlik 2014-03-27 14:26:00 UTC
Created attachment 879512 [details]
upg-log.tgz

Description of problem:
 Have upgraded engine since 3.0 and when upgrade 3.2 => 3.3 (is35.1) got the message:
...
[ INFO  ] Restarting httpd
[WARNING] Engine port was modified from port 8080 to 80. Consider to run rename script to re-issue web certificate with current port within AIA extension. 
[ INFO  ] Stage: Clean up
...
However httpd is unable to run thus port 80/443 is not working. Problem here is mod_nss which is leftover from 3.0 when we used IPA. During removal (3.1?) we get rid of freeipa-server|ipa-server but mod_nss.
/etc/httpd/conf.d/nss.conf:
Listen 443

Removing that httpd conf solve the issue.

Version-Release number of selected component (if applicable):
rhevm-setup-3.3.2-0.50.el6ev.noarch
mod_nss-1.0.8-19.el6_5.x86_64

How reproducible:


Steps to Reproduce:
1. to have chain upgrade since 3.0 => 3.2
2. upgrade to 3.3
3.

Actual results:


Expected results:


Additional info:
httpd:
Starting httpd: [Thu Mar 27 14:52:34 2014] [warn] _default_ VirtualHost overlap on port 443, the first has precedence
(98)Address already in use: make_sock: could not bind to address [::]:443

Comment 1 Alon Bar-Lev 2014-03-27 15:17:45 UTC
Please attach the mod_nss configuration that existed.

Comment 3 Doron Fediuck 2014-04-29 13:12:23 UTC
This should be resolved using a release note.
Sandro, please provide the relevant text.

Comment 4 Sandro Bonazzola 2014-05-05 12:58:20 UTC
Running IPA on the same host running RHEV-M was supported in version 3.0 and is not supported anymore. As side effect of the IPA setup, you'll have Apache mod_nss configured for binding https on standard port 443.
When upgrading to a newer RHEV-M releases if the mod_nss configuration file is still around it will cause a failure when trying to configure Apache mod_ssl for binding https on port 443 since it's already used by mod_nss.

So when upgrading from 3.0 the file /etc/httpd/conf.d/nss.conf should be removed or configured properly for not using port 443

Moving to ON_QA for allowing documentation provided to be verified.

Comment 5 sefi litmanovich 2014-05-07 16:29:23 UTC
Verified according to comment 4.
1. reproduced and failed to upgrade to 3.3 from 3.2 when /etc/httpd/conf.d/nss.conf was configured.

2. removed package mod_nss and deleted /etc/httpd/conf.d/nss.conf before upgrade from 3.2 to 3.3 - upgrade was successful.

Comment 6 Itamar Heim 2014-06-12 14:06:37 UTC
Closing as part of 3.4.0