<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 9, 2017 at 10:58 AM, Juan Hernández <span dir="ltr"><<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-h5"><br>
<br>
</div></div>Very good point Gialuca, you are right, the 'persist_memorystate' flag<br>
is 'true' by default, and that makes the pause longer. Would you be so<br>
kind to add it to the 'vm_backup.py' example that is part of version 4<br>
of the SDK?<br>
<br>
<br>
<a href="https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/vm_backup.py#L143-L151" rel="noreferrer" target="_blank">https://github.com/oVirt/<wbr>ovirt-engine-sdk/blob/master/<wbr>sdk/examples/vm_backup.py#<wbr>L143-L151</a><br>
<br>
(Note that that Gibhub is just a mirror, the change needs to be submited<br>
using <a href="http://gerrit.ovirt.org" rel="noreferrer" target="_blank">gerrit.ovirt.org</a>).<br>
<br><br></blockquote><div><br></div><div>I already verified (on a 4.1 infra) that changing vm_backup.py downloaded yesterday from master this way (apart connection paramters):</div><div><br></div><div><div>$ diff vm_backup.py vm_backup.py.orig </div></div><div> 150d149<br></div><div>< persist_memorystate=False,</div><div><br></div><div>I get the backup result and snapshot is correctly without memory saved (and no pause at VM side)</div><div><br></div><div>In engine events I get:</div><div><br></div><div><div>Mar 9, 2017 10:50:39 AM Snapshot 'Oracle7-backup-c6bf637e-cdeb-4923-a39f-55a14d7bad7b' deletion for VM 'Oracle7' has been completed.</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span></div><div>Mar 9, 2017 10:49:48 AM Backup of virtual machine 'Oracle7' using snapshot 'Oracle7-backup-c6bf637e-cdeb-4923-a39f-55a14d7bad7b' is completed.</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span></div><div>Mar 9, 2017 10:49:48 AM Snapshot 'Oracle7-backup-c6bf637e-cdeb-4923-a39f-55a14d7bad7b' deletion for VM 'Oracle7' was initiated by admin@internal-authz.</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span></div><div>Mar 9, 2017 10:49:47 AM Disk Oracle7_Disk1 was successfully detached from VM c7testovn1 by admin@internal-authz.</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span></div><div>Mar 9, 2017 10:49:45 AM Disk Oracle7_Disk1 was successfully attached to VM c7testovn1 by admin@internal-authz.</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span></div><div>Mar 9, 2017 10:49:41 AM Snapshot 'Oracle7-backup-c6bf637e-cdeb-4923-a39f-55a14d7bad7b' creation for VM 'Oracle7' has been completed.</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span></div><div>Mar 9, 2017 10:49:29 AM Snapshot 'Oracle7-backup-c6bf637e-cdeb-4923-a39f-55a14d7bad7b' creation for VM 'Oracle7' was initiated by admin@internal-authz.</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span></div><div>Mar 9, 2017 10:49:28 AM Backup of virtual machine 'Oracle7' using snapshot 'Oracle7-backup-c6bf637e-cdeb-4923-a39f-55a14d7bad7b' is starting.</div><div><br></div></div></div><br></div><div class="gmail_extra">I have almost no experience in gerrit/github, unfortunately... only a beginner experience in svn ... ;-)</div><div class="gmail_extra">If you give me some pointers I can try to apply what you asked...</div><div class="gmail_extra"><br></div><div class="gmail_extra">Gianluca</div></div>