commit 81145138adc2fbeda872debd2e17fe049c6fea0e
Author: Piotr Kopec <email address hidden>
Date: Wed Dec 11 13:16:27 2019 +0100
Using API instead yaql to get manageable nodes
Currently tripleo.baremetal.v1 workbook is using YAQL to filter
nodes in manageable state for introspection workflow. Since there
is a way to get manageable nodes using client parameter [1] using
YAQL is suboptimal.
Moreover this does not work in large environments because default
`limit` argument [2] does not list all nodes and nodes in manageable
state might not detect in introspection.
Reviewed: https:/ /review. opendev. org/698469 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=81145138adc 2fbeda872debd2e 17fe049c6fea0e
Committed: https:/
Submitter: Zuul
Branch: master
commit 81145138adc2fbe da872debd2e17fe 049c6fea0e
Author: Piotr Kopec <email address hidden>
Date: Wed Dec 11 13:16:27 2019 +0100
Using API instead yaql to get manageable nodes
Currently tripleo. baremetal. v1 workbook is using YAQL to filter
nodes in manageable state for introspection workflow. Since there
is a way to get manageable nodes using client parameter [1] using
YAQL is suboptimal.
Moreover this does not work in large environments because default
`limit` argument [2] does not list all nodes and nodes in manageable
state might not detect in introspection.
[1]: https:/ /github. com/openstack/ python- ironicclient/ blob/master/ ironicclient/ v1/node. py#L75- L76 /github. com/openstack/ python- ironicclient/ blob/master/ ironicclient/ v1/node. py#L80- L87
[2]: https:/
Change-Id: Id11adaa426487e d4f3ce4148c84f7 50cba1c0c11
Closes-Bug: #1856031