commit 617fbcc8a0f50d30d0aad1ba679dcbd7cbd41a47
Author: Felipe Reyes <email address hidden>
Date: Tue Dec 12 11:06:29 2023 -0300
Run relation_set() in dashboard_relation_changed() on leader
The commit 484b7d8260 introduced a new relation that relies on an
application databag to exchange data, although only the leader can write
to it, and the original patch didn't guard the relation_set() call with
a is_leader(), this patch addresses that problem wich produces a hook
failure on follower units when openstack-dashboard is deployed in HA.
Reviewed: https:/ /review. opendev. org/c/openstack /charm- openstack- dashboard/ +/903456 /opendev. org/openstack/ charm-openstack -dashboard/ commit/ 617fbcc8a0f50d3 0d0aad1ba679dcb d7cbd41a47
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/zed
commit 617fbcc8a0f50d3 0d0aad1ba679dcb d7cbd41a47
Author: Felipe Reyes <email address hidden>
Date: Tue Dec 12 11:06:29 2023 -0300
Run relation_set() in dashboard_ relation_ changed( ) on leader
The commit 484b7d8260 introduced a new relation that relies on an
application databag to exchange data, although only the leader can write
to it, and the original patch didn't guard the relation_set() call with
a is_leader(), this patch addresses that problem wich produces a hook
failure on follower units when openstack-dashboard is deployed in HA.
Closes-Bug: #2046257 627f896db67dddc 6370cf6a413 0de69c0959e05e0 b8a76bc9aa)
Related-Bug: #2030094
Change-Id: I1930b0b96f65cb
(cherry picked from commit 4d5581438ad216a