]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes cinder failed to create/restore a backup with NFS driver
authorJeff Applewhite <jeff.applewhite@netapp.com>
Thu, 30 Jan 2014 19:11:08 +0000 (14:11 -0500)
committerEric Harney <eharney@redhat.com>
Sat, 8 Feb 2014 00:36:15 +0000 (19:36 -0500)
commit10108f4d2e640a9fc12037ece39a833421d27149
treefb80796f90971c66d2e43831899d4fd83b652d80
parent468bb2f40e4f83305624b7b485698f1cb751b591
Fixes cinder failed to create/restore a backup with NFS driver

The action cinder backup-create fails when trying to backup a newly
created volume when using cinder.volume.drivers.nfs.NfsDriver. This
patch removes not implemented stubs for backup_volume and
restore_volume. The inherited methods in cinder/volume/driver.py
succeed in creating a backup and in restoring it. After manual
testing of this change backups/restores succeed without the not
implemented stubs. This change also adds the not implemented
stubs to the glusterfs driver until a fix is submitted.

Closes-Bug: #1247743

Change-Id: I5478d00442ce855c91a7f04c5ba2b40733d44902
cinder/volume/drivers/glusterfs.py
cinder/volume/drivers/nfs.py