]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
GlusterFS: extend volume to the right path
authorEinst Crazy <yu.changcai@99cloud.net>
Thu, 24 Sep 2015 16:24:18 +0000 (00:24 +0800)
committerEinst Crazy <yu.changcai@99cloud.net>
Mon, 28 Sep 2015 15:25:07 +0000 (23:25 +0800)
commitb3352993d6f28b73805d90442897255c87558db3
treea214ebd788f821eb119c0d7cfc18060897bc57c9
parent57d01641941fe210bc15e85d1e449023b578fa55
GlusterFS: extend volume to the right path

Extend volume uses the wrong volume file path. It should
extend the active volume file path.

And set _active_volume_path as a common function, that
also change delete_volume() and backup_volume().

Closes-Bug: 1499452

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