]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Refuse invalid qcow2 backing files
authorEric Harney <eharney@redhat.com>
Tue, 9 Sep 2014 20:20:24 +0000 (16:20 -0400)
committerEric Harney <eharney@redhat.com>
Thu, 2 Oct 2014 17:04:14 +0000 (13:04 -0400)
commit608ecf565f99b9840095ecff424e396c4bae631a
tree881eed60679395eb3651a7c7b10c652ee02188f9
parentb3e68d7bb69acca9cb91584d5c1eaa631544469b
Refuse invalid qcow2 backing files

Don't allow qcow2 files that are pointing to backing files outside of:

volume-<id>
volume-<id>.<snap-id>
volume-<id>.tmp-snap-<snap-id>

(optionally prefixed with /mnt/path)

Closes-Bug: #1350504

Change-Id: Ic89cffc93940b7b119cfcde3362f304c9f2875df
(cherry picked from commit dca3c8323cf8cf12aa8ce4ba21f647ce631e8153)
cinder/tests/test_glusterfs.py
cinder/tests/test_smbfs.py
cinder/volume/drivers/glusterfs.py
cinder/volume/drivers/remotefs.py
cinder/volume/drivers/smbfs.py