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/ +/881081 /opendev. org/openstack/ charm-placement /commit/ 53ac8872f1d5a29 bddd6c23d61c592 0e92e9c615
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit 53ac8872f1d5a29 bddd6c23d61c592 0e92e9c615
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