Bug 981317

Summary: cinder: cannot create a volume-snapshot (NFS)
Product: Red Hat OpenStack Reporter: Dafna Ron <dron>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED NOTABUG QA Contact: Dafna Ron <dron>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ddomingo, eharney, jkt, scohen
Target Milestone: ---Keywords: FutureFeature
Target Release: 4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: NFS snapshot support Reason: Result (if any):
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-14 10:54:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 975941    
Bug Blocks:    
Attachments:
Description Flags
log none

Description Dafna Ron 2013-07-04 12:56:06 UTC
Created attachment 768791 [details]
log

Description of problem:

i am working on remove nfs mount for cinder and when I try to create a volume-snapshot volume-snapshot is in error: 

2013-07-04 15:39:46    ERROR [cinder.openstack.common.rpc.amqp] Exception during message handling
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/amqp.py", line 430, in _process_data
    rval = self.proxy.dispatch(ctxt, version, method, **args)
  File "/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/dispatcher.py", line 133, in dispatch
    return getattr(proxyobj, method)(ctxt, **kwargs)
  File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 474, in create_snapshot
    {'status': 'error'})
  File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
    self.gen.next()
  File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 465, in create_snapshot
    model_update = self.driver.create_snapshot(snapshot_ref)
  File "/usr/lib/python2.6/site-packages/cinder/volume/driver.py", line 120, in create_snapshot
    raise NotImplementedError()
NotImplementedError

Version-Release number of selected component (if applicable):

[root@opens-vdsb ~(keystone_admin)]# rpm -qa |grep cinder
openstack-cinder-2013.1.2-3.el6ost.noarch
python-cinderclient-1.0.4-1.el6ost.noarch
python-cinder-2013.1.2-3.el6ost.noarch

How reproducible:

100%

Steps to Reproduce:
1.configure nfs storage for cinder 
2. create a volume 
3. create a volume-snapshot

Actual results:

snapshot is created with Error

Expected results:

we should be able to create the snapshot

Additional info: logs

Comment 1 Eric Harney 2013-07-05 11:29:06 UTC
This is expected behavior at present time, as the NFS driver doesn't yet support volume snapshots.

Comment 2 Sean Cohen 2013-07-14 10:54:57 UTC
Closing as the NFS driver doesn't yet support volume snapshots at this stage.