From 3f5972fdab227f730ead1b225d38ae3b48722ed8 Mon Sep 17 00:00:00 2001 From: Seyeong Kim Date: Tue, 23 Jun 2026 00:05:12 +0000 Subject: [PATCH] Use internal endpoint for barbican key manager When use-internal-endpoints is enabled, write barbican_endpoint_type = internal so castellan discovers barbican via the internal keystone catalog interface instead of public. Needed when the public network is not reachable from compute hosts, e.g. for vTPM secrets or encrypted volume (LUKS) key retrieval. Closes-Bug: #2158067 Change-Id: Ib474efbbf597272b8f8088ec0c9f7130e126c537 Signed-off-by: Seyeong Kim --- templates/parts/section-barbican | 4 ++++ templates/yoga/nova.conf | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 templates/parts/section-barbican diff --git a/templates/parts/section-barbican b/templates/parts/section-barbican new file mode 100644 index 00000000..2b1b2598 --- /dev/null +++ b/templates/parts/section-barbican @@ -0,0 +1,4 @@ +{% if use_internal_endpoints -%} +[barbican] +barbican_endpoint_type = internal +{% endif -%} diff --git a/templates/yoga/nova.conf b/templates/yoga/nova.conf index e4d1f20b..41e453ac 100644 --- a/templates/yoga/nova.conf +++ b/templates/yoga/nova.conf @@ -382,6 +382,8 @@ skip_cpu_compare_on_dest = {{ skip_cpu_compare_on_dest }} {% include "parts/section-placement" %} +{% include "parts/section-barbican" %} + {% include "parts/section-ironic" %} [compute]