update the event_connection to connection for panko
more infomation, refer to the panko docs[1] or code[2]
[1]: https://docs.openstack.org/panko/rocky/install/manual.html
[2]: 9c4677f178/panko/storage/__init__.py (L39)
Change-Id: Ic7bdf555eb262005ca24f675cd8cee09d9bc3092
Closes-Bug: #1690843
This commit is contained in:
parent
4a5d8b0d05
commit
47a2c5a85e
@ -9,10 +9,10 @@ log_file = /var/log/kolla/panko/panko-api.log
|
|||||||
|
|
||||||
[database]
|
[database]
|
||||||
{% if panko_database_type == "mongodb" %}
|
{% if panko_database_type == "mongodb" %}
|
||||||
event_connection = mongodb://{{ panko_database_user }}:{{ panko_database_password }}@{{ panko_database_mongodb_address }}/{{ panko_database_name }}
|
connection = mongodb://{{ panko_database_user }}:{{ panko_database_password }}@{{ panko_database_mongodb_address }}/{{ panko_database_name }}
|
||||||
metering_connection = mongodb://{{ panko_database_user }}:{{ panko_database_password }}@{{ panko_database_mongodb_address }}/{{ panko_database_name }}
|
metering_connection = mongodb://{{ panko_database_user }}:{{ panko_database_password }}@{{ panko_database_mongodb_address }}/{{ panko_database_name }}
|
||||||
{% elif panko_database_type == "mysql" %}
|
{% elif panko_database_type == "mysql" %}
|
||||||
event_connection = mysql+pymysql://{{ panko_database_user }}:{{ panko_database_password }}@{{ panko_database_mysql_address }}/{{ panko_database_name }}
|
connection = mysql+pymysql://{{ panko_database_user }}:{{ panko_database_password }}@{{ panko_database_mysql_address }}/{{ panko_database_name }}
|
||||||
metering_connection = mysql+pymysql://{{ panko_database_user }}:{{ panko_database_password }}@{{ panko_database_mysql_address }}/{{ panko_database_name }}
|
metering_connection = mysql+pymysql://{{ panko_database_user }}:{{ panko_database_password }}@{{ panko_database_mysql_address }}/{{ panko_database_name }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user