keystone-upgrade revision 4285
3998N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. 3998N/A# Licensed under the Apache License, Version 2.0 (the "License"); you may 3998N/A# not use this file except in compliance with the License. You may obtain 3998N/A# Unless required by applicable law or agreed to in writing, software 3998N/A# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 3998N/A# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 3998N/A# License for the specific language governing permissions and limitations 3998N/A ('DEFAULT', 'rabbit_durable_queues'): ('DEFAULT', 'amqp_durable_queues'), 3998N/A ('rpc_notifier2', 'topics'): ('DEFAULT', 'notification_topics'), 3998N/A ('DEFAULT', 'log_config'): ('DEFAULT', 'log_config_append'), 3998N/A ('DEFAULT', 'logfile'): ('DEFAULT', 'log_file'), 3998N/A ('DEFAULT', 'logdir'): ('DEFAULT', 'log_dir'), 3998N/A ('DEFAULT', 'db_backend'): ('database', 'backend'), 3998N/A ('DEFAULT', 'sql_connection'): ('database', 'connection'), 3998N/A ('DATABASE', 'sql_connection'): ('database', 'connection'), 3998N/A ('sql', 'connection'): ('database', 'connection'), 3998N/A ('DEFAULT', 'sql_idle_timeout'): ('database', 'idle_timeout'), 3998N/A ('DATABASE', 'sql_idle_timeout'): ('database', 'idle_timeout'), 3998N/A ('sql', 'idle_timeout'): ('database', 'idle_timeout'), 3998N/A ('DEFAULT', 'sql_min_pool_size'): ('database', 'min_pool_size'), 3998N/A ('DATABASE', 'sql_min_pool_size'): ('database', 'min_pool_size'), 3998N/A ('DEFAULT', 'sql_max_pool_size'): ('database', 'max_pool_size'), 3998N/A ('DATABASE', 'sql_max_pool_size'): ('database', 'max_pool_size'), 3998N/A ('DEFAULT', 'sql_max_retries'): ('database', 'max_retries'), 3998N/A ('DATABASE', 'sql_max_retries'): ('database', 'max_retries'), 3998N/A ('DEFAULT', 'sql_retry_interval'): ('database', 'retry_interval'), 3998N/A ('DATABASE', 'reconnect_interval'): ('database', 'retry_interval'), 3998N/A ('DEFAULT', 'sql_max_overflow'): ('database', 'max_overflow'), 3998N/A ('DATABASE', 'sqlalchemy_max_overflow'): ('database', 'max_overflow'), 3998N/A ('DEFAULT', 'sql_connection_debug'): ('database', 'connection_debug'), 3998N/A ('DEFAULT', 'sql_connection_trace'): ('database', 'connection_trace'), 3998N/A ('DATABASE', 'sqlalchemy_pool_timeout'): ('database', 'pool_timeout'), 3998N/A ('ldap', 'tenant_tree_dn'): ('ldap', 'project_tree_dn'), 3998N/A ('ldap', 'tenant_filter'): ('ldap', 'project_filter'), 3998N/A ('ldap', 'tenant_objectclass'): ('ldap', 'project_objectclass'), 3998N/A ('ldap', 'tenant_id_attribute'): ('ldap', 'project_id_attribute'), 3998N/A ('ldap', 'tenant_member_attribute'): ('ldap', 'project_member_attribute'), 3998N/A ('ldap', 'tenant_name_attribute'): ('ldap', 'project_name_attribute'), 3998N/A ('ldap', 'tenant_desc_attribute'): ('ldap', 'project_desc_attribute'), 3998N/A ('ldap', 'tenant_enabled_attribute'): 3998N/A ('ldap', 'project_enabled_attribute'), 3998N/A ('ldap', 'tenant_domain_id_attribute'): 3998N/A ('ldap', 'project_domain_id_attribute'), 3998N/A ('ldap', 'tenant_attribute_ignore'): ('ldap', 'project_attribute_ignore'), 3998N/A ('ldap', 'tenant_allow_create'): ('ldap', 'project_allow_create'), 3998N/A ('ldap', 'tenant_allow_update'): ('ldap', 'project_allow_update'), 3998N/A ('ldap', 'tenant_allow_delete'): ('ldap', 'project_allow_delete'), 3998N/A ('ldap', 'tenant_enabled_emulation'): 3998N/A ('ldap', 'project_enabled_emulation'), 3998N/A ('ldap', 'tenant_enabled_emulation_dn'): 3998N/A ('ldap', 'project_enabled_emulation_dn'), 3998N/A ('ldap', 'tenant_additional_attribute_mapping'): 3998N/A ('ldap', 'project_additional_attribute_mapping'), 3998N/A ('DEFAULT', 'matchmaker_ringfile'): ('matchmaker_ring', 'ringfile'), 4285N/A ('DEFAULT', 'public_workers'),
4285N/A ('DEFAULT', 'admin_workers'),
4285N/A ('database', 'connection'),
3998N/A # extract the openstack-upgrade-id from the pkg 3998N/A # the versions are different, so perform an upgrade 3998N/A # modify the configuration files 4285N/A # backup all the old configuration files 3998N/A # In certain cases the database section does not exist and the 3998N/A # default database chosen is sqlite. 3998N/A print "altered character set to utf8 in keystone tables" 3998N/A # update the current version