500 error reported to juju when starting node - "another action is already in progress for that node"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
I've seen this at least with 1.8 beta4 and 1.8 beta5:
2015-05-09 04:38:38 [HTTPChannel,
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
--- <exception caught here> ---
File "/usr/lib/
return django_
File "/usr/lib/
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
File "/usr/lib/
File "<string>", line 2, in raiseException
2015-05-09 04:38:38 [-] 127.0.0.1 - - [09/May/
This ends up messing with the node's status in juju:
'5':
agent-
\ ERROR (<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"\
http://
\ xml:lang=\"en\" lang=\"en\">\n <head>\n <title>Error: Internal server\
\ error</title>\n </head>\n <body>\n <h2>\n Internal server error.\n\
\ </h2>\n </body>
containers:
5/lxc/0:
series: precise
instance-id: pending
series: precise
Related branches
- Raphaël Badin (community): Approve
-
Diff: 108 lines (+58/-8)2 files modifiedsrc/provisioningserver/rpc/power.py (+16/-8)
src/provisioningserver/rpc/tests/test_power.py (+42/-0)
- Andres Rodriguez (community): Approve
-
Diff: 130 lines (+37/-14)3 files modifiedsrc/maasserver/models/node.py (+13/-7)
src/maasserver/models/tests/test_node.py (+19/-4)
src/maasserver/tests/test_node_action.py (+5/-3)
Changed in maas: | |
importance: | Undecided → Critical |
milestone: | none → 1.8.0 |
status: | New → Triaged |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Some more log context around that failure - there was a release operation on that node issued 5 seconds before the failing start operation:
http:// paste.ubuntu. com/11084923/