Fix predictable placement indexing
authorBen Nemec <bnemec@redhat.com>
Mon, 26 Sep 2016 21:40:20 +0000 (16:40 -0500)
committerBen Nemec <bnemec@redhat.com>
Mon, 26 Sep 2016 21:40:20 +0000 (16:40 -0500)
commit3d05733dd3db118a328a5fcb5199cdd0f1027ea4
tree3cceb250a1f8ff3548f2294de172631629035812
parent546683fdc91c5f3269d69b781cd667a4ed21a163
Fix predictable placement indexing

As noted in the bug, predictable placement is broken right now
because the %index% in the scheduler hint isn't being interpolated.
This is because the parameter was moved from overcloud.yaml to the
service-specific files, which doesn't provide the index value.

Because the Compute role's parameter is named NovaCompute... we also
have to include some backwards compatibility logic to handle the
mismatch.

Change-Id: Ibee2949fe4c6c707203d7250e2ce169c769b1dcd
Closes-Bug: 1627858
overcloud.j2.yaml