Fix trove failed to discover swift endpoint

This change fixes the trove failed to discover swift endpoint
by adding service_credentials in guest-agent.conf

Closes-Bug: #2048829

Change-Id: I185484d2a0d0a2d4016df6acf8a6b0a7f934c237
This commit is contained in:
wu.chunyang 2024-01-10 11:42:02 +08:00 committed by wu.chunyang
parent 57b24f01f3
commit 9eff43809f
2 changed files with 17 additions and 0 deletions

View File

@ -1,10 +1,21 @@
[DEFAULT]
log_file = trove-guestagent.log
log_dir = /var/log/trove/
transport_url = {{ rpc_transport_url }}
control_exchange = trove
root_grant = ALL
root_grant_option = True
debug = {{ trove_logging_debug }}
[service_credentials]
auth_url = {{ keystone_internal_url }}
region_name = {{ openstack_region_name }}
project_name = service
password = {{ trove_keystone_password }}
project_domain_name = {{ default_project_domain_name }}
user_domain_name = {{ default_user_domain_name }}
username = {{ trove_keystone_user }}
[oslo_messaging_rabbit]
heartbeat_in_pthread = false
{% if om_enable_rabbitmq_high_availability | bool %}

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fix trove failed to discover swift endpoint due to the missing of
`service_credentials` in guest-agent.conf.
see `bug 2048829 <https://bugs.launchpad.net/kolla-ansible/+bug/2048829>`__