cinder-upgrade revision 4285
0N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. 0N/A# Licensed under the Apache License, Version 2.0 (the "License"); you may 0N/A# not use this file except in compliance with the License. You may obtain 0N/A# Unless required by applicable law or agreed to in writing, software 0N/A# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 0N/A# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 0N/A# License for the specific language governing permissions and limitations 0N/A ('DEFAULT', 'rabbit_durable_queues'): ('DEFAULT', 'amqp_durable_queues'), 0N/A ('rpc_notifier2', 'topics'): ('DEFAULT', 'notification_topics'), 0N/A ('DEFAULT', 'osapi_compute_link_prefix'): 0N/A ('DEFAULT', 'osapi_volume_base_URL'), 0N/A ('DEFAULT', 'backup_service'): ('DEFAULT', 'backup_driver'), 0N/A ('DEFAULT', 'pybasedir'): ('DEFAULT', 'state_path'), 0N/A ('DEFAULT', 'log_config'): ('DEFAULT', 'log_config_append'), 0N/A ('DEFAULT', 'logfile'): ('DEFAULT', 'log_file'), 0N/A ('DEFAULT', 'logdir'): ('DEFAULT', 'log_dir'), 0N/A ('DEFAULT', 'num_iscsi_scan_tries'): 0N/A ('DEFAULT', 'num_volume_device_scan_tries'), 0N/A ('DEFAULT', 'zfssa_host'): ('DEFAULT', 'san_ip'), 0N/A ('DEFAULT', 'zfssa_auth_user'): ('DEFAULT', 'san_login'), 0N/A ('DEFAULT', 'zfssa_auth_password'): ('DEFAULT', 'san_password'), 0N/A ('DEFAULT', 'db_backend'): ('database', 'backend'), 0N/A ('DEFAULT', 'sql_connection'): ('database', 'connection'), 0N/A ('DATABASE', 'sql_connection'): ('database', 'connection'), 0N/A ('sql', 'connection'): ('database', 'connection'), 0N/A ('DEFAULT', 'sql_idle_timeout'): ('database', 'idle_timeout'), 0N/A ('DATABASE', 'sql_idle_timeout'): ('database', 'idle_timeout'), 0N/A ('sql', 'idle_timeout'): ('database', 'idle_timeout'), 0N/A ('DEFAULT', 'sql_min_pool_size'): ('database', 'min_pool_size'), 0N/A ('DATABASE', 'sql_min_pool_size'): ('database', 'min_pool_size'), 0N/A ('DEFAULT', 'sql_max_pool_size'): ('database', 'max_pool_size'), 0N/A ('DATABASE', 'sql_max_pool_size'): ('database', 'max_pool_size'), 0N/A ('DEFAULT', 'sql_max_retries'): ('database', 'max_retries'), 0N/A ('DATABASE', 'sql_max_retries'): ('database', 'max_retries'), 0N/A ('DEFAULT', 'sql_retry_interval'): ('database', 'retry_interval'), 0N/A ('DATABASE', 'reconnect_interval'): ('database', 'retry_interval'), 0N/A ('DEFAULT', 'sql_max_overflow'): ('database', 'max_overflow'), 0N/A ('DATABASE', 'sqlalchemy_max_overflow'): ('database', 'max_overflow'), 0N/A ('DEFAULT', 'sql_connection_debug'): ('database', 'connection_debug'), 0N/A ('DEFAULT', 'sql_connection_trace'): ('database', 'connection_trace'), 0N/A ('DATABASE', 'sqlalchemy_pool_timeout'): ('database', 'pool_timeout'), 0N/A ('DEFAULT', 'dbapi_use_tpool'): ('database', 'use_tpool'), 0N/A ('DEFAULT', 'memcache_servers'): 0N/A ('keystone_authtoken', 'memcached_servers'), 0N/A ('DEFAULT', 'matchmaker_ringfile'): ('matchmaker_ring', 'ringfile'), 0N/A ('DEFAULT', 'osapi_volume_workers'),
0N/A ('DEFAULT', 'auth_strategy'),
0N/A ('DEFAULT', 'san_is_local'),
0N/A ('DEFAULT', 'volume_driver'),
0N/A ('database', 'connection'),
0N/A ('keystone_authtoken', 'auth_uri'),
0N/A ('keystone_authtoken', 'identity_uri'),
0N/A ('keystone_authtoken', 'admin_user'),
0N/A ('keystone_authtoken', 'admin_password'),
0N/A ('keystone_authtoken', 'admin_tenant_name'),
0N/A ('keystone_authtoken', 'signing_dir'),
0N/A ('filter:authtoken', 'auth_uri'): ('keystone_authtoken', 'auth_uri'), 0N/A ('filter:authtoken', 'identity_uri'): 0N/A ('keystone_authtoken', 'identity_uri'), 0N/A ('filter:authtoken', 'admin_tenant_name'): 0N/A ('keystone_authtoken', 'admin_tenant_name'), 0N/A ('filter:authtoken', 'admin_user'): ('keystone_authtoken', 'admin_user'), 0N/A ('filter:authtoken', 'admin_password'): 0N/A ('keystone_authtoken', 'admin_password'), 862N/A ('filter:authtoken', 'signing_dir'): ('keystone_authtoken', 'signing_dir'), 0N/A # extract the openstack-upgrade-id from the pkg 0N/A # No need to upgrade # look for any .new files # the versions are different, so perform an upgrade # modify the configuration files # backup all the old configuration files # before modifying cinder.conf, move the [filter:authtoken] entries # In certain cases the database section does not exist and the # default database chosen is sqlite. print "altered character set to utf8 in cinder tables" # update the current version print 'Unknown error: %s' %
err