Comment 5 for bug 1992186

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

Reviewed: https://review.opendev.org/c/openstack/keystone/+/890481
Committed: https://opendev.org/openstack/keystone/commit/db16a3f8c1c82e3f70648e48ac54d88663b78a73
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit db16a3f8c1c82e3f70648e48ac54d88663b78a73
Author: Mohammed Naser <email address hidden>
Date: Fri Oct 7 17:06:12 2022 +0000

    fix(federation): allow using numerical group names

    When using a numerical group name, the current codebase which
    relies on ast.literal_eval does not account for the value
    being a number. Therefore, it can be parsed as a number and
    fail in further steps since it will not be a list.

    This patch adds a test to handle that use case and refactor the
    code that leverages ast.literal_eval to be the same everywhere
    so that it adds that fix everywhere.

    Closes-Bug: #1992186
    Change-Id: I665b7e0234650ba07e0d030a2d442d6599d0888a
    (cherry picked from commit c70d0c33a5977ca7208fbadd876a646cd37ffb31)