Bug 675739

Summary: Listen line in generated httpd.conf incorrect
Product: Red Hat Enterprise Linux 5 Reporter: Marek Grac <mgrac>
Component: rgmanagerAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: high Docs Contact:
Priority: low    
Version: 5.8CC: cluster-maint, djansa, edamato, joshua, lhh, mjuricek
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: rgmanager-2.0.52-11.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 667217 Environment:
Last Closed: 2011-07-21 10:48:14 UTC Type: ---
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: 667217    
Bug Blocks:    

Comment 2 Martin Juricek 2011-06-14 17:11:15 UTC
Verified in version rgmanager-2.0.52-19.el5, kernel 2.6.18-266.el5

The IP address on Listen line in httpd.conf doesn't contain subnet mask and service with apache resource is started correctly.


service definition from cluster.conf :
<service autostart="0" name="httpd" recovery="relocate">
        <ip address="10.15.89.178/24"/>
        <apache name="apache"/>
</service>

from /etc/cluster/apache/apache:apache/httpd.conf :
Listen 10.15.89.178:80


from /var/log/messages :
Jun 14 11:13:46 a1 clurgmgrd[11980]: <notice> Starting disabled service service:httpd 
Jun 14 11:13:48 a1 avahi-daemon[3483]: Registering new address record for 10.15.89.178 on eth0.
Jun 14 11:13:49 a1 clurgmgrd[11980]: <notice> Service service:httpd started 



with older version of rgmanager-2.0.52-9.el5 :

Listen 10.15.89.178/24:80

Jun 14 10:38:49 a1 clurgmgrd[4820]: <notice> Starting disabled service service:httpd 
Jun 14 10:38:51 a1 avahi-daemon[3483]: Registering new address record for 10.15.89.178 on eth0.
Jun 14 10:38:52 a1 clurgmgrd: [4820]: <err> Starting Service apache:apache > Failed 
Jun 14 10:38:52 a1 clurgmgrd[4820]: <notice> start on apache "apache" returned 1 (generic error) 
Jun 14 10:38:52 a1 clurgmgrd[4820]: <warning> #68: Failed to start service:httpd; return value: 1 
Jun 14 10:38:52 a1 clurgmgrd[4820]: <notice> Stopping service service:httpd

Comment 3 errata-xmlrpc 2011-07-21 10:48:14 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-1000.html