<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
DIV.FoxDiv20131029140451784537 {
WORD-WRAP: break-word; FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; COLOR: #000080; LINE-HEIGHT: 1.5; -WEBKIT-NBSP-MODE: SPACE; -WEBKIT-LINE-BREAK: AFTER-WHITE-SPACE
}
BODY {
FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; COLOR: #000080; LINE-HEIGHT: 1.5
}
</STYLE>
<META name=GENERATOR content="MSHTML 10.00.9200.16721"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Yes, the file is there. But after migration, this file was zeroed.</DIV>
<DIV> </DIV>
<DIV>
<DIV>root@compute1:/var/lib/nova/instances# nova list</DIV>
<DIV>+--------------------------------------+---------+--------+------------+-------------+----------------------+</DIV>
<DIV>|
ID
| Name | Status | Task State | Power State |
Networks
|</DIV>
<DIV>+--------------------------------------+---------+--------+------------+-------------+----------------------+</DIV>
<DIV>| 6cffced6-0cdb-4d4b-b4fd-369c55ec4cfb | CirrOS1 | ACTIVE |
None | Running |
vmnet=192.168.11.191 |</DIV>
<DIV>| e9fcc408-01e6-4eec-8cb7-55c49702e99d | CirrOS2 | ACTIVE |
None | Running |
vmnet=192.168.11.192 |</DIV>
<DIV>| dac5ee62-0f4d-4972-af4f-cbbb592fa6ef | CirrOS3 | ACTIVE |
None | Running |
vmnet=192.168.11.193 |</DIV>
<DIV>| e6a14027-a301-42c0-928d-133a23c166cb | CirrOS4 | ACTIVE |
None | Running |
vmnet=192.168.11.194 |</DIV>
<DIV>+--------------------------------------+---------+--------+------------+-------------+----------------------+</DIV>
<DIV>root@compute1:/var/lib/nova/instances# cd
6cffced6-0cdb-4d4b-b4fd-369c55ec4cfb</DIV>
<DIV> </DIV>
<DIV>
<DIV>root@compute1:/var/lib/nova/instances/6cffced6-0cdb-4d4b-b4fd-369c55ec4cfb#
ls -l console.log</DIV>
<DIV>-rw-rw---- 1 libvirt-qemu kvm 19016 Oct 29 12:33 console.log</DIV></DIV>
<DIV> </DIV>
<DIV>
<DIV>root@compute1:/var/lib/nova/instances/6cffced6-0cdb-4d4b-b4fd-369c55ec4cfb#
nova live-migration 6cffced6-0cdb-4d4b-b4fd-369c55ec4cfb compute2</DIV>
<DIV> </DIV>
<DIV>root@compute1:/var/lib/nova/instances/6cffced6-0cdb-4d4b-b4fd-369c55ec4cfb#
ls -l console.log</DIV>
<DIV>-rw-rw---- 1 root root 0 Oct 29 14:07 console.log</DIV></DIV></DIV>
<DIV> </DIV>
<DIV
style="BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; PADDING-BOTTOM: 0cm; PADDING-TOP: 3pt; PADDING-LEFT: 0cm; BORDER-LEFT: medium none; PADDING-RIGHT: 0cm">
<DIV
style="FONT-SIZE: 12px; FONT-FAMILY: tahoma; BACKGROUND: #efefef; COLOR: #000000; PADDING-BOTTOM: 8px; PADDING-TOP: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px">
<DIV><B>From:</B> <A href="mailto:razique.mahroua@gmail.com">Razique
Mahroua</A></DIV>
<DIV><B>Date:</B> 2013-10-29 13:56</DIV>
<DIV><B>To:</B> <A href="mailto:dongjh@nci.com.cn">董建华</A></DIV>
<DIV><B>CC:</B> <A
href="mailto:openstack@lists.openstack.org">openstack</A></DIV>
<DIV><B>Subject:</B> Re: [Openstack] Failed to get the VM console-log after
Live-Migration</DIV></DIV></DIV>
<DIV>
<DIV class=FoxDiv20131029140451784537 style="BACKGROUND-COLOR: white">Ok
<DIV>on the compute node, can you see the file being populated? (console.log
within the instance’ directory)</DIV>
<DIV><BR>
<DIV>
<DIV>On Oct 28, 2013, at 22:53, 董建华 <<A
href="mailto:dongjh@nci.com.cn">dongjh@nci.com.cn</A>> wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<STYLE>BLOCKQUOTE {
MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
DIV.FoxDiv20131029135150733642 {
WORD-WRAP: break-word; FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; COLOR: #000000; LINE-HEIGHT: 1.5; -WEBKIT-NBSP-MODE: SPACE; -WEBKIT-LINE-BREAK: AFTER-WHITE-SPACE
}
</STYLE>
<META name=GENERATOR content="MSHTML 10.00.9200.16721">
<DIV style="MARGIN: 10px">
<DIV>
<DIV>root@compute1:/etc/nova# cat nova.conf|grep vnc</DIV>
<DIV> </DIV>
<DIV>vncserver_listen=0.0.0.0</DIV>
<DIV>vncserver_proxyclient_address=10.10.10.182</DIV>
<DIV>novncproxy_base_url=<A
href="http://192.168.11.180:6080/vnc_auto.html">http://192.168.11.180:6080/vnc_auto.html</A></DIV></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>10.10.10.182 is the internal IP of the compute node. 192.168.11.180 is
the public IP of the controller node.</DIV>
<DIV><SPAN>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana; LINE-HEIGHT: 1.5">
<DIV>
<DIV></DIV></DIV></DIV></SPAN></DIV>
<DIV> </DIV>
<DIV
style="BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; PADDING-BOTTOM: 0cm; PADDING-TOP: 3pt; PADDING-LEFT: 0cm; BORDER-LEFT: medium none; PADDING-RIGHT: 0cm">
<DIV
style="FONT-SIZE: 12px; FONT-FAMILY: tahoma; PADDING-BOTTOM: 8px; PADDING-TOP: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND-COLOR: rgb(239,239,239)">
<DIV><B>From:</B> <A href="mailto:razique.mahroua@gmail.com">Razique
Mahroua</A></DIV>
<DIV><B>Date:</B> 2013-10-29 13:50</DIV>
<DIV><B>To:</B> <A href="mailto:dongjh@nci.com.cn">董建华</A></DIV>
<DIV><B>CC:</B> <A
href="mailto:openstack@lists.openstack.org">openstack</A></DIV>
<DIV><B>Subject:</B> Re: [Openstack] Failed to get the VM console-log
after Live-Migration</DIV></DIV></DIV>
<DIV>
<DIV class=FoxDiv20131029135150733642
style="BACKGROUND-COLOR: white">Hi,
<DIV>isn’t related to the option « <FONT size=2
face="Verdana, Geneva, sans-serif"><SPAN
style="LINE-HEIGHT: normal">vncserver_proxyclient_address »? in your
nova.conf</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Verdana, Geneva, sans-serif"><SPAN
style="LINE-HEIGHT: normal">Not sure about that one…</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Verdana, Geneva, sans-serif"><SPAN
style="LINE-HEIGHT: normal"><BR></SPAN></FONT>
<DIV>
<DIV>On Oct 28, 2013, at 19:53, 董建华 <<A
href="mailto:dongjh@nci.com.cn">dongjh@nci.com.cn</A>> wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<STYLE>BLOCKQUOTE {
MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
P {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
</STYLE>
<META name=GENERATOR content="MSHTML 10.00.9200.16721">
<DIV style="MARGIN: 10px">
<DIV>
<DIV style="FONT-WEIGHT: bold">Hi,</DIV>
<DIV style="FONT-WEIGHT: bold"> </DIV>
<DIV style="FONT-WEIGHT: bold">After VM Live-Migration, i failed to get
console-log for the VM, is it normal ?</DIV>
<DIV style="FONT-WEIGHT: bold"> </DIV>
<DIV style="FONT-WEIGHT: bold">nova show
737c9b60-a701-4691-aaac-66faf6c2a637|grep hypervisor</DIV>
<DIV>| OS-EXT-SRV-ATTR:hypervisor_hostname |
compute1 </DIV>
<DIV>
|</DIV>
<DIV style="FONT-WEIGHT: bold">root@controller:~# nova console-log
737c9b60-a701-4691-aaac-66faf6c2a637|tail -20</DIV>
<DIV>failed to read iid from metadata. tried 20</DIV>
<DIV>no results found for mode=net. up 41.29. searched: nocloud configdrive
ec2</DIV>
<DIV>failed to get instance-id of datasource</DIV>
<DIV>Starting dropbear sshd: generating rsa key... generating dsa key...
OK</DIV>
<DIV>=== network info ===</DIV>
<DIV>if-info: lo,up,127.0.0.1,8,::1</DIV>
<DIV>if-info: eth0,up,192.168.11.191,24,fe80::f816:3eff:fe71:cdeb</DIV>
<DIV>ip-route:default via 192.168.11.253 dev eth0</DIV>
<DIV>ip-route:192.168.11.0/24 dev eth0 src 192.168.11.191</DIV>
<DIV>=== datasource: None None ===</DIV>
<DIV>=== cirros: current=0.3.1 uptime=41.62 ===</DIV>
<DIV>
____
____ ____</DIV>
<DIV>/ __/ __ ____ ____ / __ \/ __/</DIV>
<DIV>/ /__ / // __// __// /_/ /\ \</DIV>
<DIV>\___//_//_/ /_/ \____/___/</DIV>
<DIV> <A
href="http://cirros-cloud.net/">http://cirros-cloud.net</A></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for
root.</DIV>
<DIV>cirros login:</DIV>
<DIV> </DIV>
<DIV style="FONT-WEIGHT: bold">root@controller:~# nova live-migration
737c9b60-a701-4691-aaac-66faf6c2a637 compute2</DIV>
<DIV style="FONT-WEIGHT: bold">root@controller:~# nova show
737c9b60-a701-4691-aaac-66faf6c2a637|grep hypervisor</DIV>
<DIV>| OS-EXT-SRV-ATTR:hypervisor_hostname |
compute2 </DIV>
<DIV>
|</DIV>
<DIV style="FONT-WEIGHT: bold">root@controller:~# nova console-log
737c9b60-a701-4691-aaac-66faf6c2a637</DIV>
<DIV> </DIV></DIV>
<DIV style="FONT-WEIGHT: bold">I just found the following message in
nova-compute.log on the node compute2.</DIV>
<DIV><SPAN>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana; LINE-HEIGHT: 1.5">
<DIV>
<DIV>2013-10-29 10:39:59.389 2976 AUDIT nova.compute.manager
[req-2b9bd6b1-f001-4de5-a972-92d1bdd38682 eecb2b5f2b4f481980a5546af680481c
382ce85ef00948a3a1442e44f9d033ed] [instance:
737c9b60-a701-4691-aaac-66faf6c2a637] Get console output
</DIV></DIV></DIV></SPAN></DIV></DIV>_______________________________________________<BR>Mailing
list: <A
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</A><BR>Post
to : <A
href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</A><BR>Unsubscribe
: <A
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</A><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BODY></HTML>