keystone-upgrade revision 5403
1N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. 1N/A# Licensed under the Apache License, Version 2.0 (the "License"); you may 1N/A# not use this file except in compliance with the License. You may obtain 1N/A# a copy of the License at 1N/A# Unless required by applicable law or agreed to in writing, software 1N/A# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 1N/A# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 1N/A# License for the specific language governing permissions and limitations 1N/A ('DEFAULT', 'admin_bind_host'): ('eventlet_server', 'admin_bind_host'), 1N/A ('DEFAULT', 'admin_workers'): ('eventlet_server', 'admin_workers'), 1N/A ('DEFAULT', 'admin_port'): ('eventlet_server', 'admin_port'), 1N/A ('DEFAULT', 'tcp_keepidle'): ('eventlet_server', 'tcp_keepidle'), 1N/A ('ssl', 'cert_required'): ('eventlet_server_ssl', 'cert_required'), 1N/A ('DEFAULT', 'public_port'): ('eventlet_server', 'public_port'), 1N/A ('DEFAULT', 'public_bind_host'): ('eventlet_server', 'public_bind_host'), 1N/A ('DEFAULT', 'tcp_keepalive'): ('eventlet_server', 'tcp_keepalive'), 1N/A ('DEFAULT', 'public_workers'): ('eventlet_server', 'public_workers'), 1N/A ('ssl', 'keyfile'): ('eventlet_server_ssl', 'keyfile'), 1N/A ('ssl', 'ca_certs'): ('eventlet_server_ssl', 'ca_certs'), 1N/A ('ssl', 'enable'): ('eventlet_server_ssl', 'enable'), 1N/A ('ssl', 'certfile'): ('eventlet_server_ssl', 'certfile'), 1N/A ('DEFAULT', 'max_request_body_size'): 1N/A ('oslo_middleware', 'max_request_body_size'), 1N/A ('assignment', 'list_limit'): ('resource', 'list_limit'), 1N/A ('assignment', 'caching'): ('resource', 'caching'), 1N/A ('assignment', 'cache_time'): ('resource', 'cache_time'), 1N/A ('token', 'revocation_cache_time'): ('revoke', 'cache_time'), 1N/A ('eventlet_server', 'public_workers'),
1N/A ('eventlet_server', 'admin_workers'),
1N/A ('database', 'connection'),
1N/A # extract the openstack-upgrade-id from the pkg 1N/A # No need to upgrade 1N/A # look for any .new files 1N/A # the versions are different, so perform an upgrade 1N/A # modify the configuration files 1N/A # backup all the old configuration files 1N/A # In certain cases the database section does not exist and the 1N/A # default database chosen is sqlite. 1N/A print "altered character set to utf8 in keystone tables" 1N/A # update the current version print 'Unknown error: %s' %
err