When updating parameters for roles, a fixed set of parameters based
on the standard roles (Compute, Control, Ceph-Storage, ...) was used to
name the count and flavor params. This didn't account for custom roles.
This patch changes this to derive the parameter names based on
convention, so updating count/flavor params for custom roles doesn't
break.
Change-Id: Iee172782ed8faa1eb077f43132083e5c6af67250
Closes-Bug: #1643882
(cherry picked from commit 10ee43e413a04cdb359ff9125c4f0f99ab4d5383)
Reviewed: https:/ /review. openstack. org/402725 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=0b91362f0f2 3961de16f40929b eb85132d1f70a6
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 0b91362f0f23961 de16f40929beb85 132d1f70a6
Author: Florian Fuchs <email address hidden>
Date: Fri Nov 25 15:58:57 2016 +0100
Fix parameter update for custom roles
When updating parameters for roles, a fixed set of parameters based
on the standard roles (Compute, Control, Ceph-Storage, ...) was used to
name the count and flavor params. This didn't account for custom roles.
This patch changes this to derive the parameter names based on
convention, so updating count/flavor params for custom roles doesn't
break.
Change-Id: Iee172782ed8faa 1eb077f43132083 e5c6af67250 b359ff9125c4f0f 99ab4d5383)
Closes-Bug: #1643882
(cherry picked from commit 10ee43e413a04cd