Skip to content

Commit

Permalink
Merge pull request #985 from bogdando/tripleo_multi_stack
Browse files Browse the repository at this point in the history
Fix post deployment hook for /etc/hosts in multi-stack
  • Loading branch information
openshift-merge-bot[bot] authored Jan 9, 2025
2 parents 00f5fc0 + 76ae8c5 commit b989130
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions devsetup/tripleo/tripleo_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,13 @@ if [ $EDPM_COMPUTE_CELLS -gt 1 ] ; then
done
done

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

0 comments on commit b989130

Please sign in to comment.