<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 25, 2017 at 12:51 PM, Nathanaël Blanchet <span dir="ltr">&lt;<a href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a>&gt;</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 bgcolor="#FFFFFF"><span class="gmail-">
    <p><br>
    </p>
    <br>
    <div class="gmail-m_8987999852102176717moz-cite-prefix">Le 25/09/2017 à 11:27, Yaniv Kaul a
      écrit :<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Mon, Sep 25, 2017 at 11:02 AM,
            Nathanaël Blanchet <span dir="ltr">&lt;<a href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a>&gt;</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 bgcolor="#FFFFFF"><span class="gmail-m_8987999852102176717gmail-">
                  <p><br>
                  </p>
                  <br>
                  <div class="gmail-m_8987999852102176717gmail-m_6176317096150595339moz-cite-prefix">Le
                    24/09/2017 à 11:11, Yaniv Kaul a écrit :<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="auto">
                      <div><br>
                        <div class="gmail_extra"><br>
                          <div class="gmail_quote">On Sep 21, 2017 7:09
                            PM, &quot;Nathanaël Blanchet&quot; &lt;<a href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a>&gt;
                            wrote:<br type="attribution">
                            <blockquote class="gmail-m_8987999852102176717gmail-m_6176317096150595339quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                              <div bgcolor="#FFFFFF">
                                <p>Hi Bernardo,</p>
                                <p>Thanks, I knew this tool, but it is
                                  based on sdk3 which will be removed in
                                  the next version 4.2, so I&#39;m looking
                                  at sdk4 project. <br>
                                </p>
                              </div>
                            </blockquote>
                          </div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </span> So it has recently changed! There was a
                dedicated ticket in bugzilla about this and many
                warnings intended to users, but nothing to tell sdk3
                removal will be postponed...</div>
            </blockquote>
            <div><br>
            </div>
            <div>We decided to just let it stay, instead of forcing
              everyone to convert. <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote></span>
    Nice to hear such a new, community is the key, and ovirt devs seem
    to remember!<span class="gmail-"><br>
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>Note that none of the new features since 4.0 are
              supported in v3 API, it has far fewer examples,
              documentation or features for the SDKs themselves (see[1]
              for example).</div>
          </div>
        </div>
      </div>
    </blockquote></span>
    So does that mean v3 API will be kept far in the future? What about
    derivated tools like ovirt-shell?</div></blockquote><div><br></div><div>There is no promise, but we are not dropping it at the moment. As long it&#39;s there, old (3.6.x) ovirt-shell should continue to work. We do not maintain either though.</div><div>Ansible seems to be a great and powerful replacement to ovirt-shell. </div><div>Another recommendation I can give is ovirtcmd[1], though I have not tried it myself, I&#39;ve looked at the code and it looks good.</div><div><br></div><div>Y.</div><div><br></div><div>[1] <a href="https://github.com/fbacchella/ovirtcmd">https://github.com/fbacchella/ovirtcmd</a></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><div><div class="gmail-h5"><br>
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div><br>
            </div>
            <div>From personal experience, I believe it is also easier
              to develop with the new SDKs.</div>
            <div>Y.</div>
            <div><br>
            </div>
            <div>[1] <a href="https://ovirt.org/blog/2017/05/higher-performance-for-python-sdk/" target="_blank">https://ovirt.org/blog/<wbr>2017/05/higher-performance-<wbr>for-python-sdk/</a></div>
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF">
                <div>
                  <div class="gmail-m_8987999852102176717gmail-h5"><br>
                    <blockquote type="cite">
                      <div dir="auto">
                        <div dir="auto"><br>
                        </div>
                        <div dir="auto">SDKv3 will not be removed in
                          4.2.</div>
                        <div dir="auto"><br>
                        </div>
                        <div dir="auto">
                          <div class="gmail_extra">
                            <div class="gmail_quote">
                              <blockquote class="gmail-m_8987999852102176717gmail-m_6176317096150595339quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                <div bgcolor="#FFFFFF">
                                  <p> </p>
                                  <p>You may want to adapt it?<br>
                                  </p>
                                </div>
                              </blockquote>
                            </div>
                          </div>
                        </div>
                        <div dir="auto"><br>
                        </div>
                        <div dir="auto">Note that you can gradually move
                          to v4. You can mix v4 API with v3 API and
                          convert function by function. </div>
                        <div dir="auto">Y. </div>
                        <div dir="auto"><br>
                        </div>
                        <div dir="auto">
                          <div class="gmail_extra">
                            <div class="gmail_quote">
                              <blockquote class="gmail-m_8987999852102176717gmail-m_6176317096150595339quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                <div bgcolor="#FFFFFF">
                                  <p> </p>
                                  <div class="gmail-m_8987999852102176717gmail-m_6176317096150595339elided-text">
                                    <br>
                                    <div class="gmail-m_8987999852102176717gmail-m_6176317096150595339m_1249185257908678384moz-cite-prefix">Le
                                      21/09/2017 à 17:08, Bernardo
                                      Juanicó a écrit :<br>
                                    </div>
                                    <blockquote type="cite">
                                      <div dir="ltr">Hi Nathanael, 
                                        <div><br>
                                        </div>
                                        <div>You may want to take a look
                                          at this too:<br>
                                          <br>
                                          <a href="https://github.com/bjuanico/oVirtBackup" target="_blank">https://github.com/bjuanico/oV<wbr>irtBackup</a><br>
                                        </div>
                                        <div><br>
                                        </div>
                                        <div>Regards,</div>
                                        <div><br>
                                        </div>
                                        <div>Bernardo</div>
                                        <div class="gmail_extra"><br clear="all">
                                          <div>
                                            <div class="gmail-m_8987999852102176717gmail-m_6176317096150595339m_1249185257908678384m_-6967630627070421401gmail_signature">
                                              <div dir="ltr"><a href="http://pgp.mit.edu/pks/lookup?op=get&amp;search=0x695E5BCE34263F5B" target="_blank">PGP
                                                  Key</a><br>
                                                <div><a>Skype:
                                                    mattraken</a><br>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                          <br>
                                          <div class="gmail_quote">2017-09-21
                                            11:00 GMT-03:00 Nathanaël
                                            Blanchet <span dir="ltr">&lt;<a href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a>&gt;</span>:<br>
                                            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                              <div bgcolor="#FFFFFF">
                                                <p>Hello Victor,</p>
                                                <p>I have some questions
                                                  about your script<br>
                                                </p>
                                                <br>
                                                <div class="gmail-m_8987999852102176717gmail-m_6176317096150595339m_1249185257908678384m_-6967630627070421401m_7400844792036080505moz-cite-prefix">Le
                                                  07/07/2017 à 23:40,
                                                  Victor José Acosta
                                                  Domínguez a écrit :<br>
                                                </div>
                                                <blockquote type="cite">
                                                  <div dir="ltr">
                                                    <div>Hello everyone,
                                                      i created a python
                                                      tool to backup and
                                                      restore oVirt&#39;s
                                                      VMs.</div>
                                                    <div><br>
                                                    </div>
                                                    <div>Also i created
                                                      a little &quot;how to&quot;
                                                      on my blog:</div>
                                                    <div><a href="http://blog.infratic.com/2017/07/create-ovirtrhevs-vm-backup/" target="_blank">http://blog.infratic.com/2017/<wbr>07/create-ovirtrhevs-vm-backup<wbr>/</a></div>
                                                  </div>
                                                </blockquote>
                                                <ul>
                                                  <li>Backup step is
                                                    okay, and I get a
                                                    usable qcow2 image
                                                    of the snapshot vm
                                                    in the backup vm. It
                                                    seems to be
                                                    compliant with the
                                                    official backup API,
                                                    except on the step
                                                    2.</li>
                                                </ul>
                                                <ol>
                                                  <li><i>Take a snapshot
                                                      of the virtual
                                                      machine to be
                                                      backed up -
                                                      (existing oVirt
                                                      REST API
                                                      operation)</i></li>
                                                  <li><i>Back up the
                                                      virtual machine
                                                      configuration at
                                                      the time of the
                                                      snapshot (the disk
                                                      configuration can
                                                      be backed up as
                                                      well if needed) -
                                                      (added capability
                                                      to oVirt as part
                                                      of the Backup API)</i></li>
                                                </ol>
                                                <p><font color="#ff0000">I
                                                    can&#39;t see any vm
                                                    configuration
                                                    anywhere but only
                                                    the qcow2 disk
                                                    itself</font></p>
                                                <ol>
                                                  <li><i>Attach the disk
                                                      snapshots that
                                                      were created in
                                                      (1) to the virtual
                                                      appliance for data
                                                      backup - (added
                                                      capability to
                                                      oVirt as part of
                                                      the Backup API)</i></li>
                                                  <li> <i><br>
                                                    </i></li>
                                                  <li><i>Detach the disk
                                                      snapshots that
                                                      were attached in
                                                      (4) from the
                                                      virtual appliance
                                                      - (added
                                                      capability to
                                                      oVirt as part of
                                                      the Backup API)</i></li>
                                                </ol>
                                                <p>An other case is when
                                                  the vm to backup has
                                                  more than one disk.
                                                  After I tested it, I
                                                  found that only one
                                                  qcow2 disk is saved on
                                                  the backup vm. This is
                                                  really a matter when
                                                  the original vm has
                                                  many disks part of
                                                  lvm, it makes the vm
                                                  restoration unusable.<br>
                                                </p>
                                                <ul>
                                                  <li>About vm
                                                    restoration, it
                                                    seems that you are
                                                    using the
                                                    upload_disk api, so
                                                    the disk is uploaded
                                                    to the pre-defined
                                                    storage domain, so
                                                    it is not a real vm
                                                    restoration.    <br>
                                                  </li>
                                                </ul>
                                                <p>Do you plan to backup
                                                  and restore a full VM
                                                  (disks + vm
                                                  definition) in a next
                                                  release?<br>
                                                </p>
                                                <blockquote type="cite">
                                                  <div dir="ltr">
                                                    <div><br>
                                                    </div>
                                                    <div>I hope it help
                                                      someone else</div>
                                                    <div><br>
                                                    </div>
                                                    <div>Regards</div>
                                                    <div><br clear="all">
                                                      <div>
                                                        <div class="gmail-m_8987999852102176717gmail-m_6176317096150595339m_1249185257908678384m_-6967630627070421401m_7400844792036080505gmail_signature">
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr"><span>Victor
                                                          Acosta<br>
                                                          <br>
                                                          </span></div>
                                                          <div><span></span></div>
                                                          <div dir="ltr"><span></span><span><span><img src="https://docs.google.com/uc?id=0BxRkeOBHApwsV2Ywcl92YWlaQnc&amp;export=download" height="96" width="77"><img src="https://docs.google.com/uc?id=0BxRkeOBHApwsWDFFcGZ2X1czc1E&amp;export=download" height="96" width="76"><img src="https://docs.google.com/uc?id=0BxRkeOBHApwsMTVrSHp2Y0NEY28&amp;export=download" height="96" width="93"></span></span><br>
                                                          <img alt=""></div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                  <br>
                                                  <fieldset class="gmail-m_8987999852102176717gmail-m_6176317096150595339m_1249185257908678384m_-6967630627070421401m_7400844792036080505mimeAttachmentHeader"></fieldset>
                                                  <br>
                                                  <pre>______________________________<wbr>_________________
