openstack-ansible/tests/roles/bootstrap-host/templates/user_variables_manila.yml.j2
Dmitriy Rabotyagov 8a2ea4d3ee Add manila tempest testing
This patch adds definiton of manila extra configuration, which should be used
for correct work of tempest and running manila test.
Additionally it sets default manila backend to cephfs and extends scenario

Change-Id: I636bf2fee1833d33d66c4f2812f2d510cabd15d6
2020-02-03 18:50:33 +02:00

80 lines
2.4 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_plugins:
- name: manila-tempest-plugin
repo: https://opendev.org/openstack/manila-tempest-plugin
branch: master
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: 256
disk: 2
vcpus: 1
tempest_test_whitelist:
- manila_tempest_tests.tests.scenario.test_share_basic_ops
tempest_run_concurrency: 0
tempest_tempest_conf_overrides:
share:
run_consistency_group_tests: False
run_snapshot_tests: False
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
tempest_images:
- url: "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img"
checksum: "sha256:a8dd75ecffd4cdd96072d60c2237b448e0c8b2bc94d57f10fdbc8c481d9005b8"
format: "qcow2"
name: "cirros"
- url: "http://tarballs.openstack.org/manila-image-elements/images/manila-service-image-master.qcow2"
format: "qcow2"
name: "manila-service-image"
manila_backends:
cephfsnfs1:
cephfs_auth_id: manila
cephfs_cluster_name: ceph
cephfs_conf_path: /etc/ceph/ceph.conf
cephfs_enable_snapshots: False
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