]> 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 16:57:33 +0000 (12:57 -0400)
commitdca3c8323cf8cf12aa8ce4ba21f647ce631e8153
tree1ea12c8b3db37915daf3354f100794b68e845e9c
parent4ee48a69b8f2398e9eb7ae9b9ab9d9320a647638
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
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