sync upstream - #8
Open
chuan137 wants to merge 238 commits into
Open
Conversation
chuan137
commented
Jul 16, 2026
Member
- Fix share network subnet cleanup
- Change test manage share server with invalid id
- Correct share group tests cleanup order
- Fix failing subnet test on stable/2023.1 branch
- Fix incorrect extend syntax
- [CI] Add cephadm based native cephfs test job
- [CI] Reduce mysql memory in all test jobs
- [CI] Run cephfs-native-cephadm job on Jammy Jellyfish
- [CI] Fix cephfs-nfs job by running on centos-stream-9
- [RBAC] Tests for Share Instance Export Locations
- [RBAC] Wait for access rules to be applied prior to deletion
- [RBAC] Add share group type tests
- [RBAC] Add share snapshot metadata tests
- Fixed multiple subnet negative tempest test
- Remove Glance v1 APIs tests code
- Cleanup py27 support
- [CI] Drop test config workaround in standalone jobs
- Test resource locks
- [CI] Disable glance RBAC enforcement in generic jobs
- Add manila.conf parameters for NetApp Active IQ weigher
- [RBAC] Add share groups tests
- Use Ubuntu Jammy and Temporarily disable scenario tests
- [CI] Conform to re2 regexes in branch config
- [CI] Add multinode job for cephfs/nfs with cephadm
- Stop skipping test on volume existence detection
- Stop using deprecated Nova APIs
- Add share transfer test.
- Re-enable IPv4 scenario tests in LVM driver job
- Optimize the dd command to improve performance
- Change the expected status response from Forbidden to NotFound
- Stop skipping cephfs snapshot cloning test
- Fixed Share server migration test related to CIFS.
- Ceph-native job change
- Remove unused babel.cfg
- [CI] Stable branch CI adjustments
- Remove unneeded randomness when calling ddt.data()
- Add share backup tests.
- Ensure metadata tests manipulate only its own metadata
- Use ddt.named_data decorator to avoid random test names
- Fix backup build erro exception class name
- Add access rules restriction tests
- [CI] CephFS-NFS standalone with ceph-orch deployed Ceph
- Bump test microversion and fix backup test
- Remove old excludes
- Add stable/2024.1 job on gate and remove zed job
- Fix racy DHSS=True share groups test
- Use devstack's OSCaaS in test jobs
- [CI] Fix cephfs-nfs job
- Fix lack of share type id in share creation
- Temporarily remove neutron dynamic routing
- Reduce test resource consumption cephfs-nfs
- additional configuration options for scenario tests
- Fix multinode-cpehfs-nfs-cephadm
- Enable API testing with standalone cephfs-nfs job
- Skip test_share_extend in CephFS jobs
- Add waiter to access create on resource setup
- Disable Ceph for Nova in cephfs-nfs multinode job
- Fix cephfs-nfs job
- Add stable/2024.2 job
- Fix test failures with api version 2.87+
- Drop unnecessary 'x' bit from doc config file
- Replace the use of assertDictContainsSubset
- Skip functional tests on pre-commit config update
- Drop GlusterFS jobs
- Remove support for Pyton 3.6 and 3.7
- Fix inconsistent default value type
- Hide [share] image_password from log
- Support py3.12 and drop py3.8
- Remove stable/2023.1 job from master gate
- Fix last use of assertDictContainsSubset
- Update gate jobs as per the 2025.1 cycle testing runtime
- Bump hacking
- Remove share server migration with replica test
- Add nfs_versions option for NFS protocol version selection
- Allow share server migration with replica
- [RBAC] Generate unique cephx IDs for each operation in tests
- Fix floating IP association by filtering port list using IP address
- IPV4 with Multinode Ceph-NFS Job
- Refactor CIFS protocol test skipping with decorators
- Drop empty documentation sections
- Add tests for allow to update share access rule
- Update for using endpoint_type to create client
- skip tests for stable branches which don't support API 2.88
- Ensure Manila shares are created on the same backend host
- Disable Ingress
- Temporarily pin to Ceph Reef
- Fix stop on cleanup error
- Stop testing the LVM driver with Jammy
- Add stable/2025.1 job
- Add CEPHFS filesystem metadata verifications
- Drop execute permissions on base module file
- Replication: verify access rules in detail
- tox: Drop envdir
- Remove stable/2023.2 job
- Add tests for Share Network Subnet Metadata
- Zuul: do not use USE_PYTHON3
- Remove unicode prefix from code
- fix tempest generic driver CI failure
- Drop explicit dependency on python-subunit
- Introduce fips-py311 job
- Fix share type used in negative quota test
- Remove remaining unicode prefix
- Add barbican to dummy driver job
- [CI] Accept Ceph release defaults
- Remove remaining job with Ubuntu Jammy (22.04)
- Fix share server migration with replica test
- Add stable/2025.2 job
- Remove Wallaby jobs
- Drop branch regex for retired branches
- Drop testing with PostgreSQL
- Move ZFS job to Noble
- Add tests for encryption_key_ref
- Drop python 3.9 and support python 3.13
- Update stable branch jobs
- Fix NetApp Manila Replication test TearDown Failures
- Stop attempting share type deletions that'd fail
- Refactor stable branch jobs
- Optimize NFS test_mount_share_one_vm execution
- Bump flake8-import-order version
- Migrate setup configuration to pyproject.toml
- Stop testing the V1 API
- Remove Manila V1 API client
- Use official service type
- Allow managing through instance IDs and enable manage tests
- Add required snapshot extra-specs in scenario tests
- [CI] Set snapshot cloning spec in CephFS jobs
- Adapt to new testtools
- Test share network privileged fields differently
- Add stable/2026.1 job
- Fix debug_ssh decorator to properly re-raise SSHTimeout
- Pass server context to RemoteClient for SSH debug info
- Wait for floating IP association before SSH in scenario tests
- Add share server subnet filter tempest tests
- Bump API testing version to 2.95 and fix replica tests
- Remove 2024.2 job
- Replace OVN Metadata agent with OVN agent
- Drop Python 3.10
- Replace deprecated openstackdocstheme options
- Graduate share migration feature
- Add replication_policy metadata tests for SnapMirror policies
- Use native devstack options to tune cinder quotas
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>
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
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
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>
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>
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>
Change-Id: If7bca173830d8d0912873d073d64c6251714817f Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
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>
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>
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
For some backends, the access rules might take some time to apply, and if we try to clean up the rule before it was applied, we would end up in a race condition. In order to avoid this issue, we can wait for the access rule to be active before proceeding to do other steps in the test. Change-Id: Ib57eda56fdbec398d4dc6e80e982ace5f14727bb
The tests validate policy of share group type actions for admin, member and reader users in a project scope. Change-Id: I759fe2b5048aea466cab9107cca68d70548bd347
The tests validate policy of share snapshot metadata actions for admin,member and reader users in a project scope. Change-Id: I4de5c256ef468419cabf0293e05c0855fa67e095
Changed skip_checks to verify if the flag run_share_server_multiple_subnet_tests is enabled. Changed the user that executes the command to retrieve the share networks. Closes-bug: #1966198 Change-Id: I93912f1683d5694a50a875c5dffbade958294e99
Glance v1 APIs were removed in Rocky and tempest master does not support the Rocky release. If glance v1 APIs needs to be tested for older release then older Tempest can be used. Tempest is removing the Glance v1 APIs tests, config option, and its service clients and this change is needed for that. Needed-By: https://review.opendev.org/c/openstack/tempest/+/890592 Change-Id: Ib7bbb274256a7e1d1e308adbd416d243ad7f8b54
This repo is now testing only with Python 3, so let's make a few cleanups: - Remove python 2.7 stanza from setup.py Change-Id: Idefdbf454ad18fbbd3c06c0eb864e143d8a419a7
devstack seems to honor local.conf's test-config properly now, and this workaround is no longer necessary. Change-Id: I4f52a9f2a7a2ca12083c47766615ec2e8fdd4a49 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
Add API tests for the resource locks APIs Change-Id: Idf71e236b1b8a2558bb4ad3de1018fa33b41877f Partially-implements: bp/allow-locking-shares-against-deletion Depends-On: I146bc09e4e8a39797e22458ff6860346e11e592e Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
We have a problem with glance's RBAC changes in the generic driver. Disable the enforcement temporarily while we explore a fix Related-Bug: #2031191 Change-Id: Ia9c9eb4542c576e3e4d94334e62649abf3cb6faf Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
As suggested in a manila meeting [1], would be good have the NetApp Active IQ weigher configured in the dummy jobs to make sure this new weigher will not break anything. The expected behavior is that the weigher is skipped, since are non-NetApp backends configured. For more information about this weigher check the Active IQ weigher spec [2]. This patch change the dummy-dhss and dummy-no-dhss jobs to test this scenario by adding the Active IQ necessary parameters in the manila.conf. Depends-On: I36b08066545afdaa37e053eee319bc9cd489efdc [1] https://meetings.opendev.org/meetings/manila/2023/manila.2023-08-10-15.00.log.html [2] https://specs.openstack.org/openstack/manila-specs/specs/bobcat/spec-lite-netapp-activeiq-weigher.html Change-Id: Ie79404e476ca5bb29c5bfb2f3235559969b8cb55
The tests validate policy of share groups actions for admin, member and reader users in a project scope. Change-Id: Iee0f739d9701b2efe9b275ea22859318b58a46be
The branch was transitioned to EOL. Change-Id: I5d0b72e5ea3066178f79e7527717cdd9f70d039b Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
... following the change in devstack[1]. [1] 6180e73702cfef2011c32f315cde97128a4b7eec Change-Id: I091b0fa631f1ba63e6c417a88b2539a9d04c03ac Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
Python 3.11 is the minimum runtime for 2026.2 (Hibiscus) and add Python 3.14. https://governance.openstack.org/tc/reference/runtimes/2026.2.html Change-Id: Ibfbbfb247cabd45193278539525cf32ec08a4088 Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
... to fix the failure in documentation build. Change-Id: I82460ce75cdd6873b8842224d51b706ffeb3d552 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
Remove experimental flag from share migration tests. Partially-implements: bp graduate-share-migration-feature Depends-On: Iaca76f4cd73c0373f26a56f9e9447f52e59a9c68 Change-Id: Icbff80bb1f34c5f3ea959fadd390a29b0b5fff25 Signed-off-by: medhac1403 <medhaj06@gmail.com>
Add tempest tests for the replication_policy replica metadata key introduced in microversion 2.95. Change-Id: Iaa0e33dde629d4321adc3317bb9fa4ffa1d4b853 Signed-off-by: medhac1403 <medhaj06@gmail.com>
This is the prep work to remove the explicit override from manila's devstack plugin, which conflict with the core devstack functionality to manage quota options. Change-Id: I66c4dabfb81fb6376de991653ab9ee04832c8e16 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
Due to operator precedence, ``additional_overflow_blocks or 5`` was evaluated as ``(total - three_quarter + additional) or 5`` instead of ``total - three_quarter + (additional or 5)``. With the default value of 0, the test wrote exactly to the share quota rather than past it, so backends like ZFS and CephFS that allow writes up to the limit never raised an error. Change-Id: Iac658ae1affaf94d8feee821b56a0002c0e78276 Closes-Bug: #2075981 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
kpawar-sap
previously approved these changes
Jul 16, 2026
crenduchinta88
previously approved these changes
Jul 16, 2026
BarbicanClientManager is inheriting from test.BaseTestCase. The BaseTestCase class in older python versions with testtools expects that the runTests method always exists in case no tests are found in the class that extends it. Newer testtools versions can handle the AttributeError and silently ignore the missing test methods and the lack of a runTests method. In the Manila context, BarbicanClientManager is not a test class, rather a utility we use to talk to Barbican, so we don't need to inherit from the base test case class. This change fixes that bug. Change-Id: I88a7c458a92fdb334b5a9e01515fff62dd7199cc Signed-off-by: Carlos da Silva <ces.eduardo98@gmail.com>
kpawar-sap
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.