diff options
author | spisarski <s.pisarski@cablelabs.com> | 2018-03-07 13:01:37 -0700 |
---|---|---|
committer | spisarski <s.pisarski@cablelabs.com> | 2018-03-08 14:02:05 -0700 |
commit | f77540b440d3e5224eb1648339dc8c945f29bbe2 (patch) | |
tree | 84856cebdfb36f9c758d43bb127d1b91b88cc7d6 /docs/how-to-use/IntegrationTests.rst | |
parent | e4563aec1eb8f98e5e42fe513918432eddadcd37 (diff) |
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>
Diffstat (limited to 'docs/how-to-use/IntegrationTests.rst')
-rw-r--r-- | docs/how-to-use/IntegrationTests.rst | 19 |
1 files changed, 19 insertions, 0 deletions
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 ----------------------------------------------- |