From df6096db9e9759e2b6f7b0f303cea507b068cfda Mon Sep 17 00:00:00 2001 From: songwenping Date: Mon, 7 Aug 2023 14:25:02 +0800 Subject: [PATCH] Add nova conf for cyborg Closes-Bug: #2030467 Change-Id: I7646f929b7edc2684102ae1b5927bcc75f0c87c9 --- ansible/roles/cyborg/templates/cyborg.conf.j2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ansible/roles/cyborg/templates/cyborg.conf.j2 b/ansible/roles/cyborg/templates/cyborg.conf.j2 index 1bd325906c..a9d2bc0f8e 100644 --- a/ansible/roles/cyborg/templates/cyborg.conf.j2 +++ b/ansible/roles/cyborg/templates/cyborg.conf.j2 @@ -43,6 +43,18 @@ region_name = {{ openstack_region_name }} cafile = {{ openstack_cacert }} valid_interfaces = internal +[nova] +auth_url = {{ keystone_internal_url }} +auth_type = password +project_domain_id = {{ default_project_domain_id }} +user_domain_id = {{ default_user_domain_id }} +region_name = {{ openstack_region_name }} +project_name = service +username = {{ nova_keystone_user }} +password = {{ nova_keystone_password }} +endpoint_type = internal +cafile = {{ openstack_cacert }} + {% if cyborg_policy_file is defined %} [oslo_policy] policy_file = {{ cyborg_policy_file }}