Regenerate and pass configdrive when rebuild Ironic nodes
Previously, the configdrive could only be set when setting
the node's provisioning state to "active". When rebuilding,
the old configdrive was used and therefore was never updated
with latest content.
Since Ironic API microversion 1.35, it is now allowed to provide
a configdrive when setting the node's provisioning state to "rebuild".
Reviewed: https:/ /review. openstack. org/503088 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=878c44f0cff 4f11b2a01e60019 d79ccf5e5d707a
Committed: https:/
Submitter: Zuul
Branch: master
commit 878c44f0cff4f11 b2a01e60019d79c cf5e5d707a
Author: Mathieu Gagné <email address hidden>
Date: Thu Sep 7 13:10:00 2017 -0400
Regenerate and pass configdrive when rebuild Ironic nodes
Previously, the configdrive could only be set when setting
the node's provisioning state to "active". When rebuilding,
the old configdrive was used and therefore was never updated
with latest content.
Since Ironic API microversion 1.35, it is now allowed to provide
a configdrive when setting the node's provisioning state to "rebuild".
Blueprint: rebuild- ironic- config- drive 75621e9f4354886 bf3032cc248 ca2f4e231435597 35f2bff8943
Related-bug: #1575935
Depends-On: I9a5529f9fa796c
Change-Id: I1f9056f66519b9