Upgrading to a new Release
Train -> Xena
If you're running centos7, this will be annoying. This involves a major openstack version upgrade, python2->python3 upgrade, and host-os upgrade.
Backup
On the controller node, back up the following.
/etc/ansible/etc/kollayour mysql DB
mariadb
https://docs.openstack.org/kolla-ansible/latest/admin/mariadb-backup-and-restore.html
./cc-ansible mariadb_backup
docker run --rm -it \
-v mariadb_backup:/mariadb_backup:ro \
-v /tmp/backup:/backup \
ubuntu:latest bash
# copy the latest backup from `/mariadb_backup to /backup`On the Deploy node, back up the following:
your git checkout of
chi-in-a-boxyour
site-configdirectory, especially including thevault_password
Clean up the controller nodes
Ubuntu 20.04
Check out new chi-in-a-box
Once you've backed up your chi-in-a-box directory, run the following commands to get the latest code, and clean up leftover files.
Update passwords.yml
We need to set some new passwords that the new version requires. The kolla-mergepwd command will pull in values that are set in site-config.example, but missing from your passwords file.
each line that looks like: key: null should be modified to look like key:
Update inventory/hosts
Get new containers, and deploy services
Last updated