This patch gates many of the 'active' handlers when the update-status
hook is running. This is to prevent the charm from making changes to
services, re-rendering configs, or updating relations (or attempting to
act on them) during an update-status hook. This also speeds up the
update status so that it only does checking. The related bug is an
example of what can happen if handlers are not masked during
update-status.
Reviewed: https:/ /review. opendev. org/752004 /git.openstack. org/cgit/ openstack/ charm-octavia/ commit/ ?id=4779fe5d7a1 7d19e420c873401 a91d042d358cfd
Committed: https:/
Submitter: Zuul
Branch: master
commit 4779fe5d7a17d19 e420c873401a91d 042d358cfd
Author: Alex Kavanagh <email address hidden>
Date: Tue Sep 15 10:37:02 2020 +0100
Gate reactive handlers on update-status
This patch gates many of the 'active' handlers when the update-status
hook is running. This is to prevent the charm from making changes to
services, re-rendering configs, or updating relations (or attempting to
act on them) during an update-status hook. This also speeds up the
update status so that it only does checking. The related bug is an
example of what can happen if handlers are not masked during
update-status.
Change-Id: Ibabc74f9cd8c01 30bcea76c455c17 9af31bc96a7
Related-Bug: #1895628