Currently, the private-address for the local unit is queried using
unit_get, which can cause it to return an address from a different
binding. This patch changes it to always query from the relation.
Depends-on: I9a9efdb5c7e5d3db6dbad11413782b6e07a335c4
Closes-bug: #2020669
Change-Id: I128420c572d5491b9af4cf34614f4534c787d02c
(cherry picked from commit 71100249ee236302ff09d90d49ec66c2fb846829)
(cherry picked from commit 7ff0d9b1c0d2114c580fb9bac370d4bb9f2fc514)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- hacluster/ +/899183 /opendev. org/openstack/ charm-hacluster /commit/ cc36dea297b709d 05408dceef733e4 86f6f82f82
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/focal
commit cc36dea297b709d 05408dceef733e4 86f6f82f82
Author: Tiago Pasqualini <email address hidden>
Date: Tue May 23 12:14:25 2023 -0300
Get private-address for local unit from relation
Currently, the private-address for the local unit is queried using
unit_get, which can cause it to return an address from a different
binding. This patch changes it to always query from the relation.
Depends-on: I9a9efdb5c7e5d3 db6dbad11413782 b6e07a335c4 1b9af4cf34614f4 534c787d02c 2ff09d90d49ec66 c2fb846829) c580fb9bac370d4 bb9f2fc514)
Closes-bug: #2020669
Change-Id: I128420c572d549
(cherry picked from commit 71100249ee23630
(cherry picked from commit 7ff0d9b1c0d2114