Comment 6 for bug 1705753

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

Reviewed: https://review.openstack.org/486190
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=068f85dc38458af122ded035d36d2451b6bd5af6
Submitter: Jenkins
Branch: master

commit 068f85dc38458af122ded035d36d2451b6bd5af6
Author: Chris Dent <email address hidden>
Date: Fri Jul 21 19:13:43 2017 +0100

    retry on authentication failure in api_client

    Due to eventlet threading weirdness, it appears that sometimes a request
    that is destined for the compute api fixture ends up on the placement
    api fixture. The latter uses a no auth middleware that 401s when it does
    not get a token.

    The change retries the auth request a few times before failing.

    If this has no effect, doing an eventlet.sleep() before the retry might
    be something worth trying.

    Change-Id: I9ca2022ca956be5ea67f4c40bed80115f2fae29d
    Related-Bug: #1705753