cinder-upgrade revision 5403
5403N/A# Copyright (c) 2015, 2016, 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 5403N/A ('DEFAULT', 'eqlx_chap_password'): ('DEFAULT', 'chap_password'), 5403N/A ('DEFAULT', 'eqlx_use_chap'): ('DEFAULT', 'use_chap_auth'), 5403N/A ('DEFAULT', 'eqlx_chap_login'): ('DEFAULT', 'chap_username'), 5403N/A ('DEFAULT', 'host'): ('DEFAULT', 'backend_host'), 3998N/A ('DEFAULT', 'db_backend'): ('database', 'backend'), 5403N/A ('DEFAULT', 'osapi_max_request_body_size'): 5403N/A ('oslo_middleware', 'max_request_body_size'), 4285N/A ('DEFAULT', 'osapi_volume_workers'),
4285N/A ('DEFAULT', 'auth_strategy'),
4285N/A ('DEFAULT', 'san_is_local'),
4285N/A ('DEFAULT', 'volume_driver'),
4285N/A ('database', 'connection'),
4285N/A ('keystone_authtoken', 'auth_uri'),
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 ('keystone_authtoken', 'signing_dir'),
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 cinder tables" 3998N/A # update the current version