<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Mar 9, 2017 at 12:40 PM Nathanaël Blanchet &lt;<a href="mailto:blanchet@abes.fr">blanchet@abes.fr</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg">
    <p class="gmail_msg"><br class="gmail_msg">
    </p>
    <br class="gmail_msg">
    <div class="m_322729499030084489moz-cite-prefix gmail_msg">Le 09/03/2017 à 10:25, Gianluca Cecchi
      a écrit :<br class="gmail_msg">
    </div>
    <blockquote type="cite" class="gmail_msg">
      <div dir="ltr" class="gmail_msg">
        <div class="gmail_extra gmail_msg">
          <div class="gmail_quote gmail_msg">On Wed, Mar 8, 2017 at 6:05 PM,
            Gianluca Cecchi <span dir="ltr" class="gmail_msg">&lt;<a href="mailto:gianluca.cecchi@gmail.com" class="gmail_msg" target="_blank">gianluca.cecchi@gmail.com</a>&gt;</span>
            wrote:<br class="gmail_msg">
            <blockquote class="gmail_quote gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div dir="ltr" class="gmail_msg">
                <div class="gmail_extra gmail_msg">
                  <div class="gmail_quote gmail_msg"><br class="gmail_msg">
                    <div class="gmail_msg"><br class="gmail_msg">
                    </div>
                    <div class="gmail_msg">NOTE: during the snapshot creation I see in web
                      admin console the VM in paused state and also not
                      responsive in both console and ssh session.</div>
                    <div class="gmail_msg">After a couple of seconds it comes back and as
                      a confirmation I see this in its messages:</div>
                    <div class="gmail_msg"><br class="gmail_msg">
                    </div>
                    <div class="gmail_msg">Mar  8 17:38:57 T-ORACLE73 chronyd[616]: System
                      clock wrong by 19.077230 seconds, adjustment
                      started<br class="gmail_msg">
                    </div>
                    <div class="gmail_msg"><br class="gmail_msg">
                    </div>
                    <div class="gmail_msg">Is this expected?</div>
                    <div class="gmail_msg"><br class="gmail_msg">
                    </div>
                    <span class="m_322729499030084489gmail-HOEnZb gmail_msg"><font color="#888888" class="gmail_msg">
                        <div class="gmail_msg"><br class="gmail_msg">
                        </div>
                        <div class="gmail_msg"><br class="gmail_msg">
                        </div>
                      </font></span></div>
                </div>
              </div>
            </blockquote>
          </div>
          <br class="gmail_msg">
        </div>
        <div class="gmail_extra gmail_msg">Possibly the default changed at some
          point in time, so that now it saves memory and so this implies
          pause of VM</div>
      </div>
    </blockquote></div><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg">
    Saving memory is essential in some apàplications like DB, so you
    won&#39;t bypass vm pauses for such a stuff</div></blockquote><div><br></div><div>In a database, you actually want to ensure all transactions are complete for an application-complete snapshot. I don&#39;t think memory is needed.</div><div>Y.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg"><br class="gmail_msg">
    <blockquote type="cite" class="gmail_msg">
      <div dir="ltr" class="gmail_msg">
        <div class="gmail_extra gmail_msg">In the mean time I verified changing
          backup.py this way solves the problem (the 3.6 api deprecation
          still in place... ;-):</div>
        <div class="gmail_extra gmail_msg"><br class="gmail_msg">
        </div>
        <div class="gmail_extra gmail_msg">
          <div class="gmail_extra gmail_msg">$ diff backup.py backup.py.orig </div>
          <div class="gmail_extra gmail_msg">123c123</div>
          <div class="gmail_extra gmail_msg">&lt;                    
vm.snapshots.add(params.Snapshot(description=config.get_snapshot_description(),
            vm=vm,persist_memorystate=False))</div>
          <div class="gmail_extra gmail_msg">---</div>
          <div class="gmail_extra gmail_msg">&gt;                    
vm.snapshots.add(params.Snapshot(description=config.get_snapshot_description(),
            vm=vm))</div>
          <div class="gmail_extra gmail_msg"><br class="gmail_msg">
          </div>
          <div class="gmail_extra gmail_msg">The snapshot doesn&#39;t include memory
            and no problem at VM OS side now</div>
          <div class="gmail_extra gmail_msg"><br class="gmail_msg">
          </div>
          <div class="gmail_extra gmail_msg">Tested also getting the parameter
            from config file</div>
          <div class="gmail_extra gmail_msg"><br class="gmail_msg">
          </div>
          <div class="gmail_extra gmail_msg">Modifications needed in this case:</div>
          <div class="gmail_extra gmail_msg"><br class="gmail_msg">
          </div>
          <div class="gmail_extra gmail_msg">1)</div>
          <div class="gmail_extra gmail_msg">$ diff backup.py backup.py.orig <br class="gmail_msg">
          </div>
          <div class="gmail_extra gmail_msg">
            <div class="gmail_extra gmail_msg">123c123</div>
            <div class="gmail_extra gmail_msg">&lt;                    
vm.snapshots.add(params.Snapshot(description=config.get_snapshot_description(),
vm=vm,persist_memorystate=config.get_persist_memorystate()))</div>
            <div class="gmail_extra gmail_msg">---</div>
            <div class="gmail_extra gmail_msg">&gt;                    
vm.snapshots.add(params.Snapshot(description=config.get_snapshot_description(),
              vm=vm))</div>
            <div class="gmail_msg"><br class="gmail_msg">
            </div>
            <div class="gmail_msg"><br class="gmail_msg">
            </div>
            <div class="gmail_msg">2)</div>
            <div class="gmail_msg">
              <div class="gmail_msg">$ diff config.py config.py.orig </div>
              <div class="gmail_msg">34d33</div>
              <div class="gmail_msg">&lt;             self.__persist_memorystate =
                config_parser.getboolean(section, &quot;persist_memorystate&quot;)</div>
              <div class="gmail_msg">113,116d111</div>
              <div class="gmail_msg">&lt; </div>
              <div class="gmail_msg">&lt; </div>
              <div class="gmail_msg">&lt;     def get_persist_memorystate(self):</div>
              <div class="gmail_msg">&lt;         return self.__persist_memorystate</div>
            </div>
            <div class="gmail_msg"><br class="gmail_msg">
            </div>
            <div class="gmail_msg"><br class="gmail_msg">
            </div>
            <div class="gmail_msg">And in config file called add:</div>
            <div class="gmail_msg"><br class="gmail_msg">
            </div>
          </div>
          <div class="gmail_msg">
            <div class="gmail_msg"># Save Memory in snapshot</div>
            <div class="gmail_msg">persist_memorystate=False</div>
          </div>
          <div class="gmail_msg"><br class="gmail_msg">
          </div>
          <div class="gmail_msg">It could be further improved if one wants to
            differentiate save memory for some VMs and not for other
            ones....</div>
          <div class="gmail_msg"><br class="gmail_msg">
          </div>
          <div class="gmail_msg">HIH other ones,</div>
          <div class="gmail_msg">Gianluca</div>
        </div>
      </div>
    </blockquote>
    <br class="gmail_msg">
    </div><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg"><pre class="m_322729499030084489moz-signature gmail_msg" cols="72">-- 
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5         
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
<a class="m_322729499030084489moz-txt-link-abbreviated gmail_msg" href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a> </pre>
  </div><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg"></div>

_______________________________________________<br class="gmail_msg">
Users mailing list<br class="gmail_msg">
<a href="mailto:Users@ovirt.org" class="gmail_msg" target="_blank">Users@ovirt.org</a><br class="gmail_msg">
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br class="gmail_msg">
</blockquote></div></div>