d7ad73ed35
* Remove the all-in-one case and implement the full workflow for N to O upgrade. * Fix nits in overcloud-repo and add ansible-pacemaker * Remove old and useless workaround * Remove external dependencies, this role is a post deployment role it should be able to be call independently, outside of a quickstart deployment Change-Id: Ia2b1f5deb58560c51046dea3fc77996b08ad75a2
18 lines
575 B
Django/Jinja
18 lines
575 B
Django/Jinja
#!/bin/bash
|
|
|
|
set -eux
|
|
# Undercloud upgrade script.
|
|
# Those steps is for the major mariadb upgrade in mitaka
|
|
sudo systemctl stop 'openstack-*'
|
|
sudo systemctl stop 'neutron-*'
|
|
sudo systemctl stop httpd
|
|
|
|
#if you are going to do a backwards compatibility install save the old tht dir
|
|
# cp -r /usr/share/openstack-tripleo-heat-templates ~/tht
|
|
|
|
# update instack-undercloud and friends before running the upgrade
|
|
sudo yum -y update instack-undercloud openstack-puppet-modules openstack-tripleo-common python-tripleoclient
|
|
|
|
echo "Upgrade the undercloud"
|
|
openstack undercloud upgrade
|