Comment 2 for bug 927507

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

Reviewed: https://review.openstack.org/3796
Committed: http://github.com/openstack/nova/commit/38682667c53199e5860c35101ad33c0cdc21e692
Submitter: Jenkins
Branch: master

commit 38682667c53199e5860c35101ad33c0cdc21e692
Author: Dan Wendlandt <email address hidden>
Date: Mon Feb 6 01:32:12 2012 -0800

    bug 927507: fix quantum manager get_port_by_attachment

    - makes query efficient by using Quantum API filters (new in API v1.1)
    - fixes correctness issue where we did not handle case where network
    did not exist in quantum (note: this was masked by a quantum bug that
    will be fixed once this change is into nova).

    Also included a few other minor things in this patchset:
    1) make get_instance_nw_info use network label from DB, which is already
    available, rather than calling out to quantum just to get the name.
    2) quantum manager was not properly cleaning up VIFs in the nova db. This fixes that.
    3) set 'bridge' in nw_info dictionary to the empty string, to clearly indicate that this value is ignored by Quantum Manager.

    Change-Id: Ia1cbb5232f8ce373b605979902f88d7528d3e456