Comment 14 for bug 1629446

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

Reviewed: https://review.openstack.org/425763
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=a1cc77e72dbad29a14313965df73eab439c705ee
Submitter: Jenkins
Branch: stable/mitaka

commit a1cc77e72dbad29a14313965df73eab439c705ee
Author: Eric Brown <email address hidden>
Date: Tue Jan 17 17:42:52 2017 -0800

    Catch potential SyntaxError in federation mapping

    When using the 'groups' keyword in a federation mapping, the value
    passed in the assertion map be a simple string with a space. For
    example, "ALL USERS". This results in ast.literal_eval() raising
    a SyntaxError and not ValueError, which bubbles up to the API as
    an uncaught 500 Internal Server Error.

    Change-Id: I61f93a6c54b62ba8719d2603f93dc18c33b581ce
    Closes-Bug: #1629446
    (cherry picked from commit 9e1e2c2156f365078085db54dfbbfff50e2c2b84)