#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import glob
('DEFAULT', 'bind_port'),
('DEFAULT', 'workers'),
]
('DEFAULT', 'bind_port'),
('DEFAULT', 'workers'),
]
('dispersion', 'auth_url'),
('dispersion', 'auth_user'),
('dispersion', 'auth_key'),
]
('DEFAULT', 'bind_port'),
('DEFAULT', 'workers'),
]
('DEFAULT', 'bind_port'),
('filter:authtoken', 'auth_uri'),
('filter:authtoken', 'identity_uri'),
('filter:authtoken', 'admin_tenant_name'),
('filter:authtoken', 'admin_user'),
('filter:authtoken', 'admin_password'),
('filter:authtoken', 'delay_auth_decision'),
('filter:authtoken', 'cache'),
('filter:authtoken', 'include_service_catalog'),
('filter:authtoken', 'signing_dir'),
]
('swift-hash', 'swift_hash_path_suffix'),
('swift-hash', 'swift_hash_path_prefix'),
('storage-policy:0', 'name'),
('storage-policy:0', 'default'),
]
# pull out the current version of config/upgrade-id
# extract the openstack-upgrade-id from the pkg
# 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
# update the current version
if __name__ == '__main__':
try:
print 'Unknown error: %s' % err
print