[Openstack] Grizzly. Network cannot reachable After Migrate or Live Migration. Why ?
郭龙仓
guolongcang.work at gmail.com
Wed Aug 28 02:04:07 UTC 2013
*when vmA on HostA , vmA's log :*
info: initramfs: up at 1.07
NOCHANGE: partition 1 is size 64260. it cannot be grown
info: initramfs loading root from /dev/vda1
info: /etc/init.d/rc.sysinit: up at 1.95
[ 1.957875] EXT3fs (vda1): warning: checktime reached, running
e2fsck is recommended
Starting logging: OK
Initializing random number generator... done.
Starting network...
udhcpc (v1.18.5) started
Sending discover...
Sending select for 50.50.1.2...
Lease of 50.50.1.2 obtained, lease time 120
deleting routers
route: SIOCDELRT: No such process
adding dns 8.8.8.8
cloudsetup: checking http://169.254.169.254/20090404/metadata/instanceid
cloudsetup: successful after 1/30 tries: up 2.78. iid=i00000004
cloudsetup: previously ran for i00000004
Starting dropbear sshd: OK
===== cloudfinal: system completely up in 5.17 seconds ====
instanceid: i00000004
publicipv4:
localipv4 : 50.50.1.2
clouduserdata: user data previously read
____ ____ ____
/ __/ __ ____ ____ / __ \/ __/
/ /__ / // __// __// /_/ /\ \
\___//_//_/ /_/ \____/___/
http://launchpad.net/cirros
login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.
cirros login:
*when vmA on HostB , vmA's log :*
info: initramfs: up at 1.09
NOCHANGE: partition 1 is size 64260. it cannot be grown
info: initramfs loading root from /dev/vda1
info: /etc/init.d/rc.sysinit: up at 1.44
[ 1.445128] EXT3fs (vda1): warning: checktime reached, running
e2fsck is recommended
Starting logging: OK
Initializing random number generator... done.
Starting network...
udhcpc (v1.18.5) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing*WARN: /etc/rc3.d/S40network failed*
cloudsetup: checking http://169.254.169.254/20090404/metadata/instanceid
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 1/30: up 10.67. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 2/30: up 11.70. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 3/30: up 12.71. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 4/30: up 13.71. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 5/30: up 14.72. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 6/30: up 15.72. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 7/30: up 16.73. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 8/30: up 17.73. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 9/30: up 18.74. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 10/30: up 19.74. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 11/30: up 20.75. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 12/30: up 21.75. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 13/30: up 22.76. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 14/30: up 23.76. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 15/30: up 24.77. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 16/30: up 25.77. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 17/30: up 26.78. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 18/30: up 27.78. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 19/30: up 28.79. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 20/30: up 29.81. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 21/30: up 30.81. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 22/30: up 31.82. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 23/30: up 32.82. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 24/30: up 33.83. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 25/30: up 34.87. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 26/30: up 35.87. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 27/30: up 36.88. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 28/30: up 37.88. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 29/30: up 38.89. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 30/30: up 39.93. request failed
cloudsetup: after 30 fails, debugging
cloudsetup: running debug (30 tries reached)
############ debug start ##############
### /etc/rc.d/init.d/sshd start
/etc/rc3.d/S45cloudsetup: line 66: /etc/rc.d/init.d/sshd: not found
route: fscanf
### ifconfig a
eth0 Link encap:Ethernet HWaddr FA:16:3E:EE:98:60
inet6 addr: fe80::f816:3eff:feee:9860/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:768 (768.0 B) TX bytes:1364 (1.3 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
### route n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
route: fscanf
### cat /etc/resolv.conf
cat: can't open '/etc/resolv.conf': No such file or directory
### gateway not found
/etc/rc3.d/S45cloudsetup: line 66: can't open /etc/resolv.conf: no such file
### pinging nameservers
### uname a
Linux cirros 3.0.012virtual #20Ubuntu SMP Fri Oct 7 18:19:02 UTC 2011
x86_64 GNU/Linux
### lsmod
Module Size Used by Not tainted
vfat 17585 0
fat 61475 1 vfat
isofs 40253 0
ip_tables 27473 0
x_tables 29846 1 ip_tables
pcnet32 42078 0
8139cp 27412 0
ne2k_pci 13691 0
8390 18856 1 ne2k_pci
e1000 108573 0
acpiphp 24080 0
### dmesg | tail
[ 1.541182] acpiphp: Slot [29] registered
[ 1.541208] acpiphp: Slot [30] registered
[ 1.541236] acpiphp: Slot [31] registered
[ 1.549922] e1000: Intel(R) PRO/1000 Network Driver version 7.3.21k8NAPI
[ 1.549927] e1000: Copyright (c) 19992006 Intel Corporation.
[ 1.554649] ne2kpci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
[ 1.557203] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 1.560176] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend at alpha.franken.de
[ 1.566996] ip_tables: (C) 20002006 Netfilter Core Team
[ 12.400080] eth0: no IPv6 routers present
### tail n 25 /var/log/messages
Aug 27 19:40:21 cirros kern.info kernel: [ 1.540816] acpiphp: Slot
[14] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.540839] acpiphp: Slot
[15] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.540861] acpiphp: Slot
[16] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.540883] acpiphp: Slot
[17] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.540906] acpiphp: Slot
[18] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.540931] acpiphp: Slot
[19] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.540954] acpiphp: Slot
[20] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.540976] acpiphp: Slot
[21] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.540998] acpiphp: Slot
[22] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.541020] acpiphp: Slot
[23] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.541043] acpiphp: Slot
[24] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.541068] acpiphp: Slot
[25] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.541091] acpiphp: Slot
[26] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.541113] acpiphp: Slot
[27] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.541135] acpiphp: Slot
[28] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.541182] acpiphp: Slot
[29] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.541208] acpiphp: Slot
[30] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.541236] acpiphp: Slot
[31] registered
Aug 27 19:40:21 cirros kern.info kernel: [ 1.549922] e1000:
Intel(R) PRO/1000 Network Driver version 7.3.21k8NAPI
Aug 27 19:40:21 cirros kern.info kernel: [ 1.549927] e1000:
Copyright (c) 19992006 Intel Corporation.
Aug 27 19:40:21 cirros kern.info kernel: [ 1.554649]
ne2kpci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
Aug 27 19:40:21 cirros kern.info kernel: [ 1.557203] 8139cp:
8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
Aug 27 19:40:21 cirros kern.info kernel: [ 1.560176] pcnet32:
pcnet32.c:v1.35 21.Apr.2008 tsbogend at alpha.franken.de
Aug 27 19:40:21 cirros kern.info kernel: [ 1.566996] ip_tables: (C)
20002006 Netfilter Core Team
Aug 27 19:40:31 cirros kern.debug kernel: [ 12.400080] eth0: no IPv6
routers present
############ debug end ##############
cloudsetup: failed to read iid from metadata. tried 30
WARN: /etc/rc3.d/S45cloudsetup failed
Starting dropbear sshd: OK
===== cloudfinal: system completely up in 41.14 seconds ====
wget: can't connect to remote host (169.254.169.254): Network is unreachable
wget: can't connect to remote host (169.254.169.254): Network is unreachable
wget: can't connect to remote host (169.254.169.254): Network is unreachable
instanceid:
publicipv4:
localipv4 :
wget: can't connect to remote host (169.254.169.254): Network is unreachable
clouduserdata: failed to read instance id
WARN: /etc/rc3.d/S99clouduserdata failed
____ ____ ____
/ __/ __ ____ ____ / __ \/ __/
/ /__ / // __// __// /_/ /\ \
\___//_//_/ /_/ \____/___/
http://launchpad.net/cirros
login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.
cirros login:
2013/8/27 Razique Mahroua <razique.mahroua at gmail.com>
> Does the instance start on the new node? Does the network goes up if you
> check via VNC?
>
> Le 27 août 2013 à 11:32, 郭龙仓 <guolongcang.work at gmail.com> a écrit :
>
> If I create a vmA on hostA, then migrate the vmA to hostB , then vmA
> cannot connect to the network; If I move vmA back to hostA from hostB
> ,then vmA's network become normal again.
>
>
> 2013/8/27 郭龙仓 <guolongcang.work at gmail.com>
>
>>
>>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130828/0c1904b2/attachment.html>
More information about the Openstack
mailing list