commit 03105bf245860dd67735c072eb7c2ec85dd3c14a
Author: Dan Smith <email address hidden>
Date: Thu Oct 25 14:02:55 2012 -0700
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.
Reviewed: https:/ /review. openstack. org/14854 github. com/openstack/ nova/commit/ 03105bf245860dd 67735c072eb7c2e c85dd3c14a
Committed: http://
Submitter: Jenkins
Branch: master
commit 03105bf245860dd 67735c072eb7c2e c85dd3c14a
Author: Dan Smith <email address hidden>
Date: Thu Oct 25 14:02:55 2012 -0700
Rehydrate NetworkInfo in reboot_instance()
In the process of implementing no-db-compute, the compute manager's instance( ) was stripped of its database accesses for getting
reboot_
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 legacy( ) were failing in the
to a list and thus calls to NetworkInfo.
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: I8fd1c2dde573bb 7da3bfe1ee3193f 9ba1167aaa7