From 61a353cbd72cd48f1659b086a12f17e5a6cec8d7 Mon Sep 17 00:00:00 2001 From: caoyuan Date: Sun, 22 Apr 2018 23:22:15 +0800 Subject: [PATCH] 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 --- specs/ansible-multi.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/ansible-multi.rst b/specs/ansible-multi.rst index 15292ecb3b..1b4fcb5708 100644 --- a/specs/ansible-multi.rst +++ b/specs/ansible-multi.rst @@ -206,7 +206,7 @@ template for Keystone is: log_dir = {{ keystone_log_dir }} [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] driver = keystone.contrib.revoke.backends.sql.Revoke