c7d8e8103322d609c4f1488a80c9ed6dca605c68
Commit Graph

975 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Goutham Pacha Ravi
c7d8e81033 Temporarily pin to Ceph Reef
There's a bug in Ceph Squid that prevents
access rules from working as expected with
the Ceph Native driver
Change-Id: I11a3c8f573e5540840a23459d698197a9c3a8f4c
Related-Bug: #2105833
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2025年04月01日 12:33:29 -07:00
Zuul
65ca50c796 Merge "Disable Ingress" 2025年03月27日 19:52:23 +00:00
ashrod98
bad5272a33 Disable Ingress
Disables ingress in multinode-cephfs-nfs-cephadm job
pending nfs-ganesha bug fix for haproxy issues.
Depends-On: I425bb9eec525d82372f05edc63e4fb931e5a4887
Depends-On: I5f03698ed09ff906488711d5d5a6feb74146b6ca
Change-Id: I3dbab947bcf5a1df39ee16e308096b3ef75b6d51
2025年03月26日 17:37:54 +00:00
lkuchlan
58903bdd47 Ensure Manila shares are created on the same backend host
This update ensures that Manila shares are consistently created
on the same backend host. This change addresses cases where CephX
user IDs are reused within a Ceph cluster across different OpenStack
projects, ensuring that access conflicts are accurately tested.
Change-Id: Ied7d75fc3e26c1963744df6e9e5af6ae0e605158
2.7.0
2025年02月16日 09:59:15 +02:00
Yaguang Tang
b616cb811c skip tests for stable branches which don't support API 2.88
Related-Bug: #2066871
Change-Id: I31a4148adaecc019f4f0df068dda88d2f4558efd
2025年02月06日 01:18:07 +00:00
Zuul
a2a770ec88 Merge "Refactor CIFS protocol test skipping with decorators" 2025年01月21日 18:20:03 +00:00
Zuul
b2765e01e4 Merge "Add tests for allow to update share access rule" 2025年01月16日 15:16:02 +00:00
hongp
5f585fb639 Update for using endpoint_type to create client
To create client using endpoint_type conf value.
Related-bug: #2092514
Change-Id: I57598f07dc9fd55b00f043f564414f222b8765d9
2025年01月10日 13:49:57 +09:00
Kiran Pawar
7ff4509dbd Add tests for allow to update share access rule
Starting micro-version 2.88, Manila will allow to update
access_level of share access rule.
Depends-on: https://review.opendev.org/c/openstack/manila/+/931050
Related-Bug: #2066871
Change-Id: I8500f71b527b4e5037f128906f68385f821ebf42
2025年01月07日 12:44:08 +00:00
lkuchlan
3e1cfd2000 Refactor CIFS protocol test skipping with decorators
Refactor test skipping logic to use decorators instead
of manually raising skipException within the test.
Change-Id: Ida2a6ae63e0e65dbea92e828d1537116efadb7b4
2025年01月02日 15:35:27 +02:00
Zuul
9c743992f8 Merge "IPV4 with Multinode Ceph-NFS Job" 2024年12月19日 16:10:25 +00:00
Zuul
1e8acf1170 Merge "[RBAC] Generate unique cephx IDs for each operation in tests" 2024年12月13日 01:08:11 +00:00
ashrod98
10945e5466 IPV4 with Multinode Ceph-NFS Job
Changing VIP from IPV6 to IPV4
Partial-Bug: 2082617
Change-Id: I112b4682b36fd8bfe9b0b2325578bedc1cd20dee
2024年12月11日 15:17:57 +00:00
lkuchlan
bebefa776d Fix floating IP association by filtering port list using IP address
The recent change in Tempest introduced a step to ensure all VM ports are active before associating a floating IP.
This caused issues in the manila-tempest-plugin scenario tests, where the correct port couldn't be identified for floating IP association.
This patch fixes the issue by filtering the port list using the IP address of the fixed IP to narrow down the result to the specific port associated with the given address.
Depends-On: https://review.opendev.org/c/openstack/tempest/+/937406
Related-Bug: #2089798
Change-Id: I74ac4eafa41f0d6355716e7fe26d09b7dfcbc982
2024年12月09日 20:45:39 +00:00
Zuul
ee3079db74 Merge "Add nfs_versions option for NFS protocol version selection" 2024年12月04日 19:35:50 +00:00
Zuul
f7cd050ada Merge "Update gate jobs as per the 2025.1 cycle testing runtime" 2024年12月04日 11:31:47 +00:00
lkuchlan
639bdc6bdd [RBAC] Generate unique cephx IDs for each operation in tests
The current tests encounter issues due to the reuse of the same
cephx ID for multiple operations. This can lead to conflicts and
test failures.
This patch resolves the issue by ensuring that each operation
generates and uses a unique cephx ID, preventing conflicts and
improving test reliability.
Closes-Bug: #2071433
Change-Id: I837907e3472acc4580727b05c47c70c2e0767e93
2024年12月01日 12:12:00 +02:00
Zuul
774696b7d6 Merge "Remove share server migration with replica test" 2024年11月27日 16:19:41 +00:00
lkuchlan
b5d6f2997f Add nfs_versions option for NFS protocol version selection
This commit introduces a new configuration option, `nfs_versions`,
to allow specifying the NFS protocol version used when mounting NFS
shares in Tempest tests. The option supports selecting specific
versions, such as NFSv3 or NFSv4, enabling compatibility with
environments where certain NFS versions are required.
- Option Name: `nfs_versions`
- Default: ["4", ] (NFSv4 is used by default)
This enhancement increases flexibility in testing scenarios with
NFS version dependencies.
Change-Id: I048d4e954329d2d4f28604a8bf02c615703ac43c
2024年11月25日 22:18:02 +02:00
Kiran Pawar
55c075de68 Remove share server migration with replica test
- Remove negative test temporary until share server
migration manila change gets merged.
Change-Id: I6e51f3f34f7304349496950d07704746610fb127
2024年11月22日 11:43:59 +00:00
Zuul
c6e73efe7f Merge "Bump hacking" 2024年11月19日 19:05:35 +00:00
Takashi Kajinami
6304dcd4af Bump hacking
hacking 3.0.x is too old. Bump it to the version currently used in
tempest repo.
Depends-on: https://review.opendev.org/c/openstack/tempest/+/906634
Change-Id: I9cd68111a35ca97af014cdd77fee10614a4c0d5b
2024年11月16日 15:45:58 +09:00
Zuul
ad88cea4cb Merge "Fix last use of assertDictContainsSubset" 2024年11月14日 20:37:42 +00:00
Ghanshyam Mann
32da8e27c7 Update gate jobs as per the 2025.1 cycle testing runtime
As per 2025.1 testing runtime[1], we need to test on Ubuntu
Noble (which will be taken care by depends-on tempest and devstack
patches to move base jobs to Noble) and at least single job to run on
Ubuntu Jammy (for smooth upgrade from previous releases).
This commit adds a new job to run on Jammy which can be removed
in future cycle when testing runtime test next version of Ubuntu
as default.
Depends-On: https://review.opendev.org/c/openstack/tempest/+/932156
[1] https://governance.openstack.org/tc/reference/runtimes/2025.1.html
Change-Id: Id7ddf6e39ae8c0de72b2d48d6beed718fcd760ce
2024年11月14日 19:30:06 +00:00
Zuul
d4e86c31c7 Merge "Add manila.conf parameters for NetApp Active IQ weigher" 2024年11月11日 18:15:51 +00:00
Goutham Pacha Ravi
f4b5557058 Fix last use of assertDictContainsSubset
The method was deprecated in Python 3.2 [1]; and
no longer available in Python version 3.12 [2]
assertLessEqual [3] offers a decent alternative.
Much of this work was done in
I74276297d80cbd055a9347b0d595fe7c2d7742cc. One
last occurrence remained.
[1] https://docs.python.org/3/whatsnew/3.2.html#unittest
[2] https://docs.python.org/3/whatsnew/3.12.html#id3
[3] https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertLessEqual
Change-Id: I2f32f9815196a4d627ce22b382cdcb1f49027a52
Closes-Bug: #2085467
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2024年11月07日 12:21:00 -08:00
Ghanshyam Mann
91a6171830 Remove stable/2023.1 job from master gate
stable/2023.1 is planned to be in unmaintained state[1]
and with python 3.8 drop from Tempest[2], we have to pin the
Tempest for stable/2023.1 testing[3]. This means Tempest and
its plugin master does not need to support stable/2023.1.
With that we can remove the stable/2023.1 jobs from tempest
plugin master jobs.
[1] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/message/UDQAC7SR5JAQJE5WBAG54A2MTBVBTJ44/
[2] https://review.opendev.org/c/openstack/tempest/+/933398
[3] https://review.opendev.org/c/openstack/devstack/+/933704
Change-Id: I906357495c50173c578cb54dc60fb4bc98620a4b
2024年11月07日 17:49:36 +00:00
Zuul
31df75e18b Merge "Support py3.12 and drop py3.8" 2024年10月29日 15:19:59 +00:00
Zuul
ab9fd68786 Merge "Replace the use of assertDictContainsSubset" 2.6.0 2023.1-last 2024年10月29日 11:28:36 +00:00
Ghanshyam Mann
e33b5e9535 Support py3.12 and drop py3.8
As per the current release tested runtime, we test
from python 3.9 till python 3.12 so updating the same
in python classifier in setup.cfg
Also, dropping the python3.8 support
- https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/FOWV4UQZTH4DPDA67QDEROAESYU5Z3LE/
Change-Id: Ia27257e0ab90979c59c479c2ddf946e926c1aed3
2024年10月27日 02:59:50 +09:00
Zuul
1a3372d25c Merge "Hide [share] image_password from log" 2024年10月25日 21:15:50 +00:00
Zuul
2add1dea45 Merge "Fix inconsistent default value type" 2024年10月25日 21:15:49 +00:00
Zuul
57f1ec3f5c Merge "Remove support for Pyton 3.6 and 3.7" 2024年10月25日 21:15:47 +00:00
Takashi Kajinami
e039077ef6 Hide [share] image_password from log
Fix the missing secret attribute to hide the sensitive credential in
logs.
Trivial-Fix
Change-Id: Ieec26d31791e07f400fc8d5ef3e47704891e46e0
2024年10月25日 14:14:55 +09:00
Takashi Kajinami
f72b0e9a3e Fix inconsistent default value type
The share_server_migration_timeout option is an integer option so its
default value should be an integer.
Change-Id: I20a3e8cc8d6b7197d130b5c300f86f5bae2d50db
2024年10月25日 14:12:56 +09:00
Zuul
6c73a4f4d0 Merge "Drop GlusterFS jobs" 2024年10月24日 22:38:53 +00:00
Zuul
617db2cc19 Merge "Skip functional tests on pre-commit config update" 2024年10月24日 22:07:45 +00:00
Takashi Kajinami
34aecbf121 Remove support for Pyton 3.6 and 3.7
Tempest and its plugins are branchless and need to support all active
stable branches. However none of the maintained branches currently
support these old python versions.
Also add a few new versions currently tested.
Change-Id: I91baa08f496cb62df95381cc66274e0c2a9cdefb
2024年10月24日 20:56:43 +09:00
Takashi Kajinami
ba61128705 Drop GlusterFS jobs
These jobs were removed from manila[1], because the drivers were
deprecated.
The job definitions are still kept to be used in stable branches.
[1] a50f699d449ac286c9ea4a9617abf8fc60845f2e
Change-Id: I5a1126f1c0a9c0f0d83569b5c4de37e1ecdbfca4
2024年10月24日 06:30:21 +00:00
Takashi Kajinami
78bd6b8164 Skip functional tests on pre-commit config update
This file is used only in code style checks.
Change-Id: Iabd59b683ac998a784eccc7fbc634ad1eb20e889
2024年10月24日 10:53:21 +09:00
Goutham Pacha Ravi
c1f3f37990 Replace the use of assertDictContainsSubset
The method was deprecated in Python 3.2 [1]; and
no longer available in Python version 3.12 [2]
assertLessEqual [3] offers a decent alternative.
[1] https://docs.python.org/3/whatsnew/3.2.html#unittest
[2] https://docs.python.org/3/whatsnew/3.12.html#id3
[3] https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertLessEqual
Change-Id: I74276297d80cbd055a9347b0d595fe7c2d7742cc
Closes-Bug: #2085467
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2024年10月23日 13:16:16 -07:00
Zuul
1cf281f987 Merge "Drop unnecessary 'x' bit from doc config file" 2024年10月21日 12:53:34 +00:00
Takashi Kajinami
331beaeaf7 Drop unnecessary 'x' bit from doc config file
This file is not actually executable.
Trivial-Fix
Change-Id: I53115e43b1b7a91bc7770dcc56430984dc219d2a
2024年10月21日 20:24:13 +09:00
Goutham Pacha Ravi
986a0d7ba3 Fix test failures with api version 2.87+
export location structure has changed in 2.87.
New test cases are being added in
I113ea3095cdc9d5d2903ba83641afd3ee112c17d.
Change-Id: Ieb8dfc8813a3366b4252b6816397632ffb6a20bf
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2024年10月08日 20:03:59 +00:00
Takashi Kajinami
b1f749a046 Add stable/2024.2 job
stable/2024.2 was released, so should be tested now.
Also replace codenames by official release names.
Change-Id: Ib861e1a707109daecb2cdd189de40da24bb829cb
2024年10月07日 15:55:53 +00:00
Zuul
960f9f6e2c Merge "Disable Ceph for Nova in cephfs-nfs multinode job" 2.5.0 2024年09月17日 09:25:48 +00:00
Zuul
0422259e31 Merge "Fix lack of share type id in share creation" 2024年09月17日 08:24:52 +00:00
ashrod98
0f6b522e74 Fix cephfs-nfs job
Now that manila-tempest-plugin-cephfs-nfs is a cephadm
based job, and it is using Reef, we must add
CEPH_INGRESS_IP to job declaration.
Change-Id: Ib4a4479d5214f6c3a01ca1bd6301e44658bfec50
2024年09月16日 20:17:07 +00:00
Goutham Pacha Ravi
94d5164e55 Disable Ceph for Nova in cephfs-nfs multinode job
The ENABLE_CEPH_NOVA variable needs to be set
to False in the compute node because its disabled
in the controller.
Depends-On: I5f75cb829383d7acd536e24c70cc4418d93c13bc
Change-Id: I5c73ef42d8f01560ea85bffc2283ffaee001f48f
2024年09月05日 09:40:06 -07:00
Carlos Eduardo
11618100f1 Add waiter to access create on resource setup
This commit is a follow-up action for [1], where we added a
couple of waiters to ensure that the access rule status will
be what we expect prior to running the tests.
[1] https://review.opendev.org/c/openstack/manila-tempest-plugin/+/886635
Change-Id: I3458a7d2a1d05e295733c7a9a5ae302b1b76e144
2024年09月02日 14:01:30 +00:00