Convert *tasks from bootstrap_nodeid to short_bootstrap_node_name
The current approach has several disadvantages:
- Requires shelling out to the hiera CLI, and is coupled to the puppet hieradata
- The bootstrap_nodeid is only unique per Role, not per service, so if you
deploy a service spanning more than one role it will evaluate true for
every role, not only once.
Instead lets use the per-service short_bootstrap_node_name, which is
available directly via the ansible inventory now ref https://review.openstack.org/#/c/605046/
This is the first part of a cleanup for inconsistent handling of
bootstrap node evaluation, triggered by bug #1792613
Reviewed: https:/ /review. openstack. org/605430 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=52c1641e2c3 ad5caeb70fc8a09 f29eba6fe5b53d
Committed: https:/
Submitter: Zuul
Branch: master
commit 52c1641e2c3ad5c aeb70fc8a09f29e ba6fe5b53d
Author: Steven Hardy <email address hidden>
Date: Wed Sep 26 14:52:14 2018 +0100
Convert *tasks from bootstrap_nodeid to short_bootstrap _node_name
The current approach has several disadvantages:
- Requires shelling out to the hiera CLI, and is coupled to the puppet hieradata
- The bootstrap_nodeid is only unique per Role, not per service, so if you
deploy a service spanning more than one role it will evaluate true for
every role, not only once.
Instead lets use the per-service short_bootstrap _node_name, which is /review. openstack. org/#/c/ 605046/
available directly via the ansible inventory now ref
https:/
This is the first part of a cleanup for inconsistent handling of
bootstrap node evaluation, triggered by bug #1792613
Change-Id: Iefe4a37e8ced6f 4e9018ae0da00e2 349390d4927 ff9e0bf10f4c43c 71eff9364ec
Partial-Bug: #1792613
Depends-On: Idcee177b21e85c