<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>Hi, everyone!</div><div>    I'm develpment lxc driver for opennebula and i complete the basic functions now, but i meet a problem as follows.</div><div>    from the log, we can see opennbula execute "cancel" fistrly  and then execute "tm_delete.sh", But the result is <span style="color: rgb(255, 0, 255); "> </span><span style="color: rgb(255, 0, 0); ">cancel: Executed "virsh --connect lxc:/// destroy lxc-5". after "tm_delete.sh".</span></div><div><span style="color: rgb(255, 0, 0); ">   <span style="color: rgb(0, 0, 0); "><span style="color: rgb(0, 0, 0); "> so</span><span style="color: rgb(0, 0, 0); "> some files cann't be removed beacause they are using! I think kvm have the same problem in the sequence between "cancel" and "tm_delete.sh", however it's allowed to remove a image file, for example "raw" type image file.</span></span><span style="color: rgb(0, 0, 0); "></span></span></div><div><br></div><div><div>12527 Thu Dec  6 11:52:38 2012 [DiM][D]: Finalizing VM 5</div><div>12528 Thu Dec  6 11:52:38 2012 [VMM][D]: Message received: <span style="color: rgb(255, 0, 0); ">LOG I 5 Driver command for 5 cancelled</span></div><div>12532 Thu Dec  6 11:52:38 2012 [TM][D]: Message received: LOG I 5 tm_delete.sh: Deleting /one_images/5/images</div><div>12534 Thu Dec  6 11:52:38 2012 [TM][D]: Message received: LOG E 5 tm_delete.sh: Command "ssh node1 sudo rm -rf /one_images/5/images"        failed.</div><div>12536 Thu Dec  6 11:52:38 2012 [TM][D]: Message received: LOG E 5 tm_delete.sh: rm: cannot remove `/one_images/5/images/lxc/rootfs/         run': Device or resource busy</div><div>12538 Thu Dec  6 11:52:38 2012 [TM][D]: Message received: LOG I 5 rm: cannot remove `/one_images/5/images/lxc/rootfs/dev/pts': Device       or resource busy</div><div>12540 Thu Dec  6 11:52:38 2012 [TM][D]: Message received: LOG I 5 rm: cannot remove `/one_images/5/images/lxc/rootfs/proc': Device or       resource busy</div><div>12542 Thu Dec  6 11:52:38 2012 [TM][D]: Message received: LOG I 5 rm: cannot remove `/one_images/5/images/lxc/rootfs/sys': Device or        resource busy</div><div>12544 Thu Dec  6 11:52:38 2012 [TM][D]: Message received: LOG I 5 rm: cannot remove `/one_images/5/images/lxc/rootfs/selinux': Device       or resource busy </div><div>12546 Thu Dec  6 11:52:38 2012 [TM][D]: Message received: LOG E 5 Error deleting /one_images/5/images</div><div>12548 Thu Dec  6 11:52:38 2012 [TM][D]: Message received: LOG I 5 ExitCode: 1</div><div>12550 Thu Dec  6 11:52:38 2012 [TM][D]: Message received: TRANSFER FAILURE 5 Error deleting /one_images/5/images</div><div>12552 Thu Dec  6 11:52:39 2012 [VMM][D]: Message received: LOG I 5<span style="color: rgb(255, 0, 255); "> <span style="color: rgb(255, 0, 0); ">cancel: Executed "virsh --connect lxc:/// destroy lxc-5".</span></span></div><div>12554 Thu Dec  6 11:52:39 2012 [VMM][D]: Message received: LOG I 5 ExitCode: 0</div></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>