Since Keystone has the ability to be deployed with an LDAP backend, we can't
guarantee that project IDs will always be UUID formatted. That change makes it
so that we attempt to convert project IDs to bytes before packing and if we
fail, pass the original project ID into the payload at the expense of a
slightly longer payload.
Change-Id: Id81ed23879ee7a9adeb50454ef0cb7acd13f1a0a
Related-Bug: 1459382
(cherry picked from commit f5f1caf9e9e4dc0d916fc48b32a408f477a87829)
Reviewed: https:/ /review. openstack. org/212605 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=a9726d2b22a 1710a98edbdaf2d a32ec2e312c545
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit a9726d2b22a1710 a98edbdaf2da32e c2e312c545
Author: Lance Bragstad <email address hidden>
Date: Thu May 28 13:45:13 2015 +0000
Don't assume project IDs are UUID format
Since Keystone has the ability to be deployed with an LDAP backend, we can't
guarantee that project IDs will always be UUID formatted. That change makes it
so that we attempt to convert project IDs to bytes before packing and if we
fail, pass the original project ID into the payload at the expense of a
slightly longer payload.
Change-Id: Id81ed23879ee7a 9adeb50454ef0cb 7acd13f1a0a d916fc48b32a408 f477a87829)
Related-Bug: 1459382
(cherry picked from commit f5f1caf9e9e4dc0