When deploying keystone for the first time, aliveness check inside
service_bootstrap can not succeed for multi-node setup, as playbook
will disable current backend. So we need to bootstrap host only
when running against last host in play. We also should make sure, that
following tasks will not fail when running against first ones.
Reviewed: https:/ /review. opendev. org/c/openstack /openstack- ansible- os_keystone/ +/858385 /opendev. org/openstack/ openstack- ansible- os_keystone/ commit/ 7868766202b8020 5574efa66deb217 ab2491d5c2
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 7868766202b8020 5574efa66deb217 ab2491d5c2
Author: Dmitriy Rabotyagov <email address hidden>
Date: Mon Sep 19 16:08:46 2022 +0200
Bootstrap when running against last backend
When deploying keystone for the first time, aliveness check inside bootstrap can not succeed for multi-node setup, as playbook
service_
will disable current backend. So we need to bootstrap host only
when running against last host in play. We also should make sure, that
following tasks will not fail when running against first ones.
Closes-Bug: #1990008 25a5e24c30cae47 d3f0fa0739f
Related-Bug: #1989326
Change-Id: Ifa9a79c34265b2