Remove legacy db pooling variables

Change-Id: I54edc22032950f640d824bb8baf170d3599d0f4b
This commit is contained in:
Jonathan Rosser 2022-02-01 03:54:19 -05:00
parent bc053f483f
commit 7424f8f69a
2 changed files with 10 additions and 4 deletions

View File

@ -108,12 +108,11 @@ keystone_database_connection_string: >-
keystone_galera_use_ssl: "{{ galera_use_ssl | default(False) }}"
keystone_galera_ssl_ca_cert: "{{ galera_ssl_ca_cert | default('') }}"
# Database tuning
# TODO(damiandabrowski): Deprecate following variables in Yoga release: keystone_database_max_pool_size, keystone_database_pool_timeout and keystone_database_idle_timeout
keystone_database_enabled: true
keystone_db_max_overflow: "{{ openstack_db_max_overflow | default('50') }}"
keystone_db_max_pool_size: "{{ openstack_db_max_pool_size | default(keystone_database_max_pool_size) | default('5') }}"
keystone_db_pool_timeout: "{{ openstack_db_pool_timeout | default(keystone_database_pool_timeout) | default('30') }}"
keystone_db_connection_recycle_time: "{{ openstack_db_connection_recycle_time | default(keystone_database_idle_timeout) | default('600') }}"
keystone_db_max_pool_size: "{{ openstack_db_max_pool_size | default('5') }}"
keystone_db_pool_timeout: "{{ openstack_db_pool_timeout | default('30') }}"
keystone_db_connection_recycle_time: "{{ openstack_db_connection_recycle_time | default('600') }}"
## Oslo Messaging
keystone_messaging_enabled: true

View File

@ -0,0 +1,7 @@
---
upgrade:
- |
The following keystone role variables were previously deprecated, and
are now removed. Replacement variables were introduced in the Xena release.
``keystone_database_pool_timeout`` ``keystone_database_max_pool_size``
``keystone_database_idle_timeout``