Ensure the project for volumes are handled properly. 55/53255/4
authorspisarski <s.pisarski@cablelabs.com>
Wed, 7 Mar 2018 20:01:37 +0000 (13:01 -0700)
committerspisarski <s.pisarski@cablelabs.com>
Thu, 8 Mar 2018 21:02:05 +0000 (14:02 -0700)
commitf77540b440d3e5224eb1648339dc8c945f29bbe2
tree84856cebdfb36f9c758d43bb127d1b91b88cc7d6
parente4563aec1eb8f98e5e42fe513918432eddadcd37
Ensure the project for volumes are handled properly.

Although this patch has added the project_name member to
VolumeConfig, it does not work properly due to a cinder bug
https://bugs.launchpad.net/cinder/+bug/1641982. However, the
code will now allow for volumes with the same name to be
created on the same pod just as long as they do not exist
within the same project/tenant.

JIRA: SNAPS-270

Change-Id: Ia6f98e9b66793a69c0205d2d8e38bb3d03f3333e
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
12 files changed:
docs/how-to-use/IntegrationTests.rst
snaps/config/tests/volume_tests.py
snaps/config/volume.py
snaps/domain/test/volume_tests.py
snaps/domain/volume.py
snaps/openstack/create_instance.py
snaps/openstack/create_volume.py
snaps/openstack/tests/create_volume_tests.py
snaps/openstack/utils/cinder_utils.py
snaps/openstack/utils/tests/cinder_utils_tests.py
snaps/openstack/utils/tests/settings_utils_tests.py
snaps/test_suite_builder.py