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)
Reviewed: https:/ /review. openstack. org/419216 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=9fb203f17e3 58760e9e40ef55e e79965343581f8
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 9fb203f17e35876 0e9e40ef55ee799 65343581f8
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:
I6351c1b2ca 7ea4448e13eb874 55bff4058df4fa7
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: Id52de64528383d e70fc5a8951dde7 64ba34e369d 47c59365465f36f ed7a669ec3)
Closes-Bug: #1654107
(cherry picked from commit 180e6340a595ec0