Bug 1148194 - Snapshots when using RBD backend make full copy then upload unnecessarily
Summary: Snapshots when using RBD backend make full copy then upload unnecessarily
Keywords:
Status: CLOSED DUPLICATE of bug 1160405
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 5.0 (RHEL 7)
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: z4
: 5.0 (RHEL 7)
Assignee: Pádraig Brady
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On: 1148199
Blocks: rhelosp_ceph_integration
TreeView+ depends on / blocked
 
Reported: 2014-09-30 22:16 UTC by Josh Durgin
Modified: 2019-09-09 15:14 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-14 15:40:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1346525 0 None None None Never

Description Josh Durgin 2014-09-30 22:16:20 UTC
Description of problem:

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

Version-Release number of selected component (if applicable):
Affects Icehouse, Juno, and Havana

How reproducible:
Always

Comment 2 Pádraig Brady 2014-11-14 15:40:58 UTC

*** This bug has been marked as a duplicate of bug 1160405 ***


Note You need to log in before you can comment on or make changes to this bug.