Comment 7 for bug 1682058

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

Reviewed: https://review.openstack.org/480286
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=88a6e3bab5f4af92ea4700580af05f5c20ab64f6
Submitter: Jenkins
Branch: master

commit 88a6e3bab5f4af92ea4700580af05f5c20ab64f6
Author: Mark Goddard <email address hidden>
Date: Tue Jul 4 19:24:28 2017 +0100

    Don't poll heat if no stack exists

    Cluster objects are created asynchronously from their underlying
    heat stacks, meaning that the periodic update can sometimes end up
    trying to poll a cluster's heat stack before the stack has been created.

    This change checks whether the stack_id is None and skips polling heat
    if so. This has the side effect of resolving bug 1682058, since we don't
    try to use a trust and trustee that do not exist.

    Change-Id: I73f039659250f1d5b69b23141835c4602c8e019a
    Closes-Bug: #1682058