yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #34953
[Bug 1470670] [NEW] When creating a user with v3, if the domain is excluded a 401 Unauthenticated is returned
Public bug reported:
Example code:
http://paste.openstack.org/show/333596/
Steps to reproduce:
0. Set-up Keystone from master
1. Create a keystoneclient.v3.client.Client instance with a valid token
1. i. test that the token is valid by listing something (e.g., users.list())
2. Call keystone.users.create(name='...', password='...', project='...')
3. Keystone returns a 401 Unauthenticated.
This is clearly incorrect. A 422 might be closer to the truth if it were
used a Validation Failed status code (as GitHub and others use it).
The client is authenticated and authentication will not fail. There is
something missing from the request though.
** 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/1470670
Title:
When creating a user with v3, if the domain is excluded a 401
Unauthenticated is returned
Status in OpenStack Identity (Keystone):
New
Bug description:
Example code:
http://paste.openstack.org/show/333596/
Steps to reproduce:
0. Set-up Keystone from master
1. Create a keystoneclient.v3.client.Client instance with a valid token
1. i. test that the token is valid by listing something (e.g., users.list())
2. Call keystone.users.create(name='...', password='...', project='...')
3. Keystone returns a 401 Unauthenticated.
This is clearly incorrect. A 422 might be closer to the truth if it
were used a Validation Failed status code (as GitHub and others use
it).
The client is authenticated and authentication will not fail. There is
something missing from the request though.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1470670/+subscriptions
Follow ups
References