Fix cyborg api doesn't listen on api interface

host -> host_ip[0]
Remove deprecated configuration notification_topics.

WARNING oslo_config.cfg [-] Deprecated: Option "notification_topics"
from group "DEFAULT" is deprecated. Use option "topics" from
group "oslo_messaging_notifications".

[0]https://docs.openstack.org/cyborg/latest/configuration/sample-config.html

Change-Id: Ia5d53fb60d34c1509c6cdb905cbd0a93dd1c8b3d
This commit is contained in:
wuchunyang 2021-03-10 21:26:59 +08:00
parent af5e4f3446
commit 76579b80a1
2 changed files with 7 additions and 2 deletions

View File

@ -2,13 +2,12 @@
auth_strategy = keystone
log_dir = /var/log/kolla/cyborg
debug = {{ cyborg_logging_debug }}
notification_topics = notifications
transport_url = {{ rpc_transport_url }}
[api]
port = {{ cyborg_api_port }}
host = {{ api_interface_address }}
host_ip = {{ api_interface_address }}
[database]
connection = mysql+pymysql://{{ cyborg_database_user }}:{{ cyborg_database_password }}@{{ cyborg_database_address }}/{{ cyborg_database_name }}

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fix cyborg api doesn't listen on api interface. change host to
host_ip in cyborg.conf. See the `cyborg documentation
<https://docs.openstack.org/cyborg/latest/configuration/sample-config.html>`__