<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Ok<div>on the compute node, can you see the file being populated? (console.log within the instance’ directory)</div><div><br><div style=""><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">
<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.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
}
BODY {
FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; COLOR: #000080; LINE-HEIGHT: 1.5
}
</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; background-color: rgb(239, 239, 239); padding: 8px; background-position: initial initial; background-repeat: initial initial;">
<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></body></html>