<div dir="ltr"><div><div>The error shows your destination  node's libvirt's version is lower than  source node's libvirt's version .<br>See <a href="https://github.com/openstack/nova/blob/master/nova/conductor/tasks/live_migrate.py#L136">https://github.com/openstack/nova/blob/master/nova/conductor/tasks/live_migrate.py#L136</a><br></div></div>Use  command    'virsh version' to check the version.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-15 10:10 GMT+08:00 Perez, Eric Eleazar <span dir="ltr"><<a href="mailto:ericperez@komiyaph.com" target="_blank">ericperez@komiyaph.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br clear="all"><div><div><div>Hi,</div><div><br></div><div>I always encounter this problem.</div><div><br></div><div><div>root@controller:~# nova live-migration --block-migrate instance_test compute2</div><div>ERROR: The instance requires a newer hypervisor version than has been provided. (HTTP 400) (Request-ID: req-24bff011-72e0-48b8-9bcb-0f3b82529c0b)</div></div><div><br></div><div>I am using Ubuntu Server. And I already applied these configurations.</div><div><br></div><div><span><ol style="margin-top:0pt;margin-bottom:0pt"><li dir="ltr" style="list-style-type:lower-alpha;font-size:15px;font-family:Calibri;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> Edit /etc/libvirt/libvirtd.conf</span></p></li></ol><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:15px;font-family:Calibri;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="white-space:pre-wrap">       </span></span><span style="font-size:15px;font-family:Calibri;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="white-space:pre-wrap">       </span></span><span style="font-size:15px;font-family:Calibri;color:rgb(31,73,125);font-style:italic;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">listen_tls = 0</span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:36pt;text-indent:36pt"><span style="font-size:15px;font-family:Calibri;color:rgb(31,73,125);font-style:italic;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">listen_tcp = 1</span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:36pt;text-indent:36pt"><span style="font-size:15px;font-family:Calibri;color:rgb(31,73,125);font-style:italic;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">auth_tcp = “none”</span></p><ol style="margin-top:0pt;margin-bottom:0pt" start="2"><li dir="ltr" style="list-style-type:lower-alpha;font-size:15px;font-family:Calibri;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Edit /etc/default/libvirt-bin</span></p></li></ol><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:15px;font-family:Calibri;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="white-space:pre-wrap">   </span></span><span style="font-size:15px;font-family:Calibri;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="white-space:pre-wrap">       </span></span><span style="font-size:15px;font-family:Calibri;color:rgb(31,73,125);font-style:italic;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">libvirtd_opts=" -d -l"</span></p><ol style="margin-top:0pt;margin-bottom:0pt" start="3"><li dir="ltr" style="list-style-type:lower-alpha;font-size:15px;font-family:Calibri;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Edit /etc/nova/nova.conf, add the line:</span></p></li></ol><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:15px;font-family:Calibri;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="white-space:pre-wrap">  </span></span><span style="font-size:13px;font-family:Calibri;color:rgb(31,73,125);font-style:italic;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE</span></p><ol style="margin-top:0pt;margin-bottom:0pt" start="4"><li dir="ltr" style="list-style-type:lower-alpha;font-size:15px;font-family:Calibri;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Restart services.</span></p></li></ol><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:15px;font-family:Calibri;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="white-space:pre-wrap">  </span></span><span style="font-size:15px;font-family:Calibri;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="white-space:pre-wrap">       </span></span><span style="font-size:15px;font-family:Calibri;color:rgb(31,73,125);font-style:italic;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">service nova-compute restart</span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:15px;font-family:Calibri;color:rgb(31,73,125);font-style:italic;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="white-space:pre-wrap">   </span></span><span style="font-size:15px;font-family:Calibri;color:rgb(31,73,125);font-style:italic;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="white-space:pre-wrap"> </span></span><span style="font-size:15px;font-family:Calibri;color:rgb(31,73,125);font-style:italic;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">stop libvirt-bin && start libvirt-bin</span></p><div><span style="font-size:15px;font-family:Calibri;color:rgb(31,73,125);font-style:italic;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><br></span></div><div><font face="Calibri" color="#1f497d"><span style="font-size:15px;white-space:pre-wrap"><i>Thanks for the help.</i></span></font></div></span></div></div></div>
</div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">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" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>ChangBo Guo(gcb)</div></div></div>
</div>