Comment 3 for bug 1654107

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

Reviewed: https://review.openstack.org/416810
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=180e6340a595ec047c59365465f36fed7a669ec3
Submitter: Jenkins
Branch: master

commit 180e6340a595ec047c59365465f36fed7a669ec3
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