Can not create volume snapshot when using NfsDriver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Undecided
|
Chuck Short | ||
Folsom |
Fix Released
|
Medium
|
Eric Harney |
Bug Description
Bug Description:
When I am using NfsDriver as my volume driver, I found that I can not create volume snapshot.
Bug Analysis:
I checked the NfsDriver and it doesn't contain the method for create_snapshot and create_
Solution Analysis:
At least, we should add three function: create_snapshot, create_
create_snapshot can handle snapshot creation, It can call parent's _copy_volume method to copy from a base image to snapshot. But the progress is slow, I'm not sure how to optimize it.
create_
delete_snapshot can handle delete volume from snapshot, just remove the target file.
Error Logs:
2013-01-08 09:44:21 2133 TRACE cinder.
2013-01-08 09:44:21 2133 TRACE cinder.
2013-01-08 09:44:21 2133 TRACE cinder.
2013-01-08 09:44:21 2133 TRACE cinder.
2013-01-08 09:44:21 2133 TRACE cinder.
tags: | added: driver |
tags: |
added: drivers removed: driver |
Changed in cinder: | |
status: | Incomplete → Invalid |
tags: | removed: in-stable-folsom |
Fix proposed to branch: master /review. openstack. org/22484
Review: https:/