<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body style="font-family: Lucida Grande; font-size: 11pt;"
bgcolor="#FFFFFF" text="#000000"><div style="font-size:
11pt;font-family: Lucida Grande;"><span style="font-family: Lucida
Grande;">Hey Eric, <br>make sure first to read that :<br><a class="moz-txt-link-freetext" href="http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-live-migrations.html">http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-live-migrations.html</a><br><br>and
also make sure on both systems the user "nova" the SSH keys are
installed<br>Razique<br></span><br><blockquote style="border: 0px none;"
cite="mid:CAN-_c-ToEEebMuOy9_uGBOvxr71kYPqkKvfcS7vWXhhhL9DGMA@mail.gmail.com"
type="cite"><div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
photoaddress="nextfool@gmail.com" photoname="Eric Luo"
src="cid:part1.04030706.09010808@gmail.com"
name="compose-unknown-contact.jpg" height="25px" width="25px"></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:nextfool@gmail.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Eric Luo</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">21 mai 2012 11:34</span></font></div></div></div><div
style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody">Hello ,all.
<div><br></div><div>I have a two nodes installation . OS1 is the cloud
controller ,and OS2 is a nova-compute node.</div><div>I have a vm (name
as vm1) running on OS1.</div><div>When I use the command <b> nova
migrate vm1 </b></div>
<div><b><br></b></div><div>The dashboard is showing the vm1 as : status
:error ,task :<span
style="color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera
Sans','DejaVu
Sans',Tahoma,sans-serif;font-size:13px;line-height:18px;text-align:left">Resize
Prep</span></div>
<div><span style="text-align:left"><font color="#333333" face="Ubuntu,
Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span
style="line-height:18px">I tail ed the nova-compute.log in OS1, and
found the following error information while running the </span></font></span><b> nova
migrate vm1 </b>command :</div>
<div><br></div><div><br></div><div>Can someone please explain to me what
does these error mean ,and what's wrong with my config ...</div><div><br></div><div><br></div><div><div><font
color="#ff0000">2012-05-21 17:20:45 ERROR nova.compute.manager
[req-d0f494cb-e9d6-41d2-b6df-6faa432a644d
6ffaaedb60c24f5eb888319e1e387d75 0d7a5a12b6f54aa9bff986bf138bc0b7] Unex </font><span
style="color:rgb(255,0,0)">pected error while running command.</span></div>
<div><font color="#ff0000">Command: ssh 192.168.0.205 mkdir -p
/var/lib/nova/instances/instance-0000000a</font></div><div><font
color="#ff0000">Exit code: 255</font></div><div><font color="#ff0000">Stdout:
''</font></div>
<div><font color="#ff0000">Stderr: 'Host key verification failed.\r\n'.
Setting instance vm_state to ERROR</font></div><div>2012-05-21 17:20:45
ERROR nova.rpc.amqp [req-d0f494cb-e9d6-41d2-b6df-6faa432a644d
6ffaaedb60c24f5eb888319e1e387d75 0d7a5a12b6f54aa9bff986bf138bc0b7]
Exception during message handling</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp Traceback (most recent call
last):</div><div>2012-05-21 17:20:45 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 252, in
_process_data</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp rval =
node_func(context=ctxt, **node_args)</div><div>2012-05-21 17:20:45 TRACE
nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in
wrapped</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp return f(*args, **kw)</div><div>2012-05-21
17:20:45 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 153, in
decorated_function</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp function(self, context,
instance_uuid, *args, **kwargs)</div><div>2012-05-21 17:20:45 TRACE
nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in
decorated_function</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp sys.exc_info())</div><div>2012-05-21
17:20:45 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py",
line 24, in __exit__</div><div>2012-05-21 17:20:45 TRACE nova.rpc.amqp
self.gen.next()</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 171, in
decorated_function</div><div>2012-05-21 17:20:45 TRACE nova.rpc.amqp
return function(self, context, instance_uuid, *args, **kwargs)</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1330,
in resize_instance</div><div>2012-05-21 17:20:45 TRACE nova.rpc.amqp
self._set_instance_error_state(context, instance_uuid)</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__</div><div>2012-05-21
17:20:45 TRACE nova.rpc.amqp self.gen.next()</div><div>2012-05-21
17:20:45 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1325,
in resize_instance</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp instance_type_ref,
self._legacy_nw_info(network_info))</div><div>2012-05-21 17:20:45 TRACE
nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in
wrapped</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp return f(*args, **kw)</div><div>2012-05-21
17:20:45 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line
2363, in migrate_disk_and_power_off</div>
<div><font color="#ff0000">2012-05-21 17:20:45 TRACE nova.rpc.amqp
raise e</font></div><div><font color="#ff0000">2012-05-21 17:20:45 TRACE
nova.rpc.amqp ProcessExecutionError: Unexpected error while running
command.</font></div>
<div><font color="#ff0000">2012-05-21 17:20:45 TRACE nova.rpc.amqp
Command: ssh 192.168.0.205 mkdir -p
/var/lib/nova/instances/instance-0000000a</font></div><div><font
color="#ff0000">2012-05-21 17:20:45 TRACE nova.rpc.amqp Exit code: 255</font></div>
<div><font color="#ff0000">2012-05-21 17:20:45 TRACE nova.rpc.amqp
Stdout: ''</font></div><div><font color="#ff0000">2012-05-21 17:20:45
TRACE nova.rpc.amqp Stderr: 'Host key verification failed.\r\n'</font></div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp</div><div>^C</div></div><div><br></div><div><br></div><div><br></div>
<div>_______________________________________________<br>Mailing list:
<a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to :
<a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe :
<a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help :
<a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></div></div></blockquote><br><div
class="moz-signature">-- <br><span><span style="font-family: Lucida
Grande;">Nuage & Co - Razique Mahroua <br>
<span style="font-weight: bold;"><a class="moz-txt-link-abbreviated" href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></span></span><span
style="color: rgb(51, 153, 153);"></span><span style="font-family:
monospace;"></span></span><br>
<br>
<div class="moz-signature"><span style="font-family: monospace;">
</span><img src="cid:part2.02010009.05060202@gmail.com" name="image.jpg"
alt=""></div>
<br>
<br>
</div></div></body></html>