heat-upgrade revision 4312
4070N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. 4070N/A# Licensed under the Apache License, Version 2.0 (the "License"); you may 4070N/A# not use this file except in compliance with the License. You may obtain 4070N/A# Unless required by applicable law or agreed to in writing, software 4070N/A# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 4070N/A# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 4070N/A# License for the specific language governing permissions and limitations 4070N/A ('DEFAULT', 'stack_user_domain'): ('DEFAULT', 'stack_user_domain_id'), 4070N/A ('DEFAULT', 'rabbit_durable_queues'): ('DEFAULT', 'amqp_durable_queues'), 4070N/A ('rpc_notifier2', 'topics'): ('DEFAULT', 'notification_topics'), 4070N/A ('DEFAULT', 'log_config'): ('DEFAULT', 'log_config_append'), 4070N/A ('DEFAULT', 'logfile'): ('DEFAULT', 'log_file'), 4070N/A ('DEFAULT', 'logdir'): ('DEFAULT', 'log_dir'), 4070N/A ('DEFAULT', 'db_backend'): ('database', 'backend'), 4070N/A ('DEFAULT', 'sql_connection'): ('database', 'connection'), 4070N/A ('DATABASE', 'sql_connection'): ('database', 'connection'), 4070N/A ('sql', 'connection'): ('database', 'connection'), 4070N/A ('DEFAULT', 'sql_idle_timeout'): ('database', 'idle_timeout'), 4070N/A ('DATABASE', 'sql_idle_timeout'): ('database', 'idle_timeout'), 4070N/A ('sql', 'idle_timeout'): ('database', 'idle_timeout'), 4070N/A ('DEFAULT', 'sql_min_pool_size'): ('database', 'min_pool_size'), 4070N/A ('DATABASE', 'sql_min_pool_size'): ('database', 'min_pool_size'), 4070N/A ('DEFAULT', 'sql_max_pool_size'): ('database', 'max_pool_size'), 4070N/A ('DATABASE', 'sql_max_pool_size'): ('database', 'max_pool_size'), 4070N/A ('DEFAULT', 'sql_max_retries'): ('database', 'max_retries'), 4070N/A ('DATABASE', 'sql_max_retries'): ('database', 'max_retries'), 4070N/A ('DEFAULT', 'sql_retry_interval'): ('database', 'retry_interval'), 4070N/A ('DATABASE', 'reconnect_interval'): ('database', 'retry_interval'), 4070N/A ('DEFAULT', 'sql_max_overflow'): ('database', 'max_overflow'), 4070N/A ('DATABASE', 'sqlalchemy_max_overflow'): ('database', 'max_overflow'), 4070N/A ('DEFAULT', 'sql_connection_debug'): ('database', 'connection_debug'), 4070N/A ('DEFAULT', 'sql_connection_trace'): ('database', 'connection_trace'), 4070N/A ('DATABASE', 'sqlalchemy_pool_timeout'): ('database', 'pool_timeout'), 4070N/A ('DEFAULT', 'memcache_servers'): 4070N/A ('keystone_authtoken', 'memcached_servers'), 4070N/A ('DEFAULT', 'matchmaker_ringfile'): ('matchmaker_ring', 'ringfile'), 4070N/A # No longer referenced by the service or causes a DeprecationWarning 4312N/A ('database', 'connection'),
4312N/A ('keystone_authtoken', 'auth_uri'),
4312N/A ('keystone_authtoken', 'identity_uri'),
4312N/A ('keystone_authtoken', 'admin_user'),
4312N/A ('keystone_authtoken', 'admin_password'),
4312N/A ('keystone_authtoken', 'admin_tenant_name'),
4312N/A ('keystone_authtoken', 'signing_dir'),
4312N/A ('filter:authtoken', 'auth_uri'): ('keystone_authtoken', 'auth_uri'), 4312N/A ('filter:authtoken', 'identity_uri'): 4312N/A ('keystone_authtoken', 'identity_uri'), 4312N/A ('filter:authtoken', 'admin_tenant_name'): 4312N/A ('keystone_authtoken', 'admin_tenant_name'), 4312N/A ('filter:authtoken', 'admin_user'): ('keystone_authtoken', 'admin_user'), 4312N/A ('filter:authtoken', 'admin_password'): 4312N/A ('keystone_authtoken', 'admin_password'), 4070N/A # extract the openstack-upgrade-id from the pkg 4070N/A # the versions are different, so perform an upgrade 4070N/A # modify the configuration files 4312N/A # backup all the old configuration files 4070N/A # In certain cases the database section does not exist and the 4070N/A # default database chosen is sqlite. 4070N/A print "altered character set to utf8 in heat tables" 4070N/A # update the current version