bugcrmsh - Bugs: bug #38702, crm status returns 0 when the CIB...


bug #38702: crm status returns 0 when the CIB is down

Submitted by:  Brian J. Murrell <brian_j_murrell>
Submitted on:  Wed Apr 10 16:32:16 2013  
Category: NoneSeverity: 4 - Important
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Dejan Muhamedagic <dejanm>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Thu Apr 18 11:03:41 2013, comment #2:

Fixed here:

changeset: 955:99f27f3b8aa0
user: Dejan Muhamedagic <dejan@hello-penguin.com>
date: Tue Apr 16 18:09:21 2013 +0200
summary: Medium: fix exit code of crm status if crm_mon fails (savannah#38702)

Thanks for the report!


Dejan Muhamedagic <dejanm>
Project AdministratorIn charge of this item.
Thu Apr 11 06:11:13 2013, comment #1:

Obviously a bug. Will work on it.

Dejan Muhamedagic <dejanm>
Project AdministratorIn charge of this item.
Wed Apr 10 16:32:16 2013, original submission:

# crm status
Cannot change active directory to /var/lib/pacemaker/cores/root: No such file or directory (2)
Could not establish cib_ro connection: Connection refused (111)
Connection to cluster failed: Transport endpoint is not connected
# echo $?

"0" doesn't seem (to me) like a terribly reasonable or useful exit status when the CIB is not even reachable.


Brian J. Murrell <brian_j_murrell>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by dejanm (Posted a comment)
  • -unavailable- added by brian_j_murrell (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Sep 13 18:48:17 2013dejanmOpen/ClosedOpen=>Closed
    Thu Apr 18 11:03:41 2013dejanmStatusConfirmed=>Fixed
    Thu Apr 11 06:11:13 2013dejanmSeverity3 - Normal=>4 - Important
      Assigned toNone=>dejanm

    Back to the top

    Powered by Savane 3.1-cleanup1