#
# 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.
# pull out the current version of config/upgrade-id
# extract the openstack-upgrade-id from the pkg
# No need to upgrade
# In versions of OpenStack prior to Mitaka, 'openstack-dashboard-http.conf'
# and 'openstack-dashboard-tls.conf' were delivered by the
# in Apache's conf.d directory. If either are found, exit the service
# degraded so the administrator can investigate why.
'Starting with the Mitaka release, Horizon is now a ' + \
'stand-alone service and should be configured ' + \
'independently from the ' + \
'removed before restarting the ' + \
# update the current version
if __name__ == '__main__':
try:
print 'Unknown error: %s' % err
print