Error on request (58) node.check_power
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Manually check the power state of a Machine works successfully, however, when trying to check the power state in the WEbUI, this always keeps failing, regardless of it being reliable in the CLI. This seems to be affecting other states.
Initially thought this was only affecnting nodes in Releasing state, but also affecting nodes in ready state.
2015-04-14 08:08:36 [-] 127.0.0.1 - - [14/Apr/
2015-04-14 08:08:45 [maas.websocket
2015-04-14 08:08:18 [-] Error on request (58) node.check_power: [26/170]
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
--- <exception caught here> ---
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func_within_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return m(params)
File "/usr/lib/
File "/usr/lib/
result = self._result(
File "/usr/lib/
raise TimeoutError()
Related branches
- Mike Pontillo (community): Approve
- Ricardo Bánffy (community): Approve
- Gavin Panella (community): Approve
-
Diff: 34 lines (+6/-0)2 files modifiedsrc/maasserver/plugin.py (+4/-0)
src/maasserver/tests/test_plugin.py (+2/-0)
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Further logging:
Apr 14 08:05:12 trusty-maas9 maas.power: [ERROR] Error changing power state (off) of node: vague-joke.local (node-3860140e- dc69-11e4- 839c-00163e dc69-11e4- 8842-0016 dc69-11e4- 850f-001 balance. local (node-34600472- dc69-11e4- b8d9-0 dc69-11e4- 8842-00163
11c887)
Apr 14 08:05:12 trusty-maas9 maas.power: [ERROR] Error changing power state (off) of node: tragic-color.local (node-3f7a3ecc-
3e11c887)
Apr 14 08:05:13 trusty-maas9 maas.power: [ERROR] Error changing power state (off) of node: valuable-pies.local (node-292180b8-
63e11c887)
Apr 14 08:05:13 trusty-maas9 maas.power: [ERROR] Error changing power state (off) of node: vibrant-
0163e11c887)
Apr 14 08:05:13 trusty-maas9 maas.power: [ERROR] Error changing power state (off) of node: yearly-rest.local (node-432ae2ec-
e11c887)
==> /var/log/ maas/regiond. log <== python2. 7/dist- packages/ maasserver/ websockets/ handlers/ node.py" , line 518, in check_power
update_ power_state( state). wait(15) python2. 7/dist- packages/ crochet/ _eventloop. py", line 217, in wait timeout) python2. 7/dist- packages/ crochet/ _eventloop. py", line 195, in _result
crochet. _eventloop. TimeoutError:
File "/usr/lib/
File "/usr/lib/
result = self._result(
File "/usr/lib/
raise TimeoutError()