[sheepdog-users] Call vdi cache delete when removing a vdi

Valerio Pachera sirio81 at gmail.com
Tue Jun 25 12:42:14 CEST 2013


If you kill -9  a guest and delete its vdi, you get this message:

Jun 25 12:28:33 [deletion] objlist_deletion_work(186) VDI (4fd259) is
still in use, can not be deleted
Jun 25 12:28:40 [deletion] objlist_deletion_work(186) VDI (a34c67) is
still in use, can not be deleted

The message is not shown on the node that was running the guest but the others.

Note: cache has been flushed but not deleted.

What is interesting is that, creating a vdi with the same name, you
will give you problem.

In my case I did
  collie vdi delete squeeze

then import the disk by
  qemu-img convert -f qcow2 squeeze.qcow2 sheepdog:squeeze

Running the guest with the new vdi give I/O errors.
No error reported on sheep.log.


PS: we may valuate also to add a "Are you sure? (y/N)" for collie vdi delete.



More information about the sheepdog-users mailing list