Skip to content

Commit

Permalink
Add manila support to tempest
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey Bryant committed May 19, 2022
1 parent 8fae05e commit 41bc9e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion zaza/openstack/charm_tests/tempest/templates/tempest_v3.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ admin_project_name = {{ admin_project_name }}
admin_password = {{ admin_password }}
admin_domain_name = {{ admin_domain_name }}

{% if 'manila' in enabled_services %}
[share]
multitenancy_enabled = false
capability_snapshot_support = true
enable_protocols = nfs
capability_storage_protocol = NFS
max_api_microversion = 2.63
{% endif %}

{% if 'nova' in enabled_services %}
[compute]
image_ref = {{ image_id }}
Expand Down Expand Up @@ -110,4 +119,4 @@ backup = false
enable_security_groups = true
test_with_ipv6 = false
test_server_path = {{ workspace_path }}/test_server.bin
{% endif %}
{% endif %}
4 changes: 2 additions & 2 deletions zaza/openstack/charm_tests/tempest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
TEMPEST_FLAVOR_NAME = 'm1.tempest'
TEMPEST_ALT_FLAVOR_NAME = 'm2.tempest'
TEMPEST_SVC_LIST = ['ceilometer', 'cinder', 'glance', 'heat', 'horizon',
'ironic', 'neutron', 'nova', 'octavia', 'sahara', 'swift',
'trove', 'zaqar']
'ironic', 'manila', 'neutron', 'nova', 'octavia',
'sahara', 'swift', 'trove', 'zaqar']


def render_tempest_config_keystone_v2():
Expand Down

0 comments on commit 41bc9e0

Please sign in to comment.