Reviewed: https://review.opendev.org/748146 Committed: https://git.openstack.org/cgit/openstack/charm-neutron-api/commit/?id=e7c233c846f54606181fdb60d37ab9038fb1c032 Submitter: Zuul Branch: stable/20.08
commit e7c233c846f54606181fdb60d37ab9038fb1c032 Author: Edward Hope-Morley <email address hidden> Date: Wed Aug 26 10:42:40 2020 +0100
Fix db init notifications
Ensures that leader does not respond to db init notifications to avoid infitinite looping after leader switches to a different unit.
Also ensures that leader only restarts its neutron-server once on db init.
Closes-Bug: #1893008
Change-Id: I59b9d5e0caab62b72380879bf16cb0fd8703bb32 (cherry picked from commit 104626a19f7edbdee04725ec502f74c54bbfedd2)
Reviewed: https:/ /review. opendev. org/748146 /git.openstack. org/cgit/ openstack/ charm-neutron- api/commit/ ?id=e7c233c846f 54606181fdb60d3 7ab9038fb1c032
Committed: https:/
Submitter: Zuul
Branch: stable/20.08
commit e7c233c846f5460 6181fdb60d37ab9 038fb1c032
Author: Edward Hope-Morley <email address hidden>
Date: Wed Aug 26 10:42:40 2020 +0100
Fix db init notifications
Ensures that leader does not respond to db init
notifications to avoid infitinite looping after
leader switches to a different unit.
Also ensures that leader only restarts its neutron-server
once on db init.
Closes-Bug: #1893008
Change-Id: I59b9d5e0caab62 b72380879bf16cb 0fd8703bb32 ee04725ec502f74 c54bbfedd2)
(cherry picked from commit 104626a19f7edbd