RBDDriver does not support volume creation from snapshots

Bug #1032405 reported by Paul Collins
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Chuck Short
nova (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Won't Fix
Undecided
Unassigned

Bug Description

I've been doing a little work with Nova and Ceph. As part of this work I've been testing snapshots. I've discovered that RBDDriver does not implement create_volume_from_snapshot(). Attempts to create volumes from snapshots instead fall through to VolumeDriver's LVM-based implementation and then fail.

Attached is a patch against essex that implements this functionality. I have tested it lightly with a Ceph cluster running 0.48, the stable "argonaut" release. (Lightly = successfully created a volume from a snapshot, and then removed it.)

Revision history for this message
Paul Collins (pjdc) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "implement RBDDriver.create_volume_from_snapshot()" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nova (Ubuntu Precise):
status: New → Confirmed
Changed in nova (Ubuntu):
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/12192

Changed in nova:
assignee: nobody → Chuck Short (zulcss)
status: New → In Progress
Chuck Short (zulcss)
Changed in nova:
status: In Progress → Fix Committed
Changed in nova (Ubuntu):
status: Confirmed → Fix Committed
Changed in nova (Ubuntu Precise):
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → folsom-rc1
status: Fix Committed → Fix Released
Chuck Short (zulcss)
Changed in nova (Ubuntu):
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-rc1 → 2012.2
Revision history for this message
Steve Langasek (vorlon) wrote :

The Precise Pangolin has reached end of life, so this bug will not be fixed for that release

Changed in nova (Ubuntu Precise):
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.