Comment 5 for bug 1654107

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/newton)

Reviewed: https://review.openstack.org/419216
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9fb203f17e358760e9e40ef55ee79965343581f8
Submitter: Jenkins
Branch: stable/newton

commit 9fb203f17e358760e9e40ef55ee79965343581f8
Author: Matt Riedemann <email address hidden>
Date: Wed Jan 4 21:11:10 2017 -0500

    Handle Unauthorized exception in report client's safe_connect()

    If nova is misconfigured for placement auth, as seen in:

    I6351c1b2ca7ea4448e13eb87455bff4058df4fa7

    Keystone returns an Unauthorized 401 exception which the
    scheduler report client's safe_connect() method wasn't handling
    and disabling future attempts to talk to the placement service.

    This patch adds that check to the report client. Note also that
    we already check for this in the "nova-status upgrade check"
    command.

    Change-Id: Id52de64528383de70fc5a8951dde764ba34e369d
    Closes-Bug: #1654107
    (cherry picked from commit 180e6340a595ec047c59365465f36fed7a669ec3)