Allow nova to delete volume with cinder auth

If "reclaim_instance_interval" has been set in nova conf,
attched volume may not be delete while instacne deleted.
Adding cinder auth in nova conf can solve the problem.

Change-Id: I9eb3a74c2f6976043cc35a94915f1fcecb9ef601
Closes-Bug:  1850279
This commit is contained in:
yuchengde 2019-10-30 13:57:34 +08:00 committed by Mark Goddard
parent 1f1f01f27f
commit 44a302d7d2
3 changed files with 8 additions and 2 deletions

View File

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

View File

@ -173,8 +173,6 @@ cinder_v3_public_endpoint: "{{ public_protocol }}://{{ cinder_external_fqdn | pu
cinder_logging_debug: "{{ openstack_logging_debug }}"
cinder_keystone_user: "cinder"
openstack_cinder_auth: "{{ openstack_auth }}"

View File

@ -66,6 +66,13 @@ num_retries = {{ groups['glance-api'] | length }}
[cinder]
catalog_info = volumev3:cinderv3:internalURL
os_region_name = {{ openstack_region_name }}
auth_url = {{ keystone_admin_url }}
auth_type = password
project_domain_name = {{ default_project_domain_name }}
user_domain_id = {{ default_user_domain_id }}
project_name = service
username = {{ cinder_keystone_user }}
password = {{ cinder_keystone_password }}
{% endif %}
[neutron]