[2.3+] Testing Fails due to Power Issue with Manual Power Type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Lee Trager | ||
2.3 |
Fix Released
|
High
|
Lee Trager |
Bug Description
I have an old machine that does not have any form of IPMI or remote power control. I created a new machine in MAAS with the "Manual" power type, expecting that I would still be able to use it with MAAS but that I would need to manually power the machine on and off.
However, while MAAS successfully performs comissioning, all hardware tests fail due to "BMC never transitioned from unknown to on.". It appears that when executing tests, MAAS expects to control the machine's power but can't - and eventually it times out and the test fails. Consequently, even though I have manually powered on the machine as soon as it completes a boot from PXE to the login screen, it shuts down again as there are no tests to run.
May 02 21:32:08 maas maas.drivers.
May 02 21:32:08 maas maas.drivers.
May 02 21:32:20 maas maas.drivers.
May 02 21:32:20 maas maas.power[929]: [error] Error changing power state (cycle) of node: nagisa (sfsh84)
May 02 21:32:20 maas maas.node[1089]: [info] nagisa: Status transition from TESTING to FAILED_TESTING
May 02 21:32:20 maas maas.node[1089]: [error] nagisa: Marking node failed: Power cycle for the node failed: Failed talking to node's BMC: Failed to power sfsh84. BMC never transitioned from unknown to on.
May 02 21:32:20 maas sh[927]: 2018-05-02 21:32:20 provisioningser
May 02 21:32:20 maas sh[927]: Traceback (most recent call last):
May 02 21:32:20 maas sh[927]: File "/usr/lib/
May 02 21:32:20 maas sh[927]: self._startRunC
May 02 21:32:20 maas sh[927]: File "/usr/lib/
May 02 21:32:20 maas sh[927]: self._runCallba
May 02 21:32:20 maas sh[927]: File "/usr/lib/
May 02 21:32:20 maas sh[927]: current.result = callback(
May 02 21:32:20 maas sh[927]: File "/usr/lib/
May 02 21:32:20 maas sh[927]: _inlineCallbacks(r, g, deferred)
May 02 21:32:20 maas sh[927]: --- <exception caught here> ---
May 02 21:32:20 maas sh[927]: File "/usr/lib/
May 02 21:32:20 maas sh[927]: result = result.
May 02 21:32:20 maas sh[927]: File "/usr/lib/
May 02 21:32:20 maas sh[927]: return g.throw(self.type, self.value, self.tb)
May 02 21:32:20 maas sh[927]: File "/usr/lib/
May 02 21:32:20 maas sh[927]: system_id, hostname, power_type, power_change, context)
May 02 21:32:20 maas sh[927]: File "/usr/lib/
May 02 21:32:20 maas sh[927]: result = result.
May 02 21:32:20 maas sh[927]: File "/usr/lib/
May 02 21:32:20 maas sh[927]: return g.throw(self.type, self.value, self.tb)
May 02 21:32:20 maas sh[927]: File "/usr/lib/
May 02 21:32:20 maas sh[927]: yield self.perform_
May 02 21:32:20 maas sh[927]: File "/usr/lib/
May 02 21:32:20 maas sh[927]: result = g.send(result)
May 02 21:32:20 maas sh[927]: File "/usr/lib/
May 02 21:32:20 maas sh[927]: % (system_id, state, state_desired))
May 02 21:32:20 maas sh[927]: provisioningser
Related branches
- Lee Trager (community): Approve
-
Diff: 213 lines (+81/-8)6 files modifiedsrc/maasserver/models/node.py (+9/-1)
src/maasserver/models/tests/test_node.py (+13/-0)
src/provisioningserver/drivers/power/__init__.py (+5/-1)
src/provisioningserver/drivers/power/tests/test_base.py (+13/-1)
src/provisioningserver/rpc/power.py (+4/-1)
src/provisioningserver/rpc/tests/test_power.py (+37/-4)
- Newell Jensen (community): Approve
- MAAS Lander: Approve
-
Diff: 213 lines (+81/-8)6 files modifiedsrc/maasserver/models/node.py (+9/-1)
src/maasserver/models/tests/test_node.py (+13/-0)
src/provisioningserver/drivers/power/__init__.py (+5/-1)
src/provisioningserver/drivers/power/tests/test_base.py (+13/-1)
src/provisioningserver/rpc/power.py (+4/-1)
src/provisioningserver/rpc/tests/test_power.py (+37/-4)
Changed in maas: | |
importance: | Undecided → Medium |
status: | New → Triaged |
milestone: | none → 2.4.0rc1 |
summary: |
- Testing Fails due to Power Issue with Manual Power Type + [2.3+] Testing Fails due to Power Issue with Manual Power Type |
Changed in maas: | |
assignee: | nobody → Lee Trager (ltrager) |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
importance: | Medium → High |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Are there any potential workarounds for this? This prevents me from running tests after commissioning at the moment.