[one-users] Image status LOCKED after DETACH

Emmanuel Mathot emmanuel.mathot at terradue.com
Wed Sep 19 01:12:31 PDT 2012


I detached the disk from a running VM and everything went fine:

Tue Sep 18 15:03:31 2012 [VMM][I]: ExitCode: 0
Tue Sep 18 15:03:31 2012 [VMM][I]: Successfully execute virtualization driver operation: detach_disk.
Tue Sep 18 15:03:48 2012 [VMM][I]: mvds: Moving /var/lib/one/datastores/102/498/disk.2/disk.vmdk to datastore as /var/lib/one/datastores/100/21bcfb7fefe421751db93c917bdf7d70/disk.vmdk
Tue Sep 18 15:03:48 2012 [VMM][I]: ExitCode: 0
Tue Sep 18 15:03:48 2012 [VMM][I]: Successfully execute transfer manager driver operation: tm_detach.
Tue Sep 18 15:03:48 2012 [VMM][E]: VM Disk Successfully detached.
Tue Sep 18 15:07:06 2012 [VMM][I]: ExitCode: 0

Even the disk is in the correct datastore (100), consistent and all. But the image remains in LOCKED state.
So I think this is as per SAVE_AS and I shut down the machine:

Tue Sep 18 17:56:52 2012 [LCM][I]: New VM state is SHUTDOWN
Tue Sep 18 17:57:35 2012 [VMM][I]: ExitCode: 0
Tue Sep 18 17:57:35 2012 [VMM][I]: Successfully execute virtualization driver operation: shutdown.
Tue Sep 18 17:57:35 2012 [VMM][I]: ExitCode: 0
Tue Sep 18 17:57:35 2012 [VMM][I]: Successfully execute network driver operation: clean.
Tue Sep 18 17:57:35 2012 [LCM][I]: New VM state is EPILOG
Tue Sep 18 17:57:36 2012 [TM][I]: ExitCode: 0
Tue Sep 18 17:57:36 2012 [TM][I]: ExitCode: 0
Tue Sep 18 17:57:36 2012 [TM][I]: ExitCode: 0
Tue Sep 18 17:57:36 2012 [TM][I]: ExitCode: 0
Tue Sep 18 17:57:37 2012 [TM][I]: delete: Deleting /var/lib/one/datastores/102/498
Tue Sep 18 17:57:37 2012 [TM][I]: ExitCode: 0

Again, everything goes smoothly but again the image is still LOCKED. No way to unlock it!

Shouldn't the image be READY already after the successful detach?
Is there something wrong in the procedure or in my config.


Emmanuel Mathot
www.terradue.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120919/f4ed6af4/attachment.htm>


More information about the Users mailing list