← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1346525] Re: Snapshots when using RBD backend make full copy then upload unnecessarily

 

This was fixed entirely in Nova and no longer requires work in glance-
store.

** Changed in: glance-store
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1346525

Title:
  Snapshots when using RBD backend make full copy then upload
  unnecessarily

Status in glance_store:
  Invalid
Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  When performing a snapshot a local copy is made. In the case of RBD,
  it reads what libvirt thinks is a raw block device and then converts
  that to a local raw file. The file is then uploaded to glance, which
  reads the whole raw file and stores it in the backend, if the backend
  is Ceph this is completely unnecessary and defeats the whole point of
  having a Ceph cluster. The fix should go something like this:

  1. Tell Ceph to make a snapshot of the RBD
  2. Get Ceph metadata from backend, send that to Glance
  3. Glance gets metadata, if it has Ceph backend no download is necessary
  4. If it doesn't, download image from Ceph location, store in backend

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance-store/+bug/1346525/+subscriptions


References