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


_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to