[one-users] VM Failed during "Save-As" on a Running VM+CentOS 6.3 x86_64bit + KVM

Lawrence Chiong junix88 at gmail.com
Wed Oct 3 15:02:11 PDT 2012


Hello,

I encountered another issue while doing demo for the features of "Save-As"
image on a Running VM which I suppose to use as my Base-Image for the rest
of my VM to be deployed. During the process after EPILOG status the VM goes
FAILED as per log below. And my Image being save goes "ERROR" from "LOCKED"
after I deleted the Failed VM.


*Wed Oct  3 12:22:15 2012 [LCM][I]: New state is CANCEL
Wed Oct  3 12:22:15 2012 [VMM][I]: ExitCode: 0
Wed Oct  3 12:22:15 2012 [VMM][I]: Successfully execute virtualization
driver operation: cancel.
Wed Oct  3 12:22:15 2012 [VMM][I]: ExitCode: 0
Wed Oct  3 12:22:15 2012 [VMM][I]: Successfully execute network driver
operation: clean.
Wed Oct  3 12:22:15 2012 [LCM][I]: New VM state is EPILOG
Wed Oct  3 12:58:46 2012 [TM][I]: Command execution
fail:/var/lib/one/remotes/tm/iscsi/mvdsnode1.sait.educ:/var/lib/one//datastores/0/265/disk.0
iqn.2012-08.educ.sait:192.168.0.10.vgNebula.lv-one-88 265 100
Wed Oct  3 12:58:46 2012 [TM][I]: mvds: Logging out
iqn.2012-08.educ.sait:192.168.0.10.vgNebula.lv-one-70-265
Wed Oct  3 12:58:46 2012 [TM][E]: mvds: Command "    set -e
Wed Oct  3 12:58:46 2012 [TM][I]:
Wed Oct  3 12:58:46 2012 [TM][I]: # clone lv with dd
Wed Oct  3 12:58:46 2012 [TM][I]: sudo dd if=/dev/vgNebula/lv-one-70-265
of=/dev/vgNebula/lv-one-88 bs=64k
Wed Oct  3 12:58:46 2012 [TM][I]:
Wed Oct  3 12:58:46 2012 [TM][I]: # remove if source_dev is not persistent
Wed Oct  3 12:58:46 2012 [TM][I]: if [ -z "" ]; then
Wed Oct  3 12:58:46 2012 [TM][I]: TID=$(sudo tgtadm --lld iscsi --op show
--mode target |         grep
"iqn.2012-08.educ.sait:192.168.0.10.vgNebula.lv-one-70-265" | awk
'{split($2,tmp,":"); print(tmp[1]);}')
Wed Oct  3 12:58:46 2012 [TM][I]:
Wed Oct  3 12:58:46 2012 [TM][I]: sudo tgtadm --lld iscsi --op delete
--mode target --tid $TID
Wed Oct  3 12:58:46 2012 [TM][I]: sudo sync
Wed Oct  3 12:58:46 2012 [TM][I]: sudo lvremove -f vgNebula/lv-one-70-265
Wed Oct  3 12:58:46 2012 [TM][I]: sudo tgt-admin --dump |sudo tee
/etc/tgt/targets.conf > /dev/null 2>&1
Wed Oct  3 12:58:46 2012 [TM][I]: fi" failed: 163840+0 records in
Wed Oct  3 12:58:46 2012 [TM][I]: 163840+0 records out
Wed Oct  3 12:58:46 2012 [TM][I]: 10737418240 bytes (11 GB) copied, 2188.99
s, 4.9 MB/s
Wed Oct  3 12:58:46 2012 [TM][I]: tgtadm: option '--tid' requires an
argument
Wed Oct  3 12:58:46 2012 [TM][I]: Try `tgtadm --help' for more information.
Wed Oct  3 12:58:46 2012 [TM][E]: Error cloning :/dev/vgNebula/lv-one-88 or
removing nonpersistent
iqn.2012-08.educ.sait:192.168.0.10.vgNebula.lv-one-70-265
Wed Oct  3 12:58:46 2012 [TM][I]: ExitCode: 22
Wed Oct  3 12:58:46 2012 [TM][E]: Error executing image transfer script:
Error cloning :/dev/vgNebula/lv-one-88 or removing nonpersistent
iqn.2012-08.educ.sait:192.168.0.10.vgNebula.lv-one-70-265
Wed Oct  3 12:58:46 2012 [DiM][I]: New VM state is FAILED
*

Scenario:

OpenNebula FE - CentOS v6.3 x86_64bit
OpenNebula Node - CentOS v6.3 x86_64bit
iSCSI Target - CentOS v6.3 x86_64bit
iSCSI initiator - CentOS v6.3 x86_64bit

sidenote: I'm wondering on /var/lib/one/remotes/tm/iscsi/mvds as it starts
the error

Thank you.

Junix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121003/2f9ad3e7/attachment.htm>


More information about the Users mailing list