diff options
| author | Akihiro MOTOKI <motoki@da.jp.nec.com> | 2012-09-21 10:08:43 +0900 |
|---|---|---|
| committer | Salvatore Orlando <salv.orlando@gmail.com> | 2012-09-21 03:37:00 -0700 |
| commit | 577ba6267994baecd5f9e05105624536d320cc9b (patch) | |
| tree | 11cc38daab621f7adb98cfed2a44a57feb4b48b6 /nova/openstack | |
| parent | 075e7888f00c9e614364674534a168c6635e162a (diff) | |
| download | nova-577ba6267994baecd5f9e05105624536d320cc9b.tar.gz nova-577ba6267994baecd5f9e05105624536d320cc9b.tar.xz nova-577ba6267994baecd5f9e05105624536d320cc9b.zip | |
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
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