Users mailing list
<a class="gmail-m_8987999852102176717gmail-m_6176317096150595339m_1249185257908678384m_-6967630627070421401m_7400844792036080505moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a class="gmail-m_8987999852102176717gmail-m_6176317096150595339m_1249185257908678384m_-6967630627070421401m_7400844792036080505moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><span class="gmail-m_8987999852102176717gmail-m_6176317096150595339m_1249185257908678384m_-6967630627070421401HOEnZb"><font color="#888888">
</font></span></pre>
                                                  <span class="gmail-m_8987999852102176717gmail-m_6176317096150595339m_1249185257908678384m_-6967630627070421401HOEnZb"><font color="#888888"> </font></span></blockquote>
                                                <span class="gmail-m_8987999852102176717gmail-m_6176317096150595339m_1249185257908678384m_-6967630627070421401HOEnZb"><font color="#888888"> <br>
                                                    <pre class="gmail-m_8987999852102176717gmail-m_6176317096150595339m_1249185257908678384m_-6967630627070421401m_7400844792036080505moz-signature" cols="72">-- 
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
<a href="https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala&amp;entry=gmail&amp;source=g" target="_blank">227 avenue Professeur-Jean-Louis-Viala</a>
34193 MONTPELLIER CEDEX 5         
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
<a class="gmail-m_8987999852102176717gmail-m_6176317096150595339m_1249185257908678384m_-6967630627070421401m_7400844792036080505moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a> </pre>
                                                  </font></span></div>
                                              <br>
