olopez32 / ganeti

Automatically exported from code.google.com/p/ganeti
0 stars 0 forks source link

gnt-instance migrate breaks network with openvswitch #888

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
root@node1:~# gnt-cluster --version
gnt-cluster (ganeti v2.11.2) 2.11.2
root@node1:~# gnt-cluster version
Software version: 2.11.2
Internode protocol: 2110000
Configuration format: 2110000
OS api version: 20
Export interface: 0
VCS version: (ganeti) version v2.11.2
root@node1:~# hspace --version
hspace (ganeti) version v2.11.2
compiled with ghc 7.4
running on linux x86_64

What distribution are you using?
Debian wheezy

What steps will reproduce the problem?
1. Create instance using openvswitch networking
2. migrate instance to different node

What is the expected output? What do you see instead?
After the migration, the instance no longer has network connectivity

Please provide any additional information below.
When migrating an instance, the nic info file in 
/var/run/ganeti/xen-hypervisor/nic/ isn't generated on the new node. Because of 
this, the vif-ganeti script is unable to attach the vif to the vswitch.
Manually copying the files beforehand does result in a correct migration.

Original issue reported on code.google.com by cosemans...@gmail.com on 18 Jul 2014 at 8:48

GoogleCodeExporter commented 9 years ago

Original comment by hel...@google.com on 18 Jul 2014 at 8:51

GoogleCodeExporter commented 9 years ago

Original comment by pud...@google.com on 10 Jun 2015 at 1:35