Comment 5 for bug 1497461

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

Reviewed: https://review.openstack.org/226121
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=794e1510cc91fbe0277e291bc2cabdfba478bef3
Submitter: Jenkins
Branch: master

commit 794e1510cc91fbe0277e291bc2cabdfba478bef3
Author: Eric Brown <email address hidden>
Date: Mon Sep 21 18:24:11 2015 -0700

    Handle 16-char non-uuid user IDs in payload

    If a user_id just happens to be of 16 character length, this will
    cause the convert_uuid_bytes_to_hex function to improperly return
    a UUID value instead of the user_id string unconverted.

    This patch modifies the payload to indicate whether the ID was in
    fact a UUID and the attempt to convert to bytes was successful.

    This change has effect on more than just user IDs. It also resovles
    potential issues with project IDs, group IDs, IDP IDs, and scope IDs.

    Change-Id: Ia4a4f760d67d8bbc22759c48fc800aef016b84ed
    Closes-Bug: #1497461