Comment 5 for bug 1784663

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (stable/rocky)

Reviewed: https://review.openstack.org/591872
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=97e7087ac329c5b6fc77ddd76d2007e03866e00f
Submitter: Zuul
Branch: stable/rocky

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.

    Closes-Bug: #1786498
    Related-Bug: #1784663
    Change-Id: I34e4e550c9c31a654308e555210588156418f9e3
    (cherry picked from commit 94617a71761710544cf9505ffda5b6403a645a7e)