commit 4b428abc59481c032fd89e990545234c05232e72
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/ +/903457 /opendev. org/openstack/ charm-openstack -dashboard/ commit/ 4b428abc59481c0 32fd89e99054523 4c05232e72
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit 4b428abc59481c0 32fd89e99054523 4c05232e72
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