Comment 8 for bug 1708039

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to devstack (master)

Reviewed: https://review.openstack.org/488381
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=c2fe916fc7c6c00cdfa0085e198eaf2ad4d915d1
Submitter: Jenkins
Branch: master

commit c2fe916fc7c6c00cdfa0085e198eaf2ad4d915d1
Author: Sean Dague <email address hidden>
Date: Fri Jul 28 11:29:18 2017 +0000

    Wait for compute service to check in

    With cell v2, on initial bring up, discover hosts can't run unless all
    the compute nodes have checked in. The documentation says that you
    should run ``nova service-list --binary nova-compute`` and see all
    your hosts before running discover hosts. This isn't really viable in
    a multinode devstack because of how things are brought up in parts.

    We can however know that stack.sh will not complete before the compute
    node is up by waiting for the compute node to check in before
    completing. This happens quite late in the stack.sh run, so shouldn't
    add any extra time in most runs.

    Cells v1 and Xenserver don't use real hostnames in the service table
    (they encode complex data that is hostname like to provide more
    topology information than just hostnames). They are exempted from this
    check.

    Related-Bug: #1708039

    Change-Id: I32eb59b9d6c225a3e93992be3a3b9f4b251d7189