commit d1bd56a2f206ce3d5b9af3938d9cd6c65d9787dd
Author: James Slagle <email address hidden>
Date: Tue Nov 1 17:21:55 2016 -0400
Fix nodes count check on stack-update with custom roles
When using custom roles, there is no requirement that you have a role
called Controller, Compute, ObjectStorage, BlockStorage, or CephStorage.
However, this list is hardcoded in tripleoclient and it is assumed there
are corresponding *Count parameters for these roles names then the nodes
count check validation is performed on stack-update.
This patch parses the roles_data.yaml file if one was specified and gets the
default role count parameters from that file.
Reviewed: https:/ /review. openstack. org/392313 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=d1bd56a2f20 6ce3d5b9af3938d 9cd6c65d9787dd
Committed: https:/
Submitter: Jenkins
Branch: master
commit d1bd56a2f206ce3 d5b9af3938d9cd6 c65d9787dd
Author: James Slagle <email address hidden>
Date: Tue Nov 1 17:21:55 2016 -0400
Fix nodes count check on stack-update with custom roles
When using custom roles, there is no requirement that you have a role
called Controller, Compute, ObjectStorage, BlockStorage, or CephStorage.
However, this list is hardcoded in tripleoclient and it is assumed there
are corresponding *Count parameters for these roles names then the nodes
count check validation is performed on stack-update.
This patch parses the roles_data.yaml file if one was specified and gets the
default role count parameters from that file.
Change-Id: Ie28e736917fd54 dca5dcac8d2defa 51a46d28759
Partial-Bug: #1637204