From 69df45b068ade8311ace9ef30745bd229ed9ea24 Mon Sep 17 00:00:00 2001 From: James Denton Date: Tue, 31 Jan 2023 07:49:17 -0600 Subject: [PATCH] Add authentication for [cinder] section of nova.conf Nova complains about an inability to access endpoint list for block storage. This patch updates nova.conf with the respective configuration.: Example errors in nova-compute log: 1. The [cinder] section of your nova configuration file must be configured for authentication with the block-storage service endpoint. 2. Delete attachment failed for attachment . Error: Unknown auth type: None (HTTP 401) Code: 401: cinderclient.exceptions.Unauthorized: Unknown auth type: None (HTTP 401) Change-Id: I4c1ae32ed078a4412ff44b7ac3f921b223d0cba3 --- templates/nova.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/nova.conf.j2 b/templates/nova.conf.j2 index 89975976..f8957a29 100644 --- a/templates/nova.conf.j2 +++ b/templates/nova.conf.j2 @@ -78,6 +78,7 @@ memcache_servers = {{ nova_cache_servers }} [cinder] catalog_info = volumev3:cinderv3:internalURL os_region_name = {{ nova_service_region }} +auth_section = keystone_authtoken {% if nova_console_type == 'spice' %} [spice]