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/ +/881080 /opendev. org/openstack/ charm-placement /commit/ 16ddbb0c856bc4a 95a44326462502e a1228ada81
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit 16ddbb0c856bc4a 95a44326462502e a1228ada81
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