<!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.FoxDiv20141112183509154650 {
        FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; COLOR: #000000; LINE-HEIGHT: 1.5
}
BODY {
        FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; COLOR: #000000; LINE-HEIGHT: 1.5
}
P {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
</STYLE>

<META name=GENERATOR content="MSHTML 10.00.9200.17116"></HEAD>
<BODY style="MARGIN: 10px">
<DIV> </DIV>
<DIV>
<DIV class=report>
<P>hi, i run command nova evacuate failed, anyone can help point out 
direction?<BR>steps:<BR>1.run two compute host A and B<BR>2.run instance vm01 on 
host A, shutdown host A<BR>3.run command nova evacuate --on-shared-storage vm01 
B</P>
<P> </P>
<P>------------------------------------------------------------</P>
<P>My analysis is:</P>
<P>When VM starting to be created in Host B, I can see the 
'network-vif-plugged' message showed up in neutron server log.</P>
<P>but after VM is created, no more neutron 'network-vif-plugged' rpc 
message generated, thus we got 'timeout' error.<BR>actually no any error 
messages in neutron server log during evacuation.<BR></P>
<P>i see from source code that it has some notifier with port api 
create/<WBR>delete/<WBR>update and port db insert/update/set.<BR>i guess 
that it is due to the port data not changed during evacuation, so no 
any message to be sent out as notification</P>
<P> </P>
<P>could any confirm this?</P>
<P> </P>
<P>---------------------------------------------------------------------------------------------</P>
<P>Host B compute log:<BR>nova-nova.<WBR>virt.libvirt.<WBR>driver WARNING: 
Timeout waiting for vif plugging callback for instance 
091cde07-<WBR>297b-437c-<WBR>b21f-32bc53c247<WBR>01<BR>nova-nova.<WBR>compute.<WBR>manager 
INFO: Lifecycle event 1 on VM 
091cde07-<WBR>297b-437c-<WBR>b21f-32bc53c247<WBR>01<BR>nova-nova.<WBR>compute.<WBR>manager 
INFO: During sync_power_state the instance has a pending task. 
Skip.<BR>nova-nova.<WBR>virt.libvirt.<WBR>driver INFO: Deleting instance files 
/instance_<WBR>path/091cde07-<WBR>297b-437c-<WBR>b21f-32bc53c247<WBR>01<BR>nova-nova.<WBR>virt.libvirt.<WBR>driver 
INFO: Deletion of 
/instance_<WBR>path/091cde07-<WBR>297b-437c-<WBR>b21f-32bc53c247<WBR>01 
complete<BR>nova-nova.<WBR>compute.<WBR>manager ERROR: Setting instance vm_state 
to ERROR<BR>Traceback (most recent call last):<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/compute/<WBR>manager.<WBR>py", 
line 5529, in 
_error_<WBR>out_instance_<WBR>on_exception<BR>    yield<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/compute/<WBR>manager.<WBR>py", 
line 2524, in 
rebuild_instance<BR>    self.<WBR>_rebuild_<WBR>default_<WBR>impl(**<WBR>kwargs)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/compute/<WBR>manager.<WBR>py", 
line 2377, in 
_rebuild_<WBR>default_<WBR>impl<BR>    block_<WBR>device_<WBR>info=new_<WBR>block_device_<WBR>info)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/virt/<WBR>libvirt/<WBR>driver.<WBR>py", 
line 2265, in 
spawn<BR>    block_<WBR>device_<WBR>info)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/virt/<WBR>libvirt/<WBR>driver.<WBR>py", 
line 3675, in 
_create_<WBR>domain_<WBR>and_network<BR>    raise 
exception.<WBR>VirtualInterfac<WBR>eCreateExceptio<WBR>n()<BR>VirtualInterfac<WBR>eCreateExceptio<WBR>n: 
Virtual Interface creation 
failed<BR>nova-oslo.<WBR>messaging.<WBR>rpc.dispatcher ERROR: Exception during 
message handling: Virtual Interface creation failed<BR>Traceback (most recent 
call last):<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>oslo/messaging/<WBR>rpc/dispatcher.<WBR>py", 
line 133, in 
_dispatch_and_reply<BR>    incoming.<WBR>message)<WBR>)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>oslo/messaging/<WBR>rpc/dispatcher.<WBR>py", 
line 176, in _dispatch<BR>    return 
self._do_<WBR>dispatch(<WBR>endpoint, method, ctxt, args)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>oslo/messaging/<WBR>rpc/dispatcher.<WBR>py", 
line 122, in _do_dispatch<BR>    result = getattr(endpoint, 
method)(ctxt, **new_args)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/compute/<WBR>manager.<WBR>py", 
line 393, in decorated_function<BR>    return function(self, 
context, *args, **kwargs)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>oslo/messaging/<WBR>rpc/server.<WBR>py", 
line 139, in inner<BR>    return func(*args, 
**kwargs)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/exception.<WBR>py", 
line 88, in wrapped<BR>    payload)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/openstack/<WBR>common/<WBR>excutils.<WBR>py", 
line 68, in 
__exit__<BR>    six.<WBR>reraise(<WBR>self.type_<WBR>, 
self.value, self.tb)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/exception.<WBR>py", 
line 71, in wrapped<BR>    return f(self, context, *args, 
**kw)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/compute/<WBR>manager.<WBR>py", 
line 274, in 
decorated_function<BR>    pass<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/openstack/<WBR>common/<WBR>excutils.<WBR>py", 
line 68, in 
__exit__<BR>    six.<WBR>reraise(<WBR>self.type_<WBR>, 
self.value, self.tb)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/compute/<WBR>manager.<WBR>py", 
line 260, in decorated_function<BR>    return function(self, 
context, *args, **kwargs)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/compute/<WBR>manager.<WBR>py", 
line 327, in decorated_function<BR>    function(self, 
context, *args, **kwargs)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/compute/<WBR>manager.<WBR>py", 
line 303, in decorated_function<BR>    e, 
sys.exc_info())<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/openstack/<WBR>common/<WBR>excutils.<WBR>py", 
line 68, in 
__exit__<BR>    six.<WBR>reraise(<WBR>self.type_<WBR>, 
self.value, self.tb)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/compute/<WBR>manager.<WBR>py", 
line 290, in decorated_function<BR>    return function(self, 
context, *args, **kwargs)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/compute/<WBR>manager.<WBR>py", 
line 2524, in 
rebuild_instance<BR>    self.<WBR>_rebuild_<WBR>default_<WBR>impl(**<WBR>kwargs)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/compute/<WBR>manager.<WBR>py", 
line 2377, in 
_rebuild_<WBR>default_<WBR>impl<BR>    block_<WBR>device_<WBR>info=new_<WBR>block_device_<WBR>info)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/virt/<WBR>libvirt/<WBR>driver.<WBR>py", 
line 2265, in 
spawn<BR>    block_<WBR>device_<WBR>info)<BR>  File 
"/usr/lib/<WBR>python2.<WBR>6/site-<WBR>packages/<WBR>nova/virt/<WBR>libvirt/<WBR>driver.<WBR>py", 
line 3675, in 
_create_<WBR>domain_<WBR>and_network<BR>    raise 
exception.<WBR>VirtualInterfac<WBR>eCreateExceptio<WBR>n()<BR>VirtualInterfac<WBR>eCreateExceptio<WBR>n: 
Virtual Interface creation failed</P>
<P>how about it? need help, thanks.</P></DIV></DIV><P></P>
<P>本邮件(包括其附件)可能含有保密、专有或保留著作权的信息。如果您并非本邮件指定接受人,请即刻通知发送人并将本邮件从您的系统中删除,您不得散布、保留、复制、披露或以其他方式使用本邮件任何相关信息,并且通过邮件告知我们此次错误投递。发送人在本邮件下表达的观点并不一定代表苏宁云商集团股份有限公司的观点。苏宁云商集团股份有限公司并不保证本邮件是安全或不受任何计算机病毒影响的,并且对由于邮件传输而导致的邮件内容错误或缺失不承担任何责任。除非明确说明,本邮件并不构成具有约束力的契约。</P>
<P>This e-mail may contain confidential, copyright and/or privileged information. If you are not the addressee or authorized to receive this, please inform us of the erroneous delivery by return e-mail, and you should delete it from your system and may not use, copy, disclose or take any action based on this e-mail or any information herein. Any opinions expressed by sender hereof do not necessarily represent those of SUNING COMMERCE GROUP CO., LTD.,SUNING COMMERCE GROUP CO., LTD.,does not guarantee that this email is secure or free from viruses. No liability is accepted for any errors or omissions in the contents of this email, which arise as a result of email transmission. Unless expressly stated,this email is not intended to form a binding contract.</P></BODY></HTML>