commit 97e7087ac329c5b6fc77ddd76d2007e03866e00f
Author: Matt Riedemann <email address hidden>
Date: Thu Aug 9 13:32:10 2018 -0400
placement: ignore policy scope check failures if not enforcing scope
Rather than spam the placement API logs with scope check
warnings from oslo.policy when placement isn't configured
for scope type enforcement, ignore those warnings.
Note that the same warnings filter in the placement WarningsFixture
is left intact because the configuration defaults setting code in
wsgi.py which allows the warning filter to be set in deploy.py,
is not run by the functional tests. In future changes this will
be resolved by unifying configuration handling.
Reviewed: https:/ /review. openstack. org/591872 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=97e7087ac32 9c5b6fc77ddd76d 2007e03866e00f
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 97e7087ac329c5b 6fc77ddd76d2007 e03866e00f
Author: Matt Riedemann <email address hidden>
Date: Thu Aug 9 13:32:10 2018 -0400
placement: ignore policy scope check failures if not enforcing scope
Rather than spam the placement API logs with scope check
warnings from oslo.policy when placement isn't configured
for scope type enforcement, ignore those warnings.
Note that the same warnings filter in the placement WarningsFixture
is left intact because the configuration defaults setting code in
wsgi.py which allows the warning filter to be set in deploy.py,
is not run by the functional tests. In future changes this will
be resolved by unifying configuration handling.
Closes-Bug: #1786498 654308e55521058 8156418f9e3 44cf9505ffda5b6 403a645a7e)
Related-Bug: #1784663
Change-Id: I34e4e550c9c31a
(cherry picked from commit 94617a717617105