[2.1b2] Node failed to be released, because of the following error: 'NoneType' object has no attribute 'addErrback'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Newell Jensen | ||
2.0 |
Fix Released
|
Critical
|
Newell Jensen |
Bug Description
I now get this whenever I attempt to release a node with "Manual" power type. Nodes with IPMI power type release just fine.
From the syslog:
Oct 12 14:40:11 maas1 maas.node: [INFO] hv6236-vm5: Releasing node
Oct 12 14:40:11 maas1 maas.node: [ERROR] hv6236-vm5: Unable to shut node down: 'NoneType' object has no attribute 'addErrback'
Oct 12 14:40:12 maas1 sh[15833]: 2016-10-12 14:40:11 [-] Error on request (1983) machine.action: 'NoneType' object has no attribute 'addErrback'
Oct 12 14:40:12 maas1 sh[15833]: #011Traceback (most recent call last):
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 self._target(
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return target()
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 task()
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 task()
Oct 12 14:40:12 maas1 sh[15833]: #011--- <exception caught here> ---
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 result = inContext.theWork()
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return self.currentCon
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return func(*args,**kw)
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return func(*args, **kwargs)
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return func_outside_
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:11 maas1 maas.node: [ERROR] hv6236-vm5: Unable to shut node down: 'NoneType' object has no attribute 'addErrback'
Oct 12 14:40:12 maas1 sh[15833]: 2016-10-12 14:40:11 [-] Error on request (1983) machine.action: 'NoneType' object has no attribute 'addErrback'
Oct 12 14:40:12 maas1 sh[15833]: #011Traceback (most recent call last):
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 self._target(
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return target()
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 task()
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 task()
Oct 12 14:40:12 maas1 sh[15833]: #011--- <exception caught here> ---
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 result = inContext.theWork()
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return self.currentCon
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return func(*args,**kw)
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return func(*args, **kwargs)
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return func_outside_
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return func(*args, **kwargs)
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return func(*args, **kwds)
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return action.
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 secure_
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 self.release(user, comment)
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 self._release(user)
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 stopping.
Oct 12 14:40:12 maas1 sh[15833]: #011builtins.
Oct 12 14:40:12 maas1 sh[15833]: #011
Oct 12 14:40:12 maas1 sh[15833]: #011 return func(*args, **kwargs)
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return func(*args, **kwds)
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 return action.
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 secure_
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 self.release(user, comment)
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 self._release(user)
Oct 12 14:40:12 maas1 sh[15833]: #011 File "/usr/lib/
Oct 12 14:40:12 maas1 sh[15833]: #011 stopping.
Oct 12 14:40:12 maas1 sh[15833]: #011builtins.
Oct 12 14:40:12 maas1 sh[15833]: #011
Versions:
maas 2.1.0~beta2+
Related branches
- Blake Rouse (community): Approve
-
Diff: 33 lines (+5/-6)2 files modifiedsrc/maasserver/models/node.py (+5/-3)
src/maasserver/models/tests/test_node.py (+0/-3)
- Newell Jensen (community): Approve
-
Diff: 33 lines (+5/-6)2 files modifiedsrc/maasserver/models/node.py (+5/-3)
src/maasserver/models/tests/test_node.py (+0/-3)
Changed in maas: | |
milestone: | none → 2.1.0 |
importance: | Undecided → Critical |
summary: |
- Node failed to be released, because of the following error: 'NoneType' - object has no attribute 'addErrback' + [2.1b2] Node failed to be released, because of the following error: + 'NoneType' object has no attribute 'addErrback' |
Changed in maas: | |
status: | New → Triaged |
Changed in maas: | |
assignee: | nobody → Newell Jensen (newell-jensen) |
status: | Triaged → In Progress |
tags: |
added: verification-done removed: verification-needed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Hello Nathaniel, or anyone else affected,
Accepted maas into yakkety-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ maas/2. 1.0+bzr5480- 0ubuntu1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!