Comment 7 for bug 1682001

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

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