commit 4d5581438ad216a0de69c0959e05e0b8a76bc9aa
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/ +/903506 /opendev. org/openstack/ charm-openstack -dashboard/ commit/ 4d5581438ad216a 0de69c0959e05e0 b8a76bc9aa
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 4d5581438ad216a 0de69c0959e05e0 b8a76bc9aa
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
Related-Bug: #2030094
Change-Id: I1930b0b96f65cb