Skip to content
Snippets Groups Projects
Commit 44a302d7 authored by yuchengde's avatar yuchengde Committed by Mark Goddard
Browse files

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
parent 1f1f01f2
No related branches found
No related tags found
No related merge requests found
...@@ -687,6 +687,7 @@ neutron_keystone_user: "neutron" ...@@ -687,6 +687,7 @@ neutron_keystone_user: "neutron"
nova_keystone_user: "nova" nova_keystone_user: "nova"
placement_keystone_user: "placement" placement_keystone_user: "placement"
murano_keystone_user: "murano" murano_keystone_user: "murano"
cinder_keystone_user: "cinder"
# 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"
......
...@@ -173,8 +173,6 @@ cinder_v3_public_endpoint: "{{ public_protocol }}://{{ cinder_external_fqdn | pu ...@@ -173,8 +173,6 @@ cinder_v3_public_endpoint: "{{ public_protocol }}://{{ cinder_external_fqdn | pu
cinder_logging_debug: "{{ openstack_logging_debug }}" cinder_logging_debug: "{{ openstack_logging_debug }}"
cinder_keystone_user: "cinder"
openstack_cinder_auth: "{{ openstack_auth }}" openstack_cinder_auth: "{{ openstack_auth }}"
......
...@@ -66,6 +66,13 @@ num_retries = {{ groups['glance-api'] | length }} ...@@ -66,6 +66,13 @@ num_retries = {{ groups['glance-api'] | length }}
[cinder] [cinder]
catalog_info = volumev3:cinderv3:internalURL catalog_info = volumev3:cinderv3:internalURL
os_region_name = {{ openstack_region_name }} 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 %} {% endif %}
[neutron] [neutron]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment