nova-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', 'quota_injected_file_path_bytes'): 3998N/A ('DEFAULT', 'quota_injected_file_path_length'), 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', 'cinder_catalog_info'): ('cinder', 'catalog_info'), 3998N/A ('DEFAULT', 'cinder_endpoint_template'): ('cinder', 'endpoint_template'), 3998N/A ('DEFAULT', 'os_region_name'): ('cinder', 'os_region_name'), 3998N/A ('DEFAULT', 'cinder_ca_certificates_file'): 3998N/A ('cinder', 'ca_certificates_file'), 3998N/A ('DEFAULT', 'cinder_http_retries'): ('cinder', 'http_retries'), 3998N/A ('DEFAULT', 'cinder_http_timeout'): ('cinder', 'http_timeout'), 3998N/A ('DEFAULT', 'cinder_api_insecure'): ('cinder', 'api_insecure'), 3998N/A ('DEFAULT', 'cinder_cross_az_attach'): ('cinder', 'cross_az_attach'), 3998N/A ('DEFAULT', 'db_backend'): ('database', 'backend'), 3998N/A ('DEFAULT', '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 ('DEFAULT', 'glance_host'): ('glance', 'host'), 3998N/A ('DEFAULT', 'glance_port'): ('glance', 'port'), 3998N/A ('DEFAULT', 'glance_protocol'): ('glance', 'protocol'), 3998N/A ('DEFAULT', 'glance_api_servers'): ('glance', 'api_servers'), 3998N/A ('DEFAULT', 'glance_api_insecure'): ('glance', 'api_insecure'), 3998N/A ('DEFAULT', 'glance_num_retries'): ('glance', 'num_retries'), 3998N/A ('DEFAULT', 'memcache_servers'): 3998N/A ('keystone_authtoken', 'memcached_servers'), 3998N/A ('DEFAULT', 'matchmaker_ringfile'): ('matchmaker_ring', 'ringfile'), 3998N/A ('DEFAULT', 'service_neutron_metadata_proxy'): 3998N/A ('neutron', 'service_metadata_proxy'), 3998N/A ('DEFAULT', 'neutron_metadata_proxy_shared_secret'): 3998N/A ('neutron', 'metadata_proxy_shared_secret'), 3998N/A ('DEFAULT', 'neutron_url'): ('neutron', 'url'), 3998N/A ('DEFAULT', 'neutron_url_timeout'): ('neutron', 'url_timeout'), 3998N/A ('DEFAULT', 'neutron_admin_username'): ('neutron', 'admin_username'), 3998N/A ('DEFAULT', 'neutron_admin_password'): ('neutron', 'admin_password'), 3998N/A ('DEFAULT', 'neutron_admin_tenant_id'): ('neutron', 'admin_tenant_id'), 3998N/A ('DEFAULT', 'neutron_admin_tenant_name'): ('neutron', 'admin_tenant_name'), 3998N/A ('DEFAULT', 'neutron_region_name'): ('neutron', 'region_name'), 3998N/A ('DEFAULT', 'neutron_admin_auth_url'): ('neutron', 'admin_auth_url'), 3998N/A ('DEFAULT', 'neutron_api_insecure'): ('neutron', 'api_insecure'), 3998N/A ('DEFAULT', 'neutron_auth_strategy'): ('neutron', 'auth_strategy'), 3998N/A ('DEFAULT', 'neutron_ovs_bridge'): ('neutron', 'ovs_bridge'), 3998N/A ('DEFAULT', 'neutron_extension_sync_interval'): 3998N/A ('neutron', 'extension_sync_interval'), 3998N/A ('DEFAULT', 'neutron_ca_certificates_file'): 3998N/A ('neutron', 'ca_certificates_file'), 3998N/A ('DEFAULT', 'spicehtml5proxy_host'): ('spice', 'html5proxy_host'), 3998N/A ('DEFAULT', 'spicehtml5proxy_port'): ('spice', 'html5proxy_port'), 4285N/A ('DEFAULT', 'ec2_workers'),
4285N/A ('DEFAULT', 'osapi_compute_workers'),
4285N/A ('DEFAULT', 'metadata_workers'),
4285N/A ('DEFAULT', 'novncproxy_base_url'),
4285N/A ('database', 'connection'),
4285N/A ('keystone_authtoken', 'auth_uri'),
4285N/A ('keystone_authtoken', 'signing_dir'),
4285N/A ('keystone_authtoken', 'identity_uri'),
4285N/A ('keystone_authtoken', 'admin_user'),
4285N/A ('keystone_authtoken', 'admin_password'),
4285N/A ('keystone_authtoken', 'admin_tenant_name'),
4285N/A ('neutron', 'service_metadata_proxy'),
4285N/A ('filter:authtoken', 'auth_uri'): ('keystone_authtoken', 'auth_uri'), 4285N/A ('filter:authtoken', 'identity_uri'): 4285N/A ('keystone_authtoken', 'identity_uri'), 4285N/A ('filter:authtoken', 'admin_tenant_name'): 4285N/A ('keystone_authtoken', 'admin_tenant_name'), 4285N/A ('filter:authtoken', 'admin_user'): ('keystone_authtoken', 'admin_user'), 4285N/A ('filter:authtoken', 'admin_password'): 4285N/A ('keystone_authtoken', 'admin_password'), 4285N/A ('filter:authtoken', 'signing_dir'): ('keystone_authtoken', 'signing_dir'), 4285N/A ('filter:authtoken', 'auth_version'): 4285N/A ('keystone_authtoken', 'auth_version'), 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 4285N/A # (to use the default value). If it is, and none of other deprecated 4285N/A # open the previous version 4285N/A ('database', 'sql_connection'),
4285N/A ('database', 'connection'),
4285N/A ('DEFAULT', 'sql_connection') 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 nova tables" 3998N/A # update the current version