Use scheduler hints in derived_parameters workflow
Update the tripleo.derive_params.v1.derived_parameters workflow to use
scheduler hints associated with a given role. The scheduler hints are
used to identify overcloud nodes associated with the role, and take
precedence over nodes identified by their profile/flavor. If a role does
not specify any scheduler hints then the workflow falls back to matching
nodes by profile/flavor.
Add a tripleo.baremetal.v1.nodes_with_node_id workflow that searches
for ironic nodes matching a node placement regex. This workflow is
analogous to the existing nodes_with_profile workflow that searches
for nodes that match a given profile.
Add a tripleo.baremetal.get_node_id Mistral action that returns the node
placement ID (e.g. "controller-0") for a given node, or None if a node
ID is not defined. This is analogous to the existing get_profile action
that returns the profile assigned to the node.
Fix the 'message' published when a derived parameter sub-workflow fails
so it just returns the sub-workflow 'message' and not the entire sub-
workflow result. The 'message' portion is the only part that is meaningful
to the user.
Closes-Bug: #1760659
Change-Id: I7eff355620aecaca49e77112ba491a5f3ce2eed6
(cherry picked from commit e25e8564a42d1074034a76da5412bea4fb77b414)
Reviewed: https:/ /review. openstack. org/566110 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=ee9ace2087e 979326a890eccad 8f9010fa1e6440
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit ee9ace2087e9793 26a890eccad8f90 10fa1e6440
Author: Alan Bishop <email address hidden>
Date: Mon Apr 2 16:57:58 2018 -0400
Use scheduler hints in derived_parameters workflow
Update the tripleo. derive_ params. v1.derived_ parameters workflow to use
scheduler hints associated with a given role. The scheduler hints are
used to identify overcloud nodes associated with the role, and take
precedence over nodes identified by their profile/flavor. If a role does
not specify any scheduler hints then the workflow falls back to matching
nodes by profile/flavor.
Add a tripleo. baremetal. v1.nodes_ with_node_ id workflow that searches
for ironic nodes matching a node placement regex. This workflow is
analogous to the existing nodes_with_profile workflow that searches
for nodes that match a given profile.
Add a tripleo. baremetal. get_node_ id Mistral action that returns the node
placement ID (e.g. "controller-0") for a given node, or None if a node
ID is not defined. This is analogous to the existing get_profile action
that returns the profile assigned to the node.
Fix the 'message' published when a derived parameter sub-workflow fails
so it just returns the sub-workflow 'message' and not the entire sub-
workflow result. The 'message' portion is the only part that is meaningful
to the user.
Closes-Bug: #1760659 ca49e77112ba491 a5f3ce2eed6 4034a76da5412be a4fb77b414)
Change-Id: I7eff355620aeca
(cherry picked from commit e25e8564a42d107