[Bug 1532310] Re: fence_cdu returns exit status of 2 when querying the power state of CDU Sentry Switch (PDU) when it is OFF

2016-01-19 Thread Newell Jensen
Setting to invalid for now as a lot of fence agents rely on the fence- agents code. Returning an exit code of 2 while querying the power status for OFF but 0 for ON is questionable behavior and may want to be addressed at some point. ** Changed in: fence-agents (Ubuntu) Status: New =>

[Bug 1532310] Re: fence_cdu returns exit status of 2 when querying the power state of CDU Sentry Switch (PDU) when it is OFF

2016-01-15 Thread Newell Jensen
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