Bug 1426721 - [RFE] Alter the database status check to not rely on systemd
Summary: [RFE] Alter the database status check to not rely on systemd
Keywords:
Status: CLOSED DUPLICATE of bug 1418080
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: cfme-future
Assignee: Gregg Tanzillo
QA Contact: luke couzens
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-24 16:41 UTC by Nick Carboni
Modified: 2017-03-06 22:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-06 22:00:35 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nick Carboni 2017-02-24 16:41:45 UTC
Description of problem:
Right now the console summary only lists the database as running if it is running under systemd.

In some cases (repmgr) the database is started using pg_ctl directly rather than systemctl. This will cause the console summary to report that the database is not running.

I propose that we use `pg_ctl -D $APPLIANCE_PG_DATA status` to determine the status of the database as that will always be correct.

Version-Release number of selected component (if applicable):
5.7.0.17

Comment 2 Nick Carboni 2017-03-06 22:00:35 UTC

*** This bug has been marked as a duplicate of bug 1418080 ***


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