commit 77273f067d96a4ec401c3b36f2922d63c4ad7103
Author: Dan Smith <email address hidden>
Date: Thu Aug 11 09:50:30 2022 -0700
Unify placement client singleton implementations
We have many places where we implement singleton behavior for the
placement client. This unifies them into a single place and
implementation. Not only does this DRY things up, but may cause us
to initialize it fewer times and also allows for emitting a common
set of error messages about expected failures for better
troubleshooting.
Change-Id: Iab8a791f64323f996e1d6e6d5a7e7a7c34eb4fb3
Related-Bug: #1846820
(cherry picked from commit c178d9360665c219cbcc71c9f37b9e6e3055a5e5)
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /858997 /opendev. org/openstack/ nova/commit/ 77273f067d96a4e c401c3b36f2922d 63c4ad7103
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit 77273f067d96a4e c401c3b36f2922d 63c4ad7103
Author: Dan Smith <email address hidden>
Date: Thu Aug 11 09:50:30 2022 -0700
Unify placement client singleton implementations
We have many places where we implement singleton behavior for the ting.
placement client. This unifies them into a single place and
implementation. Not only does this DRY things up, but may cause us
to initialize it fewer times and also allows for emitting a common
set of error messages about expected failures for better
troubleshoo
Change-Id: Iab8a791f64323f 996e1d6e6d5a7e7 a7c34eb4fb3 9cbcc71c9f37b9e 6e3055a5e5)
Related-Bug: #1846820
(cherry picked from commit c178d9360665c21