terminate_instances raises NoneType not iterable on machine shutdown with Openstack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Invalid
|
Low
|
Unassigned | ||
txAWS |
Fix Released
|
Undecided
|
Unassigned | ||
txaws (Ubuntu) |
Fix Released
|
High
|
Clint Byrum |
Bug Description
2011-09-29 10:24:27,572 provision:ec2: juju.agents.
2011-09-29 10:24:27,708 provision:ec2: juju.agents.
2011-09-29 10:24:27,892 provision:ec2: twisted ERROR: Unhandled error in Deferred:
2011-09-29 10:24:27,895 provision:ec2: twisted ERROR: Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
current.result = callback(
File "/usr/lib/
_inlineCall
--- <exception caught here> ---
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "juju/state/
yield watch_topology_
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
yield self.provider.
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "juju/providers
terminated = yield self.ec2.
File "/usr/lib/
current.result = callback(
File "/usr/lib/
for instance in root.find(
exceptions.
This only happens when talking to openstack, not EC2. It does not cause any failures, just an unexpected error message.
Related branches
- Kapil Thangavelu (community): Approve
-
Diff: 71 lines (+46/-7)2 files modifiedtxaws/ec2/client.py (+9/-7)
txaws/ec2/tests/test_client.py (+37/-0)
Changed in juju: | |
importance: | Undecided → Low |
Changed in txaws (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → ubuntu-11.10 |
assignee: | nobody → Clint Byrum (clint-fewbar) |
Changed in txaws (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in txaws: | |
status: | New → Fix Committed |
Changed in txaws: | |
status: | Fix Committed → Fix Released |
This is due to bug #862680 in nova-api, which has it returning the wrong thing for TerminateInstances.