<div dir="ltr"><div><div>Thanks Eric.<br><br></div><div>Sometime I live-migrated sucessfull. Although the following errors still appears.<br>I will retry.<br></div><div><br><b>warning : qemuMigrationCancelDriveMirror:1383 : Unable to stop block job on drive-virtio-disk1</b><br>
<b>error : virCommandWait:2348 : internal error: Child process (ovs-vsctl --timeout=5 get Interface tap6977e4a1-cd external_ids:PortData) unexpected exit status 1: ovs-vsctl: no key "PortData" in Interface record "tap6977e4a1-cd" column external_ids*</b><br>
</div><br></div>B&R<br><div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-16 23:41 GMT+07:00 Eric Blake <span dir="ltr"><<a href="mailto:eblake@redhat.com" target="_blank">eblake@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">On 06/16/2014 02:06 AM, Tuân Tạ Bá wrote:<br>
> Hi everyone,<br>
><br>
> I use KVM on Openstack Cloud. And KVM migrated successfull, but not ping.<br>
><br>
</div>> *Source Host SIDE:  *"/var/log/libvirt/libvirtd.log"<br>
<div class="">><br>
> 2014-06-16 05:15:50.599+0000: 2096: warning :<br>
> qemuMigrationCancelDriveMirror:1383 : Unable to stop block job on<br>
> drive-virtio-disk0<br>
</div>> 2014-06-16 05:15:50.601+0000: 2096: *warning :<br>
<div class="">> qemuMigrationCancelDriveMirror:1383 : Unable to stop block job on<br>
</div>> drive-virtio-disk1*<br>
<br>
These warnings don't look good; have you investigated why they are<br>
occurring?<br>
<br>
> *2014-06-16 05:15:50.651+0000: 2096: error : virCommandWait:2348 : internal<br>
<div class="">> error: Child process (ovs-vsctl --timeout=5 get Interface tap6977e4a1-cd<br>
> external_ids:PortData) unexpected exit status 1: ovs-vsctl: no key<br>
</div>> "PortData" in Interface record "tap6977e4a1-cd" column external_ids*<br>
<div class="">><br>
> 2014-06-16 05:15:50.651+0000: 2096: error :<br>
> virNetDevOpenvswitchGetMigrateData:219 : Unable to run command to get OVS<br>
> port data for interface tap6977e4a1-cd: Operation not permitted<br>
> 2014-06-16 05:15:50.651+0000: 2096: error :<br>
> qemuMigrationCookieNetworkAlloc:367 : Unable to run command to get OVS port<br>
> data for interface tap6977e4a1-cd: Operation not permitted<br>
<br>
</div>Based on this failure, migration should not be successful.<br>
<div class=""><br>
> 2014-06-16 05:15:50.651+0000: 2096: warning : qemuMigrationRun:3262 :<br>
> Unable to encode migration cookie<br>
> 2014-06-16 05:15:53.321+0000: 2096: warning : virAuditSend:135 : Failed to<br>
> send audit message virt=kvm op=stop reason=migrated vm="instance-0001b37c"<br>
> uuid=631ac4c7-8e84-4cf6-ad98-93877cdbe1bd vm-pid=-1: Operation not permitted<br>
<br>
</div>That doesn't look good either.  Are you sure your system is set up<br>
correctly to allow audit messages to be generated?  But it's probably<br>
unrelated to the failure you are seeing.<br>
<br>
><br>
> *Destination Host SIDE:* "/var/log/libvirt/libvirtd.log"<br>
<div class="">> ......<br>
><br>
> 2014-06-16 05:15:41.419+0000: 2229: warning : virAuditSend:135 : Failed to<br>
> send audit message virt=kvm resrc=cgroup reason=allow vm="instance-000<br>
> 1b37c" uuid=631ac4c7-8e84-4cf6-ad98-93877cdbe1bd<br>
> cgroup="/sys/fs/cgroup/devices/machine/instance-0001b37c.libvirt-qemu/"<br>
> class=major category=pty<br>
>  maj=88 acl=rw: Operation not permitted<br>
> 2014-06-16 05:15:41.620+0000: 2229: warning :<br>
> qemuDomainObjEnterMonitorInternal:1175 : This thread seems to be the async<br>
> job owner; entering moni<br>
> tor without asking for a nested job is dangerous<br>
> 2014-06-16 05:15:43.552+0000: 2229: warning : virAuditSend:135 : Failed to<br>
> send audit message virt=kvm resrc=vcpu reason=start vm="instance-0001b<br>
> 37c" uuid=631ac4c7-8e84-4cf6-ad98-93877cdbe1bd old-vcpu=0 new-vcpu=2:<br>
> Operation not permitted<br>
</div>> 2014-06-16 05:15:43.552+0000: 2229: warning : virAuditSend:135 :* Failed to<br>
> send audit message *virt=kvm op=start reason=migrated vm="instance-0001<br>
> b37c" uuid=631ac4c7-8e84-4cf6-ad98-93877cdbe1bd vm-pid=21063:* Operation<br>
> not permitted*<br>
<div class="">><br>
> 1) I'm using libvirt version 1.1.1,<br>
><br>
> libvirt-bin      1.1.1-0ubuntu8.5~cloud0<br>
> libvirt0      1.1.1-0ubuntu8.5~cloud0<br>
> python-libvirt      1.1.1-0ubuntu8.5~cloud0<br>
><br>
> 2) #cat /etc/libvirt/qemu.conf<br>
> ...<br>
> user = "root"<br>
> group = "root"<br>
><br>
> I searched GOOGLE, René speaks "downgrading to libvirt 1.1.0 and<br>
> reinstalling everything. They will ok". But I don't think that.<br>
><br>
> How to resolve this error?.<br>
<br>
</div>We've had some bug fixes for migration in the meantime; can you<br>
reproduce the error with libvirt 1.2.5?<br>
<span class=""><font color="#888888"><br>
--<br>
Eric Blake   eblake redhat com    +1-919-301-3266<br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div>Name:            TA BA TUAN</div><div>Work:             Network System Administrator </div><div>Company:       Advanced Intelligence Technology Stock Company</div>
<div>Mobile:           01638.369.743</div><div>Email:            <a href="mailto:tuantb@ai-t.vn" target="_blank">tuantb@ai-t.vn</a></div><div>Adress:         <span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"> G Block, La Thanh Hotel, 218 Doi Can Str, Ba Dinh Dist, Hanoi, Vietnam </span></div>

</div></div></div>