ucs-m powerstatus fails when already off
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cisco Openstack |
In Progress
|
Medium
|
Chip |
Bug Description
One smaller bug with the new fence_ucs script. powerstatus errors when the node is already off
poweron,
root@ci-build:~# cobbler system powerstatus --name=ci-os-con1
task started: 2014-06-
task started (id=Power management (status), time=Wed Jun 4 12:42:23 2014)
cobbler power configuration is:
type : ucs
address: 172.20.
user : admin
id : CI_OS_Con1.C1B6
running: /usr/sbin/fence_ucs
received on stdout: Status: ON
received on stderr:
*** TASK COMPLETE ***
root@ci-build:~# cobbler system poweroff --name=ci-os-con1
task started: 2014-06-
task started (id=Power management (off), time=Wed Jun 4 12:42:34 2014)
cobbler power configuration is:
type : ucs
address: 172.20.
user : admin
id : CI_OS_Con1.C1B6
running: /usr/sbin/fence_ucs
received on stdout: Success: Powered OFF
received on stderr:
*** TASK COMPLETE ***
root@ci-build:~# cobbler system powerstatus --name=ci-os-con1
task started: 2014-06-
task started (id=Power management (status), time=Wed Jun 4 12:42:42 2014)
cobbler power configuration is:
type : ucs
address: 172.20.
user : admin
id : CI_OS_Con1.C1B6
running: /usr/sbin/fence_ucs
received on stdout: Status: OFF
received on stderr:
running: /usr/sbin/fence_ucs
received on stdout: Status: OFF
received on stderr:
running: /usr/sbin/fence_ucs
received on stdout: Status: OFF
received on stderr:
running: /usr/sbin/fence_ucs
received on stdout: Status: OFF
received on stderr:
running: /usr/sbin/fence_ucs
received on stdout: Status: OFF
received on stderr:
Exception occured: <class 'cobbler.
Exception value: 'command failed (rc=2), please validate the physical setup and cobbler config'
Exception Info:
File "/usr/lib/
raise CX(msg)
failed to execute power task on ci-os-con1
*** TASK COMPLETE ***
root@ci-build:~#
Changed in openstack-cisco: | |
status: | New → In Progress |
Changed in openstack-cisco: | |
milestone: | i.1 → none |