Bug 694816 - postgres-8 resource agent does not detect a failed start of postgres server
Summary: postgres-8 resource agent does not detect a failed start of postgres server
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: resource-agents
Version: 6.2
Hardware: Unspecified
OS: Unspecified
low
high
Target Milestone: rc
: ---
Assignee: Chris Feist
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On: 663827
Blocks: 917781
TreeView+ depends on / blocked
 
Reported: 2011-04-08 14:09 UTC by Marek Grac
Modified: 2015-04-01 16:17 UTC (History)
7 users (show)

Fixed In Version: resource-agents-3.9.2-2.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 663827
: 917781 (view as bug list)
Environment:
Last Closed: 2011-12-06 12:02:52 UTC
Target Upstream Version:


Attachments (Terms of Use)
Proposed patch (3.89 KB, patch)
2011-07-08 11:34 UTC, Marek Grac
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1201285 0 low CLOSED [rgmanager] unused shutdown_wait in postgres-8.metadata 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2011:1580 0 normal SHIPPED_LIVE Low: resource-agents security, bug fix, and enhancement update 2011-12-06 00:38:57 UTC

Internal Links: 1201285

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


Note You need to log in before you can comment on or make changes to this bug.