[Openstack] Failed to get the VM console-log after Live-Migration

董建华 dongjh at nci.com.cn
Tue Oct 29 05:53:40 UTC 2013


root at compute1:/etc/nova# cat nova.conf|grep vnc

vncserver_listen=0.0.0.0
vncserver_proxyclient_address=10.10.10.182
novncproxy_base_url=http://192.168.11.180:6080/vnc_auto.html


10.10.10.182 is the internal IP of the compute node. 192.168.11.180 is the public IP of the controller node.

From: Razique Mahroua
Date: 2013-10-29 13:50
To: 董建华
CC: openstack
Subject: Re: [Openstack] Failed to get the VM console-log after Live-Migration
Hi, 
isn’t related to the option « vncserver_proxyclient_address »? in your nova.conf
Not sure about that one…


On Oct 28, 2013, at 19:53, 董建华 <dongjh at nci.com.cn> wrote:


Hi,

After VM Live-Migration, i failed to get console-log for the VM, is it normal ?

nova show 737c9b60-a701-4691-aaac-66faf6c2a637|grep hypervisor
| OS-EXT-SRV-ATTR:hypervisor_hostname  | compute1          
                                       |
root at controller:~# nova console-log 737c9b60-a701-4691-aaac-66faf6c2a637|tail -20
failed to read iid from metadata. tried 20
no results found for mode=net. up 41.29. searched: nocloud configdrive ec2
failed to get instance-id of datasource
Starting dropbear sshd: generating rsa key... generating dsa key... OK
=== network info ===
if-info: lo,up,127.0.0.1,8,::1
if-info: eth0,up,192.168.11.191,24,fe80::f816:3eff:fe71:cdeb
ip-route:default via 192.168.11.253 dev eth0
ip-route:192.168.11.0/24 dev eth0  src 192.168.11.191
=== datasource: None None ===
=== cirros: current=0.3.1 uptime=41.62 ===
  ____               ____  ____
/ __/ __ ____ ____ / __ \/ __/
/ /__ / // __// __// /_/ /\ \
\___//_//_/  /_/   \____/___/
   http://cirros-cloud.net


login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.
cirros login:

root at controller:~# nova live-migration 737c9b60-a701-4691-aaac-66faf6c2a637 compute2
root at controller:~# nova show 737c9b60-a701-4691-aaac-66faf6c2a637|grep hypervisor
| OS-EXT-SRV-ATTR:hypervisor_hostname  | compute2                        
                         |
root at controller:~# nova console-log 737c9b60-a701-4691-aaac-66faf6c2a637

I just found the following message in nova-compute.log on the node compute2.
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 
_______________________________________________
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/20131029/46a3bbe7/attachment.html>


More information about the Openstack mailing list