diff --git a/ansible/roles/cyborg/templates/cyborg.conf.j2 b/ansible/roles/cyborg/templates/cyborg.conf.j2 index e2014e4c61..14f9e7378d 100644 --- a/ansible/roles/cyborg/templates/cyborg.conf.j2 +++ b/ansible/roles/cyborg/templates/cyborg.conf.j2 @@ -27,6 +27,18 @@ auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn | put_address_in_contex auth_type = password cafile = {{ openstack_cacert }} +[placement] +auth_type = password +auth_url = {{ keystone_admin_url }} +username = {{ placement_keystone_user }} +password = {{ placement_keystone_password }} +user_domain_name = {{ default_user_domain_name }} +project_name = service +project_domain_name = {{ default_project_domain_name }} +region_name = {{ openstack_region_name }} +cafile = {{ openstack_cacert }} +valid_interfaces = internal + {% if cyborg_policy_file is defined %} [oslo_policy] policy_file = {{ cyborg_policy_file }} diff --git a/releasenotes/notes/add-placement-auth-into-cyborg-conductor-54b452e218bfb9ab.yaml b/releasenotes/notes/add-placement-auth-into-cyborg-conductor-54b452e218bfb9ab.yaml new file mode 100644 index 0000000000..a7b47b7a1f --- /dev/null +++ b/releasenotes/notes/add-placement-auth-into-cyborg-conductor-54b452e218bfb9ab.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fix that the cyborg conductor failed to communicate with placement. See + `bug 1873717 `__.