Bug 694816

Summary: postgres-8 resource agent does not detect a failed start of postgres server
Product: Red Hat Enterprise Linux 6 Reporter: Marek Grac <mgrac>
Component: resource-agentsAssignee: Chris Feist <cfeist>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: high Docs Contact:
Priority: low    
Version: 6.2CC: agk, cluster-maint, djansa, edamato, lhh, mglantz, rsteiger
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: resource-agents-3.9.2-2.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 663827
: 917781 (view as bug list) Environment:
Last Closed: 2011-12-06 12:02:52 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: 663827    
Bug Blocks: 917781    
Attachments:
Description Flags
Proposed patch none

Comment 5 Marek Grac 2011-07-08 11:34:16 UTC
Created attachment 511908 [details]
Proposed patch

Patch is same as for RHEL-5 (it is not in upstream yet).

Comment 7 Chris Feist 2011-07-25 22:04:01 UTC
After fix:

[root@ask-04 ~]# rpm -q resource-agents rgmanager
resource-agents-3.9.2-2.el6.x86_64
rgmanager-3.0.12.1-2.el6.x86_64



Postgres fails to start (due to selinux issues), but clustat recognizes it and marks the service as stopped.

[root@ask-04 ~]# clusvcadm -e serv
Local machine trying to enable service:serv...Jul 25 17:01:14 ask-04 rgmanager[2104]: Starting stopped service service:serv
Failure


ps -eaf | grep postgres

returns nothing.

Comment 11 errata-xmlrpc 2011-12-06 12:02:52 UTC
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.

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