Before the update-status hook would run handlers that are expected to
run when the configuration changes or relations added/removed.
The update-status hook doesn't hold the machine lock which makes
concurrent hook executions possible and seen in the gate where for
example multiple "apt-get" executions trying to acquire dpkg's lock.
Reviewed: https:/ /review. opendev. org/c/openstack /charm- placement/ +/881079 /opendev. org/openstack/ charm-placement /commit/ d8552bacd794046 1f98aa25b20dd2e b71d7f7f4a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/zed
commit d8552bacd794046 1f98aa25b20dd2e b71d7f7f4a
Author: Felipe Reyes <email address hidden>
Date: Tue Apr 18 09:58:25 2023 -0400
Prevent update-status to run unrequired handlers
Before the update-status hook would run handlers that are expected to
run when the configuration changes or relations added/removed.
The update-status hook doesn't hold the machine lock which makes
concurrent hook executions possible and seen in the gate where for
example multiple "apt-get" executions trying to acquire dpkg's lock.
Closes-Bug: #2016893 ea2db8de4f1b612 601aacb568d
Change-Id: I63bfd9903057cb