Bug 1026202 - failed to create a backup with NFS volume driver
Summary: failed to create a backup with NFS volume driver
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 4.0
Hardware: x86_64
OS: Linux
medium
unspecified
Target Milestone: z1
: 5.0 (RHEL 7)
Assignee: Eric Harney
QA Contact: Yogev Rabl
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-04 07:59 UTC by Yogev Rabl
Modified: 2016-04-26 15:29 UTC (History)
6 users (show)

Fixed In Version: openstack-cinder-2014.1.2-1.el7ost
Doc Type: Enhancement
Doc Text:
With this enhancement, Block Storage backup support has been added to the NFS driver.
Clone Of:
Environment:
Last Closed: 2014-09-30 18:01:57 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1247743 0 None None None Never
OpenStack gerrit 70201 0 None None None Never
OpenStack gerrit 72036 0 None None None Never
Red Hat Product Errata RHBA-2014:1325 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Bug Fix and Enhancement Advisory 2014-09-30 22:01:16 UTC

Description Yogev Rabl 2013-11-04 07:59:59 UTC
Description of problem:
The action cinder backup-create fails when trying to backup a newly created volume. 

- The Cinder is using the cinder.volume.drivers.nfs.NfsDriver driver.
- All the other OS components are installed on 1 host and the cinder on a different host. 


Version-Release number of selected component (if applicable):
openstack-cinder-2013.2-1.el6ost.noarch


How reproducible:
evevrytime

Steps to Reproduce:
1. create a volume 
2. backup the volume
3.

Actual results:
the backup failed

Expected results:
the backup is available

Additional info:

2013-11-04 09:14:04.278 15089 ERROR cinder.openstack.common.rpc.amqp [req-2ae3d45e-40c6-4422-be59-1bba466f086c c7fdf6f628554d56aad363ad501ce412 add3de2deaa445c1a1e71c1721bc8976] Exception during message handling
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp Traceback (most recent call last):
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/amqp.py", line 441, in _process_data
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp     **args)
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/dispatcher.py", line 148, in dispatch
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/utils.py", line 808, in wrapper
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp     return func(self, *args, **kwargs)
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/backup/manager.py", line 270, in create_backup
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp     'fail_reason': unicode(err)})
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp     self.gen.next()
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/backup/manager.py", line 263, in create_backup
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp     backup_service)
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/nfs.py", line 352, in backup_volume
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp     raise NotImplementedError()
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp NotImplementedError
2013-11-04 09:14:04.278 15089 TRACE cinder.openstack.common.rpc.amqp

Comment 3 Yogev Rabl 2013-11-04 11:35:27 UTC
The command was: cinder backup-create <volume-id>

Comment 4 Eric Harney 2013-11-13 20:19:41 UTC
Backups are not supported for the NFS or GlusterFS volume drivers in 4.0.  (Hence NotImplementedError.)

Comment 6 Flavio Percoco 2014-03-17 11:01:10 UTC
This seems to be fixed upstream for both NFS and GlusterFS. Looks like ready to be packaged.

Comment 13 Yogev Rabl 2014-09-28 14:57:24 UTC
verified in version 
python-cinderclient-1.0.9-1.el7ost.noarch
python-cinder-2014.1.2-2.el7ost.noarch
openstack-cinder-2014.1.2-2.el7ost.noarch

Comment 15 errata-xmlrpc 2014-09-30 18:01:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1325.html


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