[Bug 1532310] Re: fence_cdu returns exit status of 2 when querying the power state of CDU Sentry Switch (PDU) when it is OFF
Newell Jensen
newell.jensen at canonical.com
Fri Jan 15 23:54:59 UTC 2016
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
Server Team, which is subscribed to fence-agents in 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
More information about the Ubuntu-server-bugs
mailing list