d4e86c31c78f0b7a10a8b78b2f86eafef9492ff2
950 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Nahim Alves de Souza
|
4246d0b9fe |
[RBAC] Tests for Share Instance Export Locations
The tests validate policy of share instance export locations actions for admin, member and reader users in a project scope. Co-Authored-By: Renan Vitor <renanpiranguinho@gmail.com> Change-Id: I5996a1fb5365e80acc3d1cb5418a62fd60eae4b2 |
||
|
Goutham Pacha Ravi
|
7afdada46d |
[CI] Fix cephfs-nfs job by running on centos-stream-9
Package based installation of ceph via devstack-plugin-ceph is deprecated. Recently, we broke support for Ubuntu 20.04 LTS (Focal Fossa) [1] because we're trying to advance all OpenStack CI jobs to Ubuntu 22.04/Jammy Jellyfish or Centos Stream 9. The community's plan is to retire package based installation of ceph on devstack during the 2023.2/Bobcat release cycle, and move all efforts onto "cephadm" [2]. With CephFS/NFS, cephadm deployment works, but seems to require more CI resources than a single test node can afford. So, we're working in parallel to create a multi-node job [3][4] to ensure more stable testing without foregoing coverage. As a temporary workaround, we can run the ceph-nfs job (which doesn't use cephadm) on centos-9 stream. Unfortunately, ipv6 testing would have to be turned off because of LP bug #1998489. We'll remedy this separately. [1] https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/865315 [2] https://docs.ceph.com/en/quincy/cephadm/index.html [3] https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/876747 [4] https://review.opendev.org/c/openstack/manila/+/869235 Change-Id: I6abf7a8eb275c5b29cfe29b3a0f54de76c5bb1e8 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Goutham Pacha Ravi
|
797aeb1303 |
[CI] Run cephfs-native-cephadm job on Jammy Jellyfish
We are trying to drop testing the trunk branch (2023.2) on Focal Fossa. Change-Id: I66ac85b735566f8f7dd75234eb8e0be7773fee3a Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Goutham Pacha Ravi
|
82b1e6f64b |
[CI] Reduce mysql memory in all test jobs
Change-Id: If7bca173830d8d0912873d073d64c6251714817f Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Zuul
|
ad0db6359c | Merge "[CI] Add cephadm based native cephfs test job" | ||
|
Victoria Martinez de la Cruz
|
60626d51e9 |
[CI] Add cephadm based native cephfs test job
Add a new job for testing manila's Native CephFS driver with a cephadm deployed Ceph cluster. This job inherits from the existing "base" job and overrides the ceph deployment strategy to use cephadm. With this commit, we will use this new cephadm based job instead of the package based deployment to test this repository. As with the existing job, this new job is non-voting as well. If the job's stable for a period of time, we can decide to promote it to being "voting". Once all CI consumers adopt the new cephadm job, we'll rewrite the "base" job definition to only care about cephadm based deployment. Change-Id: I6e4db6b89f89d2374580827e2334635dc5ead5b9 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Goutham Pacha Ravi
|
3d6c65f7e8 |
Fix incorrect extend syntax
A syntax issue introduced in I9d2bba8d87643abfc626346427e90569d9ed7a3e. Change-Id: I5d07e6f08ac2a8d49ae45888852746ab29453702 Partially-implements: bp/metadata-for-share-resources Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Goutham Pacha Ravi
|
6661800272 |
Fix failing subnet test on stable/2023.1 branch
We haven't added tests for share network subnet metadata yet, howver, if you set the max_microversion to the version supported by the server in stable/2023.1 (2.78), one of the tests fails since the API responds with the new "metadata" key. Change-Id: I9d2bba8d87643abfc626346427e90569d9ed7a3e Partially-implements: bp/metadata-for-share-resources Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Zuul
|
5380c955f3 | Merge "Correct share group tests cleanup order" | ||
|
silvacarloss
|
dab53f8e2b |
Correct share group tests cleanup order
Some share group tests were taking advantage of a bug in Manila. Share network subnets were being allowed to be deleted even when its share servers were tied to a share group. With that bug being fixed, we need to ensure that the share groups are deleted before the share network subnet alongside the share servers are. Related-Bug: #2004212 Change-Id: I05607883c34bca586c795c7efab1df8d0edd6cff |
||
|
Goutham Pacha Ravi
|
7669e94f4d |
[CI] Ceph/NFS: skip data-intensive tests with ipv6
We're running test_create_shrink_and_write and test_create_extend_and_write tests twice, changing only the client VM's IP address family. Not much value in running all of these since we're exhausting the disk space with these tests. We can choose to re-enable these tests when the situation changes with either the footprint of the tests or the form factor of the devstack node. Partial-Bug: #2009083 Change-Id: I868b2e40934e5d10eb0c5cc6fa867e6adc2cc9fc Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Raffaela Cunha
|
f59050e162 |
Change test manage share server with invalid id
Changes Tempest test according to Manila manager change 857960 to prevent a share server to be managed only if its identifier is a suffix of any existing identifier. Closes-bug: #1982429 Change-Id: I14df0c9c7326ac49274699dc0ef1adb99570784b |
||
|
lkuchlan
|
41d38ba53e |
Fix incorrect url request for share_group_reset_state
Use "/share-groups" for POST action instead of "/groups" Closes-Bug: #2002940 Change-Id: I0d22cca0607e9bdc4835137cc0bf587061af92bf1.13.0 |
||
|
Zuul
|
0f4e845830 | Merge "[RBAC] Generate unique arguments for access rule creation" | ||
|
lkuchlan
|
721c0e3a69 |
Use delete_resource helper method
This method deletes the resource and waits for the deletion to finish. Change-Id: Iacbf69545e2459526a594ce995511d11e320c066 |
||
|
lkuchlan
|
c586d4965e |
[RBAC] Generate unique arguments for access rule creation
It's prefered to use unique value for 'access_to' variable. It prevents granting the same value of 'access_to' to the same share which will lead to 400 execption. Change-Id: I99ed8136266541731df157b25566e73255bca3bd |
||
|
Zuul
|
07f29e172b | Merge "Revert "Use ddt.named_data decorator to avoid random test names"" | ||
|
Zuul
|
e37f0596e8 | Merge "[RBAC] Add share access rules tests" | ||
|
lkuchlan
|
72c3228a39 |
[RBAC] Add skip condition for share manage
In case a backend doesn't support this feature the tests will fail. Change-Id: I69fd7a3747986ce287c3a59cdc0f374fdd5b0099 |
||
|
Zuul
|
a93fc98451 | Merge "Prepare the stable/wallaby jobs with pinned manila-tempest-plugin" | ||
|
Zuul
|
6783ad72e9 | Merge "[RBAC] Add quota tests" | ||
|
Zuul
|
cec2e19991 | Merge "[RBAC] Add share manage/unmanage tests" | ||
|
Carlos Eduardo
|
add7740f9b |
Revert "Use ddt.named_data decorator to avoid random test names"
This reverts commit
|
||
|
Ghanshyam Mann
|
667bcbe7a4 |
Prepare the stable/wallaby jobs with pinned manila-tempest-plugin
As stable/wallaby is in EM phase, and currently broken with the Tempest master. We are pinning tempest there (depends-on). We are using the tempest 29.0.0 on stable/wallaby (depends-on) and compatible tag for tempest 29.0.0 is manila-tempest-plugin 1.8.0 (for ddt version compatible with stable/wallaby constraints and tempest version) - https://github.com/openstack/manila-tempest-plugin/blob/1.8.0/requirements.txt - https://github.com/openstack/requirements/blob/stable/wallaby/upper-constraints.txt#L80 Otherwise it fail for ddt incompatible version - https://zuul.opendev.org/t/openstack/build/4dad3a22fe5d485a96722cb6d68da63d Preparing the new set of jobs with manila-tempest-plugin pin to 1.8.0 which will be used to test the stable/wallaby. Needed-By: https://review.opendev.org/c/openstack/manila/+/871864 Depends-On: https://review.opendev.org/c/openstack/devstack/+/871782 Change-Id: Ibf8c885529098417e8ff9b417bf172218f8d684a |
||
|
kpdev
|
2521fbf86a |
Add tests replica create with 'share-network' option.
This patch update positive and negative tests using the share replica create API. For version >= 2.72. Partial-Bug: #1925486 Depends-On: I9049dcd418fbb16d663ab8ed27b90c765fafc5d3 Change-Id: I76175e33f506e35112ab9e86724caa3aea8f546d |
||
|
Goutham Pacha Ravi
|
54e31e8f5b |
Skip replication test if microversion is not supported
Without the skip, we break testing against old/stable branches. Change-Id: Ia679ab28d9fd9d79294e990c39cd4cd9631f1742 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Zuul
|
e4f923feb7 | Merge "[RBAC] Add Tests for list share services" | ||
|
Vida Haririan
|
85bc9c4c16 |
[RBAC] Add Tests for list share services
The tests validate policy of share services list action for admin, member and reader users in a project scope. Change-Id: Iafa8377368e7f37feb3ff756733bd5930fd1040d |
||
|
Zuul
|
21e0131149 | Merge "Ignore replicas in error state during allow/deny access." | ||
|
Kiran Pawar
|
e46e2a6e41 |
Ignore replicas in error state during allow/deny access.
Allow/deny access will be blocked only if share or its replica will be in invalid state i.e. transitional states. Error state will be ignored. Related-bug: #1965561 Change-Id: I180061a50fec8a9e76ef7ceb2787239ff82a2e12 Depends-on: Id23d04f8d18a0e30b511c4d501a1910f2f2b4ca6 |
||
|
Goutham Pacha Ravi
|
ad43e935bc |
Fix share network subnet cleanup
The resource cleanup initiated within 'create_share_network_subnet' is currently being ignored in the tests: WARNING [manila_tempest_tests.tests.api.base] Provided unsupported resource type for cleanup 'share-network-subnet'. Skipping. The resource name is a typographical error. Change-Id: If7359cb1ff8fab6fad194fc7efdb51a8ab3f8077 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Zuul
|
e42249631e | Merge "[RBAC] Making sure export locations are viewable" | ||
|
lkuchlan
|
4db10d48ac |
[RBAC] Add share type extra specs tests
The tests validate policy of share type extra specs actions for admin, member and reader users in a project scope. Change-Id: I26303d012cc2c75233cc01cd297f364d4cd0ce7c |
||
|
Zuul
|
6238ad6efc | Merge "Move general methods under utils file" | ||
|
Goutham Pacha Ravi
|
f47cefe169 |
Remove pypy from default envlist
TrivialFix Change-Id: I75b0d2c1a07a407e7bae4fdc14928adfc46156de |
||
|
Zuul
|
c142317fa2 | Merge "Move "get_access_rule_data_from_config" method under utils.py" | ||
|
silvacarloss
|
36623bf215 |
Fix tox4 erros
tox.ini started failing with Tox4 which had some incompatible changes. This change adresses the issues. Change-Id: Iacdc525b2411b4e256c4d8b742975d8043dd2825 |
||
|
Zuul
|
7189bd18b4 | Merge "[RBAC] remove 'project_member' credentias" wallaby-last 1.12.0 | ||
|
Zuul
|
a79fe0ea4d | Merge "[RBAC] Add availability zones tests" | ||
|
lkuchlan
|
5e2a5a1486 |
[RBAC] Making sure export locations are viewable
If the user has list operation privileges it does not necessarily mean that the exports are viewable. Change-Id: I45ffd85824df1551645f8d3d3a2ee402211f6b47 |
||
|
Zuul
|
908d6c9ef7 | Merge "[RBAC] Add share user message tests" | ||
|
lkuchlan
|
edc7ebb1d8 |
[RBAC] remove 'project_member' credentias
There is no need to use 'project_member 'credentials in reader class. Change-Id: I80e7e1ccef4ef3ef45e2a013610602e003deaf84 |
||
|
lkuchlan
|
162216cb77 |
[RBAC] Add share manage/unmanage tests
The tests validate policy of share manage/unmanage actions for admin, member and reader users in a project scope. Change-Id: Ia7ce057233374b494f0d078ccf9f6eb07ad8458a |
||
|
lkuchlan
|
3bd44e8be8 |
[RBAC] Add quota tests
The tests validate policy of quota actions for admin, member and reader users in a project scope. Change-Id: I40c45eb6b36688b83cc5803ec99d9a420701a624 |
||
|
lkuchlan
|
c99a66ea5a |
[RBAC] Add share access rules tests
The tests validate policy of access rule actions for admin, member and reader users in a project scope. Change-Id: I5d18760eb7f2df2c7364599e2022d9394e0b1f87 |
||
|
lkuchlan
|
4a80316fe7 |
Move "get_access_rule_data_from_config" method under utils.py
This method is based only on tempest configuration, so better to move it under utils.py method that other classes will benefit it without having to inherit from it. Change-Id: Ia0cf15210e697988cd54ae82db8bb76aa17a5996 |
||
|
lkuchlan
|
7b63ec7845 |
Move general methods under utils file
As a follow-up to the patch [1]. Better to move these methods under utils file so other classes can benefit from it. [1] Ia0cf15210e697988cd54ae82db8bb76aa17a5996 Change-Id: I31322352dcd7982443fa1f590a643b341c059ff0 |
||
|
Vida Haririan
|
937338e055 |
[RBAC] Add availability zones tests
Validate policy of availability zones actions for admin, member and reader users in a project scope. Change-Id: Iecc7b825913dfebe3b5a383bbe56ffc8665ae3eb |
||
|
Zuul
|
8dc1658881 | Merge "Fix incorrect url request for share group type extra specs" | ||
|
Zuul
|
77a001df4a | Merge "Fix argument name in "delete_share_group_type_spec"" |