I can't tell you in detail, but the 'kolla_action' is what you specify i.e. reconfigure, deploy, upgrade, and that translates to a playbook, called from tasks/main.yml. Each role has tasks/upgrade.yml tasks/deploy.yml etc which you can inspect for the differences. In my case this is in /usr/local/share/kolla-ansible/ansible/roles/ Also, running kolla-ansible by itself gives you a brief description: deploy Deploy and start all kolla containers reconfigure Reconfigure OpenStack service upgrade Upgrades existing OpenStack Environment Also you can look at links like https://docs.openstack.org/project-deploy-guide/kolla-ansible/latest/quickst... https://docs.openstack.org/kolla-ansible/latest/user/operating-kolla.html On 14/5/24 11:25, Nguyễn Hữu Khôi wrote:
Hello.
I confuse with using deploy and upgrade option when do upgrade. Can you explain what are differences?
TY
Nguyen Huu Khoi
On Tue, May 14, 2024 at 10:14 AM Gregory Orange <gregory.orange@pawsey.org.au <mailto:gregory.orange@pawsey.org.au>> wrote:
To upgrade, we do this:
* upgrade kolla-ansible on the deployment host (pip install "kolla-ansible==11.*") * get the new version's copy of etc_examples/globals.yml * apply settings from our own globals.yml to it * generate and merge passwords * take a backup of the databases with mysqldump for convenience * kolla-ansible -i /etc/ansible/hosts upgrade --limit control
We also have a couple of postdeploy scripts we run to ensure our logos are installed and other minor things.
We're a little behind the times though - I've just done that today ussuri to victoria. Now continuing with '... upgrade --limit compute-r1' etc to do compute nodes one rack at a time for safety. I wonder how much has changed between victoria and now, and I intend to experience it over the next few months!
HTH, Greg.
On 13/5/24 22:22, Nguyễn Hữu Khôi wrote: > Hello. > > I read this doc about upgrading openstack > > https://docs.openstack.org/kolla-ansible/latest/user/operating-kolla.html <https://docs.openstack.org/kolla-ansible/latest/user/operating-kolla.html> <https://docs.openstack.org/kolla-ansible/latest/user/operating-kolla.html <https://docs.openstack.org/kolla-ansible/latest/user/operating-kolla.html>> > > But I would like to know if > > We install a new kolla-ansible(version to upgrade) on the new deployment > host, apply changes with password.yml, global.yml and multinode and keep > old /etc/kolla/config. Finally, we use kolla-ansible deploy instead of > kolla-ansible upgrade. > > Are these steps ok? Pls correct me if I am wrong. > > Thank you. Regards > > Nguyen Huu Khoi
-- Gregory Orange
System Administrator, Scientific Platforms Team Pawsey Supercomputing Centre, CSIRO
-- Gregory Orange System Administrator, Scientific Platforms Team Pawsey Supercomputing Centre, CSIRO