yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #23650
[Bug 1379952] [NEW] API accepts tenant name for "TenantId", fails, and provides not helpful message
Public bug reported:
When authenticating with Keystone's REST API, if I happen to provide my
tenant name in the TenantId field, the resulting error tells me that I
am not authorized for that tenant, even though all the information
(user, pass, tenant) are correct. It *should* tell me that I just passed
invalid data into a field that expects a UUID, which, as a user, would
tell me exactly what was wrong.
For what it's worth, in debugging my auth problem, I ended up
tcpdump'ing keystone which led to this gem of a demonstration of the
problem:
http://paste.openstack.org/show/4v5JtwbGNu6QhQ3K5oQ1/
** Affects: keystone
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1379952
Title:
API accepts tenant name for "TenantId", fails, and provides not
helpful message
Status in OpenStack Identity (Keystone):
New
Bug description:
When authenticating with Keystone's REST API, if I happen to provide
my tenant name in the TenantId field, the resulting error tells me
that I am not authorized for that tenant, even though all the
information (user, pass, tenant) are correct. It *should* tell me that
I just passed invalid data into a field that expects a UUID, which, as
a user, would tell me exactly what was wrong.
For what it's worth, in debugging my auth problem, I ended up
tcpdump'ing keystone which led to this gem of a demonstration of the
problem:
http://paste.openstack.org/show/4v5JtwbGNu6QhQ3K5oQ1/
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1379952/+subscriptions
Follow ups
-
[Bug 1379952] Re: API accepts tenant name for "TenantId", fails, and provides not helpful message
From: Doug Hellmann, 2015-06-23
-
[Bug 1379952] Re: API accepts tenant name for "TenantId", fails, and provides not helpful message
From: Dolph Mathews, 2014-10-27
-
[Bug 1379952] Re: API accepts tenant name for "TenantId", fails, and provides not helpful message
From: Morgan Fainberg, 2014-10-14
-
[Bug 1379952] [NEW] API accepts tenant name for "TenantId", fails, and provides not helpful message
From: Devananda van der Veen, 2014-10-10
References