Skip to content

Commit b989130

Browse files
Merge pull request #985 from bogdando/tripleo_multi_stack
Fix post deployment hook for /etc/hosts in multi-stack
2 parents 00f5fc0 + 76ae8c5 commit b989130

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

devsetup/tripleo/tripleo_install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,13 @@ if [ $EDPM_COMPUTE_CELLS -gt 1 ] ; then
273273
done
274274
done
275275

276+
# NOTE: tripleo_stack_name only used in start/end markers. Make it non-conflicting to overcloud and cells entries.
276277
echo "ensure /etc/hosts records are up-to-date in the main stack"
277278
ANSIBLE_REMOTE_USER="tripleo-admin" ansible allovercloud \
278279
-i /home/zuul/inventories -m include_role \
279280
-a name=tripleo_hosts_entries \
281+
-e tripleo_stack_name=all \
282+
-e role_networks='["InternalApi"]' \
280283
-e hostname_resolve_network=ctlplane -e plan=overcloud \
281284
-e @/home/zuul/overcloud-deploy/overcloud/config-download/overcloud/global_vars.yaml
282285
fi

0 commit comments

Comments
 (0)