Update the database connection for keystone
1. the pymysql is needed for the current release[0] 2. it should use keystone_database_address rather than keystone_service_ip, because they may different. [0]: https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/keystone/templates/keystone.conf.j2#L22 Change-Id: I7eb90544bd6be167df157ca352ca01e21ce781bd
This commit is contained in:
parent
1bdb98e9a3
commit
61a353cbd7
@ -206,7 +206,7 @@ template for Keystone is:
|
|||||||
log_dir = {{ keystone_log_dir }}
|
log_dir = {{ keystone_log_dir }}
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
connection = mysql://{{ keystone_db_user }}:{{ database_keystone_password }}@{{ keystone_service_ip }}/keystone
|
connection = mysql+pymysql://{{ keystone_db_user }}:{{ database_keystone_password }}@{{ keystone_database_address }}/keystone
|
||||||
|
|
||||||
[revoke]
|
[revoke]
|
||||||
driver = keystone.contrib.revoke.backends.sql.Revoke
|
driver = keystone.contrib.revoke.backends.sql.Revoke
|
||||||
|
Loading…
Reference in New Issue
Block a user