openstack-ansible-os_neutron/handlers
Dmitriy Rabotyagov 5763885453 Change task ordering to perform smooth upgrades
Currently we symlink /etc/neutron 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

Change-Id: I6d1686ab79647acfc086f21864bde14c8a1a1a49
2021-05-13 09:07:20 +00:00
..
main.yml Change task ordering to perform smooth upgrades 2021-05-13 09:07:20 +00:00