HostnameMap can result in partial replacement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Zane Bitter | ||
tripleo |
Fix Released
|
High
|
Steven Hardy |
Bug Description
If you're using HostnameMap it's possible for the results to be wrong, consider:
parameter_defaults:
HostnameMap:
overcloud-
overcloud-
...
overcloud-
In this situation, the str_replace in puppet/compute.yaml does a partial replacement of "overcloud-
A workaround for this is probably to add a trailing character to the HostnameFormat parameter, e.g:
parameter_defaults:
ComputeHostna
HostnameMap:
overcloud-
overcloud-
...
overcloud-
It'd be better if we could handle this inside the templates though
Changed in tripleo: | |
assignee: | nobody → Steven Hardy (shardy) |
milestone: | none → newton-3 |
status: | New → Triaged |
importance: | Undecided → High |
affects: | tripleo → heat |
Changed in heat: | |
milestone: | newton-3 → none |
Changed in tripleo: | |
importance: | Undecided → High |
status: | New → Triaged |
status: | Triaged → Confirmed |
assignee: | nobody → Steven Hardy (shardy) |
Changed in heat: | |
assignee: | Steven Hardy (shardy) → Giulio Fidente (gfidente) |
status: | Triaged → In Progress |
Changed in heat: | |
assignee: | Giulio Fidente (gfidente) → Zane Bitter (zaneb) |
We can't append a char by default in the templates though as it might break on upgrade