Hello,<br><br>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.<br>
<br><br><b>Wed Oct 3 12:22:15 2012 [LCM][I]: New state is CANCEL<br>Wed Oct 3 12:22:15 2012 [VMM][I]: ExitCode: 0<br>Wed Oct 3 12:22:15 2012 [VMM][I]: Successfully execute virtualization driver operation: cancel.<br>Wed Oct 3 12:22:15 2012 [VMM][I]: ExitCode: 0<br>
Wed Oct 3 12:22:15 2012 [VMM][I]: Successfully execute network driver operation: clean.<br>Wed Oct 3 12:22:15 2012 [LCM][I]: New VM state is EPILOG<br>Wed Oct 3 12:58:46 2012 [TM][I]: Command execution fail:<span style="color:rgb(255,0,0)"> /var/lib/one/remotes/tm/iscsi/mvds</span> node1.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<br>
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<br>Wed Oct 3 12:58:46 2012 [TM][E]: mvds: Command " set -e<br>Wed Oct 3 12:58:46 2012 [TM][I]: <br>Wed Oct 3 12:58:46 2012 [TM][I]: # clone lv with dd<br>
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<br>Wed Oct 3 12:58:46 2012 [TM][I]: <br>Wed Oct 3 12:58:46 2012 [TM][I]: # remove if source_dev is not persistent<br>
Wed Oct 3 12:58:46 2012 [TM][I]: if [ -z "" ]; then<br>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]);}')<br>
Wed Oct 3 12:58:46 2012 [TM][I]: <br>Wed Oct 3 12:58:46 2012 [TM][I]: sudo tgtadm --lld iscsi --op delete --mode target --tid $TID<br>Wed Oct 3 12:58:46 2012 [TM][I]: sudo sync<br>Wed Oct 3 12:58:46 2012 [TM][I]: sudo lvremove -f vgNebula/lv-one-70-265<br>
Wed Oct 3 12:58:46 2012 [TM][I]: sudo tgt-admin --dump |sudo tee /etc/tgt/targets.conf > /dev/null 2>&1<br>Wed Oct 3 12:58:46 2012 [TM][I]: fi" failed: 163840+0 records in<br>Wed Oct 3 12:58:46 2012 [TM][I]: 163840+0 records out<br>
Wed Oct 3 12:58:46 2012 [TM][I]: 10737418240 bytes (11 GB) copied, 2188.99 s, 4.9 MB/s<br>Wed Oct 3 12:58:46 2012 [TM][I]: tgtadm: option '--tid' requires an argument<br>Wed Oct 3 12:58:46 2012 [TM][I]: Try `tgtadm --help' for more information.<br>
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<br>Wed Oct 3 12:58:46 2012 [TM][I]: ExitCode: 22<br>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<br>
Wed Oct 3 12:58:46 2012 [DiM][I]: New VM state is FAILED<br></b><br><br>Scenario: <br><br>OpenNebula FE - CentOS v6.3 x86_64bit<br>OpenNebula Node - CentOS v6.3 x86_64bit<br>iSCSI Target - CentOS v6.3 x86_64bit<br>iSCSI initiator - CentOS v6.3 x86_64bit<br>
<br>sidenote: I'm wondering on /var/lib/one/remotes/tm/iscsi/mvds as it starts the error<br><br>Thank you.<br><br>Junix<br><br><br>