[Openstack] [OPENSTACK][Grizzly] Have you Migrate/Live Migration Completely successful ?

yuanpu yuanpu at 139.com
Mon Sep 2 06:20:07 UTC 2013


i have the same problem with you, and i solved it like this. 

kvm3 is a compute node.

[root at kvm3 ~]# crontab -l
0 23 * * * ntpdate 172.21.4.20 >> /var/log/ntpdate.log
30 4 * * 7 sh /work/openstack/restartport.sh >> /work/openstack/restart.log 2>&1
[root at kvm3 ~]# cat /work/openstack/restartport.sh
#!/bin/sh
su -p -s /bin/sh root
. /root/.bash_profile
export PATH=$PATH:/sbin:.
ovs-vsctl del-port tap1d092a07-44
ovs-vsctl add-port br-int tap1d092a07-44 tag=3
ifconfig tap1d092a07-44 up
ovs-vsctl del-port tap816c181e-e1
ovs-vsctl add-port br-int tap816c181e-e1 tag=2
ifconfig tap816c181e-e1 up

172.21.0.32 is a vm

[root at 172-21-0-32 ~]# crontab -l
10 * * * * /usr/sbin/ntpdate 172.21.0.116  >> /var/log/ntpdate.log
50 4 * * 7 sh /work/openstack/restartport.sh >> /work/openstack/restart.log 2>&1
[root at 172-21-0-32 ~]# cat  /work/openstack/restartport.sh
#!/bin/sh
. ~/.bash_profile
cd /etc/init.d
./network restart
ping -c 5 172.21.0.1




yuanpu

From: happy idea
Date: 2013-09-02 13:34
To: openstack
Subject: [Openstack] [OPENSTACK][Grizzly] Have you Migrate/Live Migration Completely successful ?
After Migrate or Live Migration , the VM lost network connection.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130902/54911867/attachment.html>


More information about the Openstack mailing list