Files
openstack-ansible/tests/roles/bootstrap-host/templates/user_variables_manila.yml.j2
Jonathan Rosser 1c39a2af38 Ensure tempest include and exclude lists all use unique names
When deploying a complex AIO with several services enabled, currently
duplicate definitions are made for the tempest test include and
exclude lists. It is down to ansible variable precedence to
determine which one is actually used.

This patch uses the changes made in [1] to allow tempest include and
exlude lists to be defined in many variables and aggregated at the
point the config files for tempest are written.

[1] https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/891579

Change-Id: If047578c283e85b38e73a5f117289f42150f3daf
2024-01-04 15:15:43 +00:00

80 lines
2.5 KiB
Django/Jinja

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
tempest_flavors:
- name: tempest1
id: 201
ram: 256
disk: 1
vcpus: 1
- name: tempest2
id: 202
ram: 512
disk: 1
vcpus: 1
- name: manila-service-flavor
id: 100
ram: 350
disk: 5
vcpus: 1
tempest_test_includelist_ceph_manila:
- manila_tempest_tests.tests.scenario.test_share_basic_ops.TestShareBasicOpsNFS.test_mount_share_one_vm
tempest_tempest_conf_overrides_manila:
share:
# The first version of manila api which supports microversions
min_api_microversion: "2.0"
# Set this to the highest microversion supported by the openstack release
max_api_microversion: "2.67"
run_consistency_group_tests: False
run_snapshot_tests: False
capability_snapshot_support: True
multitenancy_enabled: False
run_shrink_tests: True
run_extend_tests: True
multi_backend: False
enable_protocols: nfs
run_ipv6_tests: False
share_creation_retry_number: 2
suppress_errors_in_cleanup: True
capability_storage_protocol: NFS
enable_ip_rules_for_protocols: nfs
image_with_share_tools: manila-service-image
image_password: manila
endpoint_type: internalURL
tempest_images:
- url: "https://download.cirros-cloud.net/0.5.1/cirros-0.5.1-x86_64-disk.img"
checksum: "sha256:c4110030e2edf06db87f5b6e4efc27300977683d53f040996d15dcc0ad49bb5a"
format: "qcow2"
name: "cirros"
- url: "http://tarballs.openstack.org/manila-image-elements/images/manila-service-image-master.qcow2"
format: "qcow2"
name: "manila-service-image"
nova_console_type: disabled
manila_backends:
cephfsnfs1:
cephfs_auth_id: manila
cephfs_cluster_name: ceph
cephfs_conf_path: /etc/ceph/ceph.conf
cephfs_ganesha_server_ip: 172.29.236.100
cephfs_ganesha_server_is_remote: False
cephfs_protocol_helper_type: NFS
driver_handles_share_servers: False
share_backend_name: CEPHFSNFS1
share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
ganesha_rados_store_enable: False
ganesha_rados_store_pool_name: manila_data