openstack-ansible-os_nova/templates
Andrew Bonney 61be9e722d Change ordering of /etc/ operations to improve upgrades
This change matches an earlier modification to os_neutron

Currently we symlink /etc/<service> to empty directory at pre-stage,
and filling it with config only during post_install. This means,
that policies and rootwrap filters are not working properly until
playbook execution finish. Additionally, we replace sudoers file
with new path in it, which makes current operations impossible for
the service, since rootwrap can not gain sudo privileges.

With this change we move symlinking and rootwrap steps to handlers,
which means that we will do replace configs while service is stopped.

During post_install we place all of the configs inside the venv,
which is versioned at the moment.

This way we minimise downtime of the service while performing upgrades

Closes-Bug: #2056180

Change-Id: I9c8212408c21e09895ee5805011aecb40b689a13
2024-11-13 13:48:26 +00:00
..
libvirtd.conf.j2 Enable TLS for live migrations 2021-11-09 09:11:24 +00:00
nova-key-insert.sh.j2 Clean final newline when distributing SSH keys 2016-08-22 10:05:20 -03:00
nova.conf.j2 Change ordering of /etc/ operations to improve upgrades 2024-11-13 13:48:26 +00:00
qemu.conf.j2 Remove calico driver reference 2023-04-04 13:27:03 +02:00
ssh_config.j2 Allow to apply custom configuration to Nova SSH config 2024-09-27 12:58:02 +00:00
sudoers.j2 Add privsep-helper to nova sudoers file 2019-03-31 21:24:27 -04:00
vendor_data.json.j2 Added vendor_data.json support 2018-03-06 14:57:40 -05:00