ansible-openstack
Requirements
Install Ansible collections:
Generate secrets by run ansible locally:
Next create certificate authority and save the key at /etc/openstack-ca/private/ca.key
and the certificate at /etc/openstack-ca/certs/ca.crt on the ca node. This can be done manually or
with the copy_ca.yml playbook. Remember to use the passphrase from secrets_ca_key_pass to encrypt the key.
To install the certificate authority into the system and start a few initial tasks run:
Finally restart all nodes.
Installation
Discover new compute nodes
Upgrade
Set bootstrap_openstack_release to new release and run:
This will install the new package repository. Next upgrade OpenStack and run the database migrations for the new release by executing:
Upgrade all other packages and restart at least httpd:
ansible controller_nodes -m systemd -b -a "name=httpd state=restarted"
Finally remove the old package repository:
sudo dnf repository-packages centos-openstack-ussuri remove-or-reinstall
sudo dnf remove centos-release-openstack-ussuri