<div dir="ltr"><div>First  of all thanks for your help</div><div><br></div><div>This is a private cloud which is right now using gluster as backend.</div><div>Most of the images are private (i.e. usable only within the project), uploaded by the end-users.  </div><div>Most of these images were saved in qcow2 format ... </div><div><br></div><div><br></div><div>The ceph cluster is still being benchmarked. I am testing the integration between ceph and openstack (and studying the migration) on a small openstack testbed.</div><div><br></div><div> Having the glance service running during the migration is not strictly needed, i.e. we can plan a scheduled downtime of the service </div><div><br></div><div>Thanks again, Massimo</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-28 5:24 GMT+02:00 Fei Long Wang <span dir="ltr"><<a href="mailto:feilong@catalyst.net.nz" target="_blank">feilong@catalyst.net.nz</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Hi Massimo,</p>
    <p>Though I don't have experience on the migration, but as the
      glance RBD driver maintainer and image service maintainer of our
      public cloud (Catalyst Cloud based in NZ), I'm happy to provide
      some information. Before I talk more, would you mind sharing some
      information of your environment?</p>
    <p>1. Are you using CoW of Ceph?</p>
    <p>2. Are you using multi locations?  <br>
    </p>
    <pre>show_multiple_locations=True</pre>
    <p>3. Are you expecting to migrate all the images in a maintenance
      time window or you want to keep the glance service running for end
      user during the migration?</p>
    <p>4. Is it a public cloud?<br>
    </p><div><div class="h5">
    <p><br>
    </p>
    <div class="m_2459035156914114560moz-cite-prefix">On 25/03/17 04:55, Massimo Sgaravatto
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>Hi</div>
        <div><br>
        </div>
        <div>In our Mitaka cloud we are currently using Gluster as
          storage backend for Glance and Cinder.</div>
        <div>We are now starting the migration to ceph: the idea is then
          to dismiss gluster when we have done.</div>
        <div><br>
        </div>
        <div>I have a question concerning Glance. </div>
        <div><br>
        </div>
        <div>I have understood (or at least I hope so) how to add ceph
          as store backend for Glance so that new images will use ceph
          while the previously created ones on the file backend will be
          still usable.</div>
        <div><br>
        </div>
        <div>My question is how I can migrate the images from the file
          backend to ceph when I decide to dismiss the gluster based
          storage.</div>
        <div><br>
        </div>
        <div>The only documentation I found is this one:</div>
        <div><br>
        </div>
        <a href="https://dmsimard.com/2015/07/18/migrating-glance-images-to-a-different-backend/" target="_blank">https://dmsimard.com/2015/07/<wbr>18/migrating-glance-images-to-<wbr>a-different-backend/</a><br>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Could you please confirm that there aren't other better
          (simpler) approaches for such image migration ?</div>
        <div><br>
        </div>
        <div>Thanks, Massimo</div>
      </div>
      <br>
      <fieldset class="m_2459035156914114560mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><span class=""><pre>______________________________<wbr>_________________
OpenStack-operators mailing list
<a class="m_2459035156914114560moz-txt-link-abbreviated" href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.<wbr>openstack.org</a>
<a class="m_2459035156914114560moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-operators</a>
</pre>
    </span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre class="m_2459035156914114560moz-signature" cols="72">-- 
Cheers & Best regards,
Feilong Wang (王飞龙)
------------------------------<wbr>------------------------------<wbr>--------------
Senior Cloud Software Engineer
Tel: <a href="tel:+64%204-803%202246" value="+6448032246" target="_blank">+64-48032246</a>
Email: <a class="m_2459035156914114560moz-txt-link-abbreviated" href="mailto:flwang@catalyst.net.nz" target="_blank">flwang@catalyst.net.nz</a>
Catalyst IT Limited
Level 6, Catalyst House, 150 Willis Street, Wellington
------------------------------<wbr>------------------------------<wbr>-------------- </pre>
  </font></span></div>

<br>______________________________<wbr>_________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.<wbr>openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-operators</a><br>
<br></blockquote></div><br></div>