Merge "manila: add glance section in manila-share.conf"

This commit is contained in:
Zuul 2021-07-28 17:28:15 +00:00 committed by Gerrit Code Review
commit d328265216
3 changed files with 19 additions and 1 deletions

View File

@ -716,6 +716,7 @@ nova_keystone_user: "nova"
placement_keystone_user: "placement" placement_keystone_user: "placement"
murano_keystone_user: "murano" murano_keystone_user: "murano"
cinder_keystone_user: "cinder" cinder_keystone_user: "cinder"
glance_keystone_user: "glance"
# Nova fake driver and the number of fake driver per compute node # Nova fake driver and the number of fake driver per compute node
enable_nova_fake: "no" enable_nova_fake: "no"

View File

@ -5,6 +5,18 @@ enabled_share_backends = {{ manila_enabled_backends|map(attribute='name')|join('
default_share_type = default_share_type default_share_type = default_share_type
[glance]
auth_url = {{ keystone_admin_url }}
auth_type = password
project_domain_id = {{ default_project_domain_id }}
user_domain_id = {{ default_user_domain_id }}
region_name = {{ openstack_region_name }}
endpoint_type = internalURL
project_name = service
username = {{ glance_keystone_user }}
password = {{ glance_keystone_password }}
cafile = {{ openstack_cacert }}
[cinder] [cinder]
auth_uri = {{ keystone_internal_url }} auth_uri = {{ keystone_internal_url }}
auth_url = {{ keystone_admin_url }} auth_url = {{ keystone_admin_url }}
@ -14,7 +26,7 @@ user_domain_id = {{ default_user_domain_id }}
region_name = {{ openstack_region_name }} region_name = {{ openstack_region_name }}
endpoint_type = internalURL endpoint_type = internalURL
project_name = service project_name = service
username = cinder username = {{ cinder_keystone_user }}
password = {{ cinder_keystone_password }} password = {{ cinder_keystone_password }}
cafile = {{ openstack_cacert }} cafile = {{ openstack_cacert }}

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes an issue with Manila configuration which was missing a ``[glance]``
section, preventing some drivers from operating.