py3: inconsistent encoding of token fields
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Undecided
|
James Page | ||
OpenStack Keystone LDAP integration |
Invalid
|
High
|
James Page | ||
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
Rocky |
Fix Released
|
High
|
Unassigned | ||
Stein |
Fix Released
|
High
|
Unassigned | ||
Train |
Fix Released
|
High
|
Unassigned | ||
keystone (Ubuntu) |
Fix Released
|
High
|
James Page | ||
Cosmic |
Won't Fix
|
High
|
Unassigned | ||
Disco |
Fix Released
|
High
|
Unassigned |
Bug Description
When using an LDAP domain user on a bionic-rocky cloud within horizon, we are unable to see the projects listed in the project selection drop-down, and are unable to query resources from any projects to which we are assigned the role Member.
It appears that the following log entries in keystone may be helpful to troubleshooting this issue:
(keystone.
(keystone.
(keystone.
(routes.
(routes.
(routes.
(keystone.
(keystone.
(keystone.
(keystone.
(keystone.
It actually appears elsewhere in the keystone.log that there is a string which has encapsulated bytecode data in it (or vice versa).
(keystone.
(sqlalchemy.
(sqlalchemy.
(sqlalchemy.
(sqlalchemy.
(keystone.
(keystone.
Traceback (most recent call last):
File "/usr/lib/
result = method(req, **params)
File "/usr/lib/
app_
File "/usr/lib/
__ret_val = __f(*args, **kwargs)
File "/usr/lib/
token_id, issued_at = self.driver.
File "/usr/lib/
app_
File "/usr/lib/
protocol_id, access_token_id, app_cred_id
File "/usr/lib/
b_user_id = cls.attempt_
File "/usr/lib/
return (True, cls.convert_
File "/usr/lib/
uuid_obj = uuid.UUID(
File "/usr/lib/
hex = hex.replace('urn:', '').replace(
TypeError: a bytes-like object is required, not 'str'
(dogpile.lock): 2019-06-10 19:46:59,087 DEBUG value creation lock <dogpile.
(dogpile.lock): 2019-06-10 19:46:59,087 DEBUG Calling creation function
tags: | added: py3 |
tags: | added: sts |
Changed in keystone (Ubuntu Cosmic): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in keystone (Ubuntu Disco): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in charm-keystone-ldap: | |
milestone: | 19.07 → none |
Changed in keystone: | |
milestone: | none → train-rc1 |
Subscribed field-high as this is affecting usability of a production cloud.