commit 3987f597823c8760e953717d0a7d9ab64a913435
Author: Dan Smith <email address hidden>
Date: Thu Aug 30 14:18:16 2018 -0700
Move conductor wait_until_ready() delay before manager init
The Service base class already waits for conductor to be responsive
before allowing service startup to continue. However, it does this
after the manager __init__, which could do some things expecting
conductor to be up (and does now in compute). This moves the check
and wait loop above the manager init so we don't start anything in
the manager until we know conductor is alive.
Change-Id: Ib56fdb38839434d504fadccbeda65ab2e267b514
Closes-Bug: #1789484
(cherry picked from commit df058720434cdca2726eb8c16f323a98bfc73ce3)
Reviewed: https:/ /review. openstack. org/599064 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=3987f597823 c8760e953717d0a 7d9ab64a913435
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 3987f597823c876 0e953717d0a7d9a b64a913435
Author: Dan Smith <email address hidden>
Date: Thu Aug 30 14:18:16 2018 -0700
Move conductor wait_until_ready() delay before manager init
The Service base class already waits for conductor to be responsive
before allowing service startup to continue. However, it does this
after the manager __init__, which could do some things expecting
conductor to be up (and does now in compute). This moves the check
and wait loop above the manager init so we don't start anything in
the manager until we know conductor is alive.
Change-Id: Ib56fdb38839434 d504fadccbeda65 ab2e267b514 2726eb8c16f323a 98bfc73ce3)
Closes-Bug: #1789484
(cherry picked from commit df058720434cdca