shelve api does not work in the nova-cell environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Abhijeet Malawade | ||
Icehouse |
Fix Released
|
Undecided
|
Abhijeet Malawade |
Bug Description
If you run nova shelve api in nova-cell environment It throws following error:
Nova cell (n-cell-child) Logs:
2014-07-06 23:57:13.445 ERROR nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
2014-07-06 23:57:13.445 TRACE nova.cells.
Nova compute log:
2014-07-07 00:05:19.084 ERROR oslo.messaging.
31c2f admin admin] Exception during message handling: 'NoneType' object is not iterable
Traceback (most recent call last):
File "/usr/local/
dispatch_and_reply
incoming.
File "/usr/local/
dispatch
return self._do_
File "/usr/local/
do_dispatch
result = getattr(endpoint, method)(ctxt, **new_args)
File "/opt/stack/
system_
File "/opt/stack/
ignore_
File "/opt/stack/
macs = [vif['address'] for vif in nw_info]
TypeError: 'NoneType' object is not iterable
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
t-packages/
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.084 TRACE oslo.messaging.
2014-07-07 00:05:19.093 ERROR oslo.messaging.
Traceback (most recent call last):
File "/usr/local/
incoming.
File "/usr/local/
return self._do_
File "/usr/local/
result = getattr(endpoint, method)(ctxt, **new_args)
File "/opt/stack/
system_
File "/opt/stack/
ignore_
File "/opt/stack/
macs = [vif['address'] for vif in nw_info]
TypeError: 'NoneType' object is not iterable
to caller
Shelve api is failing in nova-cell environment because the compute_api shelve/unshelve
methods expect an Instance object, but cell is still passing the sqlalchemy form.
Also 'info_cache' and 'metadata' are not present in instance-object and shelve requires these
properties to be present in Instance object.
description: | updated |
Changed in nova: | |
assignee: | nobody → Abhijeet Malawade (abhijeet-malawade) |
tags: | added: ntt |
tags: | added: icehouse-backport-potential |
Changed in nova: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-2 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/105112
Review: https:/