<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">I've recently started managing our virtual machines using OpenNebula in our environment. It runs on top of our CentOS KVM servers.</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">I have taken have already ran the cmd:</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">onevm disk-snapshot 37 0 X-test-20131018<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
which will take a deferred snapshot of the disk upon 'onevm shutdown' ... problem is I have decided I want to do a "hot" live snapshot and receive the following exception:</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><b>oneadmin@headnode:~ $ onevm disk-snapshot --live 37 0 X-test-20131018</b></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<b>[VirtualMachineSaveDisk] Cannot use selected DISK. The DISK 0 is already going to be saved.</b></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
You will also see below VM no. 37 has deferred image to set to be no. 11. I have also deleted image no. 11 in hopes of free'ing VM no. 37 from deferred image capture. Turns out this wasn't the best option and I probably should have went the Sunstone GUI route.</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Any ideas here to free my VM no. 37 from wanting to save image as no. 11 which now does not exist? At several glances I don't see a clear cut way to back out of my situation in order to choose Hot (--live) snapshot.</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Thanks in advance, (see output below pertaining to this issue)</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">oneadmin@headnode:~ $ onevm show 37</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
VIRTUAL MACHINE 37 INFORMATION</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">ID : 37</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">NAME : X</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">USER : oneadmin</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">GROUP : oneadmin</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
STATE : ACTIVE</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">LCM_STATE : RUNNING</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">RESCHED : No</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">HOST : headnode</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">START TIME : 10/16 17:30:16</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">END TIME : -</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">DEPLOY ID : one-37</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">VIRTUAL MACHINE MONITORING</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">NET_RX : 533.4M</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">USED CPU : 2</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">NET_TX : 189M</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
USED MEMORY : 8G</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">PERMISSIONS</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
OWNER : um-</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">GROUP : ---</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">OTHER : u--</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">VM DISKS</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
ID TARGET IMAGE TYPE SAVE SAVE_AS</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> 0 hda X file YES 11</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">VM NICS</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> ID NETWORK VLAN BRIDGE IP MAC</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> 0 meganet no br0 128.123.0.12 02:00:80:7b:00:0c</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
fe80::400:80ff:fe7b:c</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> 1 tfbnet no br1 10.191.10.212 02:00:0a:bf:0a:d4</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> fe80::400:aff:febf:ad4</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br>
</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">VIRTUAL MACHINE HISTORY</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">SEQ HOST ACTION REAS START TIME PROLOG</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> 0 headnode none none 10/16 17:30:30 4d 15h19m 0h49m48s</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">USER TEMPLATE</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">ERROR="Fri Oct 18 11:32:14 2013 : Error creating new VM Snapshot: Could not create snapshot for domain one-37."</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">SAVE="NO"</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">SAVE_AS="NO"</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">VIRTUAL MACHINE TEMPLATE</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">AUTOMATIC_REQUIREMENTS="CLUSTER_ID = 100"</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">CPU="8"</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">GRAPHICS=[</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
LISTEN="0.0.0.0",</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> PORT="5937",</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> TYPE="vnc" ]</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">MEMORY="8192"</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">OS=[</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
ARCH="x86_64" ]</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">TEMPLATE_ID="11"</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">VMID="37"</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">oneadmin@headnode:~ $ oneimage list</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
ID USER GROUP NAME DATASTORE SIZE TYPE PER STAT RVMS</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> 4 oneadmin oneadmin X default 100G OS No used 1</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> 9 oneadmin oneadmin X default 100G OS No used 1</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
12 wfabella oneadmin X default 100G OS No used 5</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> 13 wfabella oneadmin ttylinux test default 40M OS No rdy 0</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div dir="ltr" style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<i><font color="#3333ff">"As the shadow follows the body,</font></i><div><i><font color="#3333ff">As we think,</font></i></div><div><i><font color="#3333ff">so we become." -zen quote</font></i></div></div><div><br>
</div>-- <br><div dir="ltr"><div>Wesley J. Fabella</div><div>Novetta - DevOps Engineer</div><div>(desk) 813.304.2936</div><div>(cell) at request</div><div><br></div><i><font color="#3333ff">"As the shadow follows the body,</font></i><div>
<i><font color="#3333ff">As we think,</font></i></div><div><i><font color="#3333ff">so we become." -zen quote</font></i></div><div><i><font color="#3333ff"><br></font></i></div><div><font><span style="font-family:monospace">IMPORTANT NOTICE:</span><span style="font-family:monospace"> </span><br style="font-family:monospace">
<span style="font-family:monospace">This e-mail message is intended for the use of the addressee and may contain company proprietary and/or confidential information that is subject to disclosure agreements. If you are not the authorized recipient, your viewing of such information, as well as any disclosure, copying, distribution or use of any of the information contained in or attached therein, is strictly prohibited. If you received this e-mail in error, please reply to the sender and delete the original message.</span></font><i><font color="#3333ff"><br>
</font></i></div></div>
</div>