Comment 2 for bug 1071017

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/14854
Committed: http://github.com/openstack/nova/commit/03105bf245860dd67735c072eb7c2ec85dd3c14a
Submitter: Jenkins
Branch: master

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.

    Change-Id: I8fd1c2dde573bb7da3bfe1ee3193f9ba1167aaa7