Use internal endpoint for barbican API

Nova defaults to using public endpoint for Barbican API which would
require internet access from the compute node so change this to
use the internal API endpoint.

Change-Id: Iaa14a9bf80d2e02197e74d67e812afc518fe1b65
(cherry picked from commit 7f431ebcda478e023d7cf173ed43cc08b648bb3b)
This commit is contained in:
Stuart Grace 2023-10-20 13:25:52 +01:00 committed by Andrew Bonney
parent f47be5b4f8
commit 46f09722a4

View File

@ -299,6 +299,7 @@ disk_cachemodes = {{ nova_libvirt_disk_cachemodes }}
{% if nova_barbican_enabled %}
[barbican]
barbican_endpoint_type = internal
auth_endpoint = {{ keystone_service_internaluri }}/v3
send_service_user_token = {{ nova_service_token_roles_required | bool }}