Comment 4 for bug 1638281

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

Reviewed: https://review.openstack.org/394541
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=5a7c0236373300f3f9f80a31853b393d07bac234
Submitter: Jenkins
Branch: stable/newton

commit 5a7c0236373300f3f9f80a31853b393d07bac234
Author: Dmitry Tantsur <email address hidden>
Date: Tue Nov 1 14:01:04 2016 +0100

    Power off new nodes when making them available, not right after enrolling

    Doing it for newly enrolled nodes that didn't go through "manage" action
    is wrong, because we only validate power credentials during this action.
    Also, this power off request can lock nodes for substantial time, causing
    the following "manage" workflow to fail with "node locked" error.

    Actually, both ironic and ironic-inspector can safely handle nodes that are
    powered on. However, this may be confusing for users looking at node list.

    This patch moves powering off to the "provide" workflow with proper wait
    and error handling.

    Change-Id: Ie2e5baa10adf67148d335d6127ff1dfe45e91968
    Closes-Bug: #1638281
    (cherry picked from commit fee42cebe2768bf34101bcd5ebae5deaebd92e68)