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

 
 

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

Submitter:  Brian J. Murrell <brian_j_murrell>
Submitted:  Wed 10 Apr 2013 04:32:16 PM UTC
   
 
Category:  None Severity:  4 - Important
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  dejanm
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 18 Apr 2013 11:03:41 AM UTC, 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!

Closing.

Dejan Muhamedagic <dejanm>
Group administrator
Thu 11 Apr 2013 06:11:13 AM UTC, comment #1: 

Obviously a bug. Will work on it.

Dejan Muhamedagic <dejanm>
Group administrator
Wed 10 Apr 2013 04:32:16 PM UTC, 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

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

Thoughts?

Brian J. Murrell <brian_j_murrell>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-13 dejanm Open/ClosedOpen Closed
    2013-04-18 dejanm StatusConfirmed Fixed
    2013-04-11 dejanm Severity3 - Normal 4 - Important
        StatusNone Confirmed
        Assigned toNone dejanm

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code