Comment 7 for bug 1053312

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

Reviewed: https://review.openstack.org/13434
Committed: http://github.com/openstack/nova/commit/577ba6267994baecd5f9e05105624536d320cc9b
Submitter: Jenkins
Branch: master

commit 577ba6267994baecd5f9e05105624536d320cc9b
Author: Akihiro MOTOKI <email address hidden>
Date: Fri Sep 21 10:08:43 2012 +0900

    Ensure hybrid driver creates veth pair only once.

    Fixes bug 1053312

    This commit fixes a bug that an instance can't obtain IP address by DHCP
    when using LibvirtHybridOVSBridgeDriver. When nova-compute launches an
    instance on KVM, vif driver plug() may be called twice and this causes
    a behavior that a port of OVS cannot seen as a bridge port. So this patch
    make sure create_veth_pair() is not called if a port already exists.

    Change-Id: I76792df9f0dd28224d7d57989bf1e8ecadb92606