commit 41ee8b99ecd0ecf5b878eb38e51a5fc47e7f5dad
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
Related-Bug: #2030094
Change-Id: I1930b0b96f65cb627f896db67dddc6370cf6a413
(cherry picked from commit 4d5581438ad216a0de69c0959e05e0b8a76bc9aa)
(cherry picked from commit 3905f0a6ae35257257b1dd5ccc275f4c26678b16)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- openstack- dashboard/ +/903520 /opendev. org/openstack/ charm-openstack -dashboard/ commit/ 41ee8b99ecd0ecf 5b878eb38e51a5f c47e7f5dad
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 41ee8b99ecd0ecf 5b878eb38e51a5f c47e7f5dad
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) 257b1dd5ccc275f 4c26678b16)
Related-Bug: #2030094
Change-Id: I1930b0b96f65cb
(cherry picked from commit 4d5581438ad216a
(cherry picked from commit 3905f0a6ae35257