Comment 3 for bug 1917520

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/victoria)

Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 177ce7e9495afb710711726be656b58065f42ce3
Author: Goutham Pacha Ravi <email address hidden>
Date: Tue Mar 2 15:53:02 2021 -0800

    Fix traceback in scheduler-stats API

    There was a traceback being included in the
    error message body. This is unhelpful to
    end users.

    The error message that included the traceback
    was for this corner case where the RBAC policy
    isn't aligned with the internal "context_is_admin"
    policy - an unlikely combination of decisions
    that a deployer would make - nevertheless,
    this is an opportunity for us to fix this
    code path.

    Change-Id: I888d684acac2133425f986ec7cef5e4f5cdcc5b6
    Closes-Bug: #1917520
    Signed-off-by: Goutham Pacha Ravi <email address hidden>
    (cherry picked from commit a13ff5d5a73c9c4c4c7b56fe60c6152402127f10)