[Openstack] Failed to get the VM console-log after Live-Migration
董建华
dongjh at nci.com.cn
Tue Oct 29 02:53:12 UTC 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131029/48fbdcbd/attachment.html>
More information about the Openstack
mailing list