Reviewed: https://review.openstack.org/456696 Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=8386160c7b20b6ddb72f083863a8c0057a62edb3 Submitter: Jenkins Branch: master
commit 8386160c7b20b6ddb72f083863a8c0057a62edb3 Author: Oliver Walsh <email address hidden> Date: Wed Apr 12 16:22:52 2017 +0100
Fix undercloud host discovery logic.
We previously spun until the ironic hosts are returned by the API then ran discover_host once (creates host mappings).
Since If1e03c9343b8cc9c34bd51c2b4d25acdb21131ff the ironic hosts will not be returned by the nova API until the host mappings exists.
This patch changes the logic to run discovery hosts and then check the API, and spin until both tasks succeed.
This is a duplicate of I47a190a10ebef8eb8c2c4150635dca1c80c6cda0, with a different depends-on as I suspect we can merge without the nova fix.
Change-Id: I10e23417417df03e1b0f78e060ba1451334a0bc6 Depends-On: If1e03c9343b8cc9c34bd51c2b4d25acdb21131ff Closes-Bug: #1682001
Reviewed: https:/ /review. openstack. org/456696 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=8386160c7b2 0b6ddb72f083863 a8c0057a62edb3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8386160c7b20b6d db72f083863a8c0 057a62edb3
Author: Oliver Walsh <email address hidden>
Date: Wed Apr 12 16:22:52 2017 +0100
Fix undercloud host discovery logic.
We previously spun until the ironic hosts are returned by the API then ran
discover_host once (creates host mappings).
Since If1e03c9343b8cc 9c34bd51c2b4d25 acdb21131ff the ironic hosts will not be
returned by the nova API until the host mappings exists.
This patch changes the logic to run discovery hosts and then check the API,
and spin until both tasks succeed.
This is a duplicate of I47a190a10ebef8 eb8c2c4150635dc a1c80c6cda0,
with a different depends-on as I suspect we can merge without the nova fix.
Change-Id: I10e23417417df0 3e1b0f78e060ba1 451334a0bc6 9c34bd51c2b4d25 acdb21131ff
Depends-On: If1e03c9343b8cc
Closes-Bug: #1682001