summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorDan Smith <danms@us.ibm.com>2012-10-25 14:02:55 -0700
committerDan Smith <danms@us.ibm.com>2012-10-25 15:55:03 -0700
commit03105bf245860dd67735c072eb7c2ec85dd3c14a (patch)
tree7b4bfbf1f823db7ef818d2090c8a6702233277cf /nova/openstack
parent4f6571b38b428b5c72c76a38440a7d62952e381f (diff)
downloadnova-03105bf245860dd67735c072eb7c2ec85dd3c14a.tar.gz
nova-03105bf245860dd67735c072eb7c2ec85dd3c14a.tar.xz
nova-03105bf245860dd67735c072eb7c2ec85dd3c14a.zip
Rehydrate NetworkInfo in reboot_instance()
In the process of implementing no-db-compute, the compute manager's reboot_instance() was stripped of its database accesses for getting an instance's block and network device info. That information is now passed in from the API layer over RPC. In the offending changeset (), the network_info was getting coerced to a list and thus calls to NetworkInfo.legacy() were failing in the manager's _legacy_nw_info() method. This patch rehydrates the NetworkInfo using the existing method for doing so, which fixes bug 1071017. A test is also added to prevent future regressions. Change-Id: I8fd1c2dde573bb7da3bfe1ee3193f9ba1167aaa7
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions