commit 94617a71761710544cf9505ffda5b6403a645a7e
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/590445 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=94617a71761 710544cf9505ffd a5b6403a645a7e
Committed: https:/
Submitter: Zuul
Branch: master
commit 94617a717617105 44cf9505ffda5b6 403a645a7e
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
Related-Bug: #1784663
Change-Id: I34e4e550c9c31a