Skip to content

Commit 49703a0

Browse files
Merge pull request #923 from bogdando/debug
Fix hostnamemap for multi-stack tripleo deploy
2 parents 2e5f7d6 + 75ede13 commit 49703a0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

devsetup/tripleo/overcloud_services_cell.j2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ parameter_defaults:
7979
NeutronTunnelTypes: geneve
8080
NeutronBridgeMappings: datacentre:br-ex
8181

82+
CellControllerComputeHostnameFormat: '%stackname%-controller-compute-%index%'
83+
CellControllerHostnameFormat: '%stackname%-controller-%index%'
84+
ComputeHostnameFormat: '%stackname%-compute-%index%'
85+
ControllerHostnameFormat: '%stackname%-controller-%index%'
86+
8287
# If tripleo_networking, update the existing os-net-config on deployed servers for tripleo isolnet
8388
# This should also work for CI, where we initially configure zuul subnodes with os-net-config,
8489
# but is mostly targeting local libvirt or cloud deployments (without zuul and ci-framework)

devsetup/tripleo/tripleo_install.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,6 @@ if [ "$EDPM_COMPUTE_CEPH_ENABLED" = "true" ] ; then
108108
# add hci role for ceph nodes
109109
hostnamemap="$hostnamemap\r ComputeHCIHostnameFormat: '%stackname%-computehci-%index%'"
110110
fi
111-
if [ $EDPM_COMPUTE_CELLS -gt 1 ] ; then
112-
hostnamemap="$hostnamemap\r ComputeHostnameFormat: '%stackname%-compute-%index%'\r"
113-
hostnamemap="$hostnamemap\r CellControllerComputeHostnameFormat: '%stackname%-controller-compute-%index%'\r"
114-
hostnamemap="$hostnamemap\r CellControllerHostnameFormat: '%stackname%-controller-%index%'\r"
115-
fi
116111

117112
if [ $networker_nodes == "TRUE" ]; then
118113
cdfiles=($(ls -1 config-download-networker*.yaml))

0 commit comments

Comments
 (0)