Looking at the source code for fence-agents method fence_action has:

        elif options["-o"] == "status":
                print "Status: " + status.upper()
                if status.upper() == "OFF":
                        result = 2


Thus, this is not a fence_cdu bug and rather an artifact of how fence-agents is 
implementing their fence_action method, which fence_cdu is using here.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1532310

Title:
  fence_cdu returns exit status of 2 when querying the power state of
  CDU Sentry Switch (PDU) when it is OFF

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fence-agents/+bug/1532310/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to