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
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