Bug 981317 - cinder: cannot create a volume-snapshot (NFS)
Summary: cinder: cannot create a volume-snapshot (NFS)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 4.0
Assignee: Eric Harney
QA Contact: Dafna Ron
URL:
Whiteboard: storage
Depends On: 975941
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-04 12:56 UTC by Dafna Ron
Modified: 2016-04-26 18:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Feature: NFS snapshot support Reason: Result (if any):
Clone Of:
Environment:
Last Closed: 2013-07-14 10:54:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log (11.41 KB, application/x-gzip)
2013-07-04 12:56 UTC, Dafna Ron
no flags Details

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.


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