commit 8ca3b075644109795d2c2f277f0bf857c1bd6b88
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)
(cherry picked from commit 3987f597823c8760e953717d0a7d9ab64a913435)
Reviewed: https:/ /review. openstack. org/599200 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=8ca3b075644 109795d2c2f277f 0bf857c1bd6b88
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 8ca3b0756441097 95d2c2f277f0bf8 57c1bd6b88
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) 0e953717d0a7d9a b64a913435)
Closes-Bug: #1789484
(cherry picked from commit df058720434cdca
(cherry picked from commit 3987f597823c876