Comment 2 for bug 1611999

Revision history for this message
Andres Rodriguez (andreserl) wrote : Re: MAAS 2 does not properly probe power state on Cisco UCS systems

Hi Jeff,

1. What happens if you click on "Check Power" on the node details page. Does the power update correctly?

2. While you do "Check Power" can you attach /var/log/maas/*.log?

That said, looking at your statement

"Note that UCSM shows the node as powered OFF, MAAS still shows the power ON. Once again, I have to manually select Power Off from the Action menu and then maas changes state to Power Off."

MAAS does not check power every second. It checks it every 3 minutes or so. So the machine may finish commissioning, and the power may be showed as ON in MAAS, but the machine may be actually off. The reason for this is that after commissioning, a power query is requested, but what may be happening is that the power query happens while the node is still on (and powering off), and it doesn't update in the UI until it actually checks the power again.

Based on the logs, it seems that the node has transitioned correctly between states and you are experiencing the above. I'll mark this bug as invalid for the time being. Please, re-open the bug is the following happens:

1. Commission the node.
2. The node is in Ready state, show's power is ON (but hardware itself is off).
3. You do one of the two:
  3.1 You click on "Check Power" and the node remains as ON (even though the hardware is off) or.
  3.2 After 5 minutes, the power hasn't changed automatically.