Add CephFS Native scenario tests
Since we support CephFS Native scenario tests,
we can now add those tests to CephFS Native job.
For now we should blacklist the following tests:
- 'test_create_shrink_and_write'
- 'test_create_extend_and_write'
Those tests are using kernel client and require
CephFS quotas support. We should blacklist those
tests since CephFS quotas is not supported yet.
Once https://review.opendev.org/#/c/676722 merge
we will un-blacklist them.
Depends-On: https://review.opendev.org/#/c/731284
Change-Id: I00ed2e0262ae625886ac86734cc978968845fb7d
diff --git a/zuul.d/manila-tempest-jobs.yaml b/zuul.d/manila-tempest-jobs.yaml
index 8efb2a2..56cc9d8 100644
--- a/zuul.d/manila-tempest-jobs.yaml
+++ b/zuul.d/manila-tempest-jobs.yaml
@@ -235,21 +235,27 @@
vars:
devstack_plugins:
devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
- tempest_test_regex: manila_tempest_tests.tests.api
+ tempest_test_regex: manila_tempest_tests
+ # Those tests fail when using kernel client, because right now CephFS quotas
+ # is not supported. So for now those tests should be blacklisted.
+ # TODO(lkuchlan) un-blacklist those test when https://review.opendev.org/#/c/676722 will land.
+ tempest_black_regex: '(TestShareShrinkCEPHFS.test_create_shrink_and_write|TestShareExtendCEPHFS.test_create_extend_and_write)(\[.*\bbackend\b.*\])'
devstack_localrc:
SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
MANILA_ENABLED_BACKENDS: cephfsnative
ENABLED_SHARE_PROTOCOLS: CEPHFS
MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
- MANILA_SERVICE_IMAGE_ENABLED: false
MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
+ MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-master.qcow2
+ MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-master
devstack_local_conf:
test-config:
$TEMPEST_CONFIG:
share:
+ default_share_type_name: default
enable_cephx_rules_for_protocols: cephfs
run_share_group_tests: false
run_snapshot_tests: false
@@ -258,4 +264,5 @@
backend_names: CEPHFSNATIVE
capability_snapshot_support: false
capability_storage_protocol: CEPHFS
- enable_protocols: cephfs
\ No newline at end of file
+ enable_protocols: cephfs
+ image_password: manila