can anyone guide me what are the tasks required for configuring nova service in OSA, so that I want to execute only those tasks and db steps , skipping the package installation steps. So I need to run nova playbook just to configure the nova like nova.conf, populating it with relevant options, do nova db migrate and then just restart the services. Is there a way to do it ? Thanks elinux
Hey, So first of all, the default playbook and role is idempotent, so you can safely re-run it for hosts/service re-configuration. However, you can skip a specific set of tasks by leveraging Ansible tags functionality. For instance, you can run `openstack-ansible os-nova-install.yml --tags nova-config` which will skip package installation/upgrade steps along with a significant set of steps. Starting with 2024.1 (Caracal) release we've also added `post-install` tag universally for all roles, which will execute only post_tasks, which is mainly limited to config files update. It can be used to save up time for service re-configurations and was introduced for migration from HA queues to Quorum Queues for RabbitMQ. Hope this helps. пн, 6 янв. 2025 г. в 15:46, engineer2024 <engineerlinux2024@gmail.com>:
can anyone guide me what are the tasks required for configuring nova service in OSA, so that I want to execute only those tasks and db steps , skipping the package installation steps.
So I need to run nova playbook just to configure the nova like nova.conf, populating it with relevant options, do nova db migrate and then just restart the services. Is there a way to do it ?
Thanks elinux
Much appreciated. Thanks bro On Mon, 6 Jan 2025, 22:08 Dmitriy Rabotyagov, <noonedeadpunk@gmail.com> wrote:
Hey,
So first of all, the default playbook and role is idempotent, so you can safely re-run it for hosts/service re-configuration. However, you can skip a specific set of tasks by leveraging Ansible tags functionality. For instance, you can run `openstack-ansible os-nova-install.yml --tags nova-config` which will skip package installation/upgrade steps along with a significant set of steps. Starting with 2024.1 (Caracal) release we've also added `post-install` tag universally for all roles, which will execute only post_tasks, which is mainly limited to config files update. It can be used to save up time for service re-configurations and was introduced for migration from HA queues to Quorum Queues for RabbitMQ.
Hope this helps.
пн, 6 янв. 2025 г. в 15:46, engineer2024 <engineerlinux2024@gmail.com>:
can anyone guide me what are the tasks required for configuring nova
so that I want to execute only those tasks and db steps , skipping the
service in OSA, package installation steps.
So I need to run nova playbook just to configure the nova like
nova.conf, populating it with relevant options, do nova db migrate and then just restart the services. Is there a way to do it ?
Thanks elinux
participants (2)
-
Dmitriy Rabotyagov
-
engineer2024