From f77540b440d3e5224eb1648339dc8c945f29bbe2 Mon Sep 17 00:00:00 2001 From: spisarski Date: Wed, 7 Mar 2018 13:01:37 -0700 Subject: 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 --- docs/how-to-use/IntegrationTests.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'docs/how-to-use/IntegrationTests.rst') diff --git a/docs/how-to-use/IntegrationTests.rst b/docs/how-to-use/IntegrationTests.rst index 43c5b5b..42f581e 100644 --- a/docs/how-to-use/IntegrationTests.rst +++ b/docs/how-to-use/IntegrationTests.rst @@ -442,6 +442,25 @@ create_volume_tests.py - CreateVolumeWithImageTests | | | volume when associating with a valid image | +----------------------------------------+---------------+-----------------------------------------------------------+ +create_volume_tests.py - CreateVolMultipleCredsTests +---------------------------------------------------- + ++----------------------------------------+---------------+-----------------------------------------------------------+ +| Test Name | Cinder API | Description | ++========================================+===============+===========================================================+ +| test_create_by_admin_to_other_proj | 2 & 3 | Tests to ensure the creation of a Volume as a user with | +| | | an 'admin' role can create a volume to another project | +| | | and a creator with the credentails to that project will | +| | | not create another with the same name | +| | | Currently inactive due to | +| | | https://bugs.launchpad.net/cinder/+bug/1641982 | ++----------------------------------------+---------------+-----------------------------------------------------------+ +| test_create_two_vol_same_name_diff_proj| 2 & 3 | Tests to ensure the creation of a Volume with the same | +| | | name by two different creators with different credentials | +| | | will create two different volumes with the same name | +| | | that are applied to each project in question | ++----------------------------------------+---------------+-----------------------------------------------------------+ + create_stack_tests.py - CreateStackSuccessTests ----------------------------------------------- -- cgit 1.2.3-korg