neutron-upgrade revision 4651
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', 'matchmaker_ringfile'): ('matchmaker_ring', 'ringfile'), 3998N/A # As of Juno, EVS now uses the standard quota driver 4285N/A ('keystone_authtoken', 'auth_uri'),
4285N/A ('keystone_authtoken', 'identity_uri'),
4285N/A ('keystone_authtoken', 'admin_tenant_name'),
4285N/A ('keystone_authtoken', 'admin_user'),
4285N/A ('keystone_authtoken', 'admin_password'),
4285N/A ('keystone_authtoken', 'signing_dir'),
3998N/A ('DEFAULT', 'dnsmasq_dns_server'): ('DEFAULT', 'dnsmasq_dns_servers'), 3998N/A # No longer referenced by the service 4285N/A ('DEFAULT', 'enable_metadata_proxy'),
4285N/A ('DEFAULT', 'auth_region'),
4285N/A ('DEFAULT', 'admin_tenant_name'),
4285N/A ('DEFAULT', 'admin_password'),
4285N/A ('DEFAULT', 'metadata_workers'),
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. 4651N/A print "WARNING: Neutron database is on sqlite" 4651N/A print "which is not a supported backend for" 4651N/A print "Solaris Openstack. Please make sure" 4651N/A print "to migrate to MySQL after upgrade to Juno" 4651N/A # Need this else part because this code path is exercised 4651N/A # during fresh install of Juno, when the 4651N/A # [database].connection is set to default mysql 3998N/A # migrate EVS to Neutron db 3998N/A print "EVS to Neutron migration complete" 3998N/A print "altered character set to utf8 in neutron tables" 3998N/A # update the current version