Hide Forgot
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
The command was: cinder backup-create <volume-id>
Backups are not supported for the NFS or GlusterFS volume drivers in 4.0. (Hence NotImplementedError.)
This seems to be fixed upstream for both NFS and GlusterFS. Looks like ready to be packaged.
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
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