______________________________<wbr>_________________<br>
                                              Users mailing list<br>
                                              <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
                                              <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
                                              <br>
                                            </blockquote>
                                          </div>
                                          <br>
                                        </div>
                                      </div>
                                    </blockquote>
                                    <br>
                                    <pre class="gmail-m_8987999852102176717gmail-m_6176317096150595339m_1249185257908678384moz-signature" cols="72">-- 
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
<a href="https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala&amp;entry=gmail&amp;source=g" target="_blank">227 avenue Professeur-Jean-Louis-Viala</a>
34193 MONTPELLIER CEDEX 5         
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
<a class="gmail-m_8987999852102176717gmail-m_6176317096150595339m_1249185257908678384moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a> </pre>
                                  </div>
                                </div>
                                <br>
                                ______________________________<wbr>_________________<br>
                                Users mailing list<br>
                                <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
                                <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
                                <br>
                              </blockquote>
                            </div>
                            <br>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                    <br>
                    <pre class="gmail-m_8987999852102176717gmail-m_6176317096150595339moz-signature" cols="72">-- 
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
<a href="https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala&amp;entry=gmail&amp;source=g" target="_blank">227 avenue Professeur-Jean-Louis-Viala</a>
34193 MONTPELLIER CEDEX 5         
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
<a class="gmail-m_8987999852102176717gmail-m_6176317096150595339moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a> </pre>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="gmail-m_8987999852102176717moz-signature" cols="72">-- 
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
<a href="https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala&amp;entry=gmail&amp;source=g">227 avenue Professeur-Jean-Louis-Viala</a>
34193 MONTPELLIER CEDEX 5         
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
<a class="gmail-m_8987999852102176717moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a> </pre>
  </div></div></div>

</blockquote></div><br></div></div>