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 f3eeb7a7f8
commit 54086fa517

View File

@ -296,6 +296,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 }}