Comment 2 for bug 1856031

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.opendev.org/698469
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=81145138adc2fbeda872debd2e17fe049c6fea0e
Submitter: Zuul
Branch: master

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.

    [1]: https://github.com/openstack/python-ironicclient/blob/master/ironicclient/v1/node.py#L75-L76
    [2]: https://github.com/openstack/python-ironicclient/blob/master/ironicclient/v1/node.py#L80-L87

    Change-Id: Id11adaa426487ed4f3ce4148c84f750cba1c0c11
    Closes-Bug: #1856031