[Bug 1532310] [NEW] 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 8 20:01:09 UTC 2016
Public bug reported:
When doing a query of the status of the Sentry Switched CDU, it returns
with an exit status of 2 if the unit is powered OFF.
$ /usr/sbin/fence_cdu -a 10.228.0.29 -n Master_16 -l **** -p **** -o status; echo $?
Status: OFF
2
$ /usr/sbin/fence_cdu -a 10.228.0.29 -n Master_16 -l **** -p **** -o on; echo $?
Success: Powered ON
0
$ /usr/sbin/fence_cdu -a 10.228.0.29 -n Master_16 -l **** -p **** -o on; echo $?
Success: Already ON
0
$ /usr/sbin/fence_cdu -a 10.228.0.29 -n Master_16 -l **** -p **** -o status; echo $?;
Status: ON
0
$ /usr/sbin/fence_cdu -a 10.228.0.29 -n Master_16 -l **** -p **** -o off; echo $?
Success: Powered OFF
0
$ /usr/sbin/fence_cdu -a 10.228.0.29 -n Master_16 -l **** -p **** -o off; echo $?
Success: Already OFF
0
$ /usr/sbin/fence_cdu -a 10.228.0.29 -n Master_16 -l **** -p **** -o status; echo $?;
Status: OFF
2
** Affects: fence-agents (Ubuntu)
Importance: Undecided
Status: New
--
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