500 error on 'nova host-update --status [enabled|disabled] when using xenapi aggregates'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
John Garbutt |
Bug Description
Root cause is that the xenhost operation gets confused when executed in resource pools.
I thought I caught all cases, but clearly I didn't :(
Stacktrace is here:
nova-compute WARNING Task [Async.
nova-compute ERROR The call to set_host_enabled returned an error: ['XENAPI_
nova-compute ERROR Exception during message handling
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: rval = node_func(
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return f(*args, **kw)
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return self.driver.
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return self._host.
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return response.
(nova.rpc): TRACE: AttributeError: 'str' object has no attribute 'get'
(nova.rpc): TRACE:
nova-compute ERROR Returning exception 'str' object has no attribute 'get' to caller
Changed in nova: | |
status: | New → Confirmed |
assignee: | nobody → Citrix OpenStack development team (citrix-openstack) |
Changed in nova: | |
assignee: | Citrix OpenStack development team (citrix-openstack) → John Garbutt (johngarbutt) |
status: | Confirmed → In Progress |
Changed in nova: | |
importance: | Undecided → Medium |
importance: | Medium → Low |
milestone: | none → essex-rc1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-rc1 → 2012.1 |
Reviewed: https:/ /review. openstack. org/4813 github. com/openstack/ nova/commit/ 37a392dc4ccb96e 26865ffc3708f46 d76488a5f8
Committed: http://
Submitter: Jenkins
Branch: master
commit 37a392dc4ccb96e 26865ffc3708f46 d76488a5f8
Author: John Garbutt <email address hidden>
Date: Wed Feb 29 15:50:14 2012 +0000
Fixes bug 942556 and bug 944105
Ensures the calls in the xenhost plugin work when the host is in
a xenserver pool managed by the host aggregates feature.
Change-Id: I51ca6b9f6d0e8d 86d53afde5bf46c fabde17a44e