]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
GlusterFS: Fix create/restore backup
authorEric Harney <eharney@redhat.com>
Fri, 7 Feb 2014 17:58:35 +0000 (12:58 -0500)
committerEric Harney <eharney@redhat.com>
Mon, 10 Feb 2014 16:19:25 +0000 (11:19 -0500)
commit41e3a94ae18a9219ff4ab10389f3a7799c9b6493
tree9063c6eeba7b84c777383b959f11e1b2170014a6
parent10108f4d2e640a9fc12037ece39a833421d27149
GlusterFS: Fix create/restore backup

Allow create_backup for GlusterFS volumes, but
only when snapshots do not exist.  (For now.)

Restore is a no-op for the driver, so allow it.

Related-Bug: 1247743
Closes-Bug: 1275977

Change-Id: I50b8f6cac684c967c7374bb43247a396ce936157
cinder/tests/test_glusterfs.py
cinder/volume/drivers/glusterfs.py