← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1470670] Re: When authenticating against v3, if the domain is excluded a 401 Unauthenticated is returned

 

*** This bug is a duplicate of bug 1482330 ***
    https://bugs.launchpad.net/bugs/1482330

** This bug has been marked a duplicate of bug 1482330
   Creating a user/group/project without a domain should be deprecated (or even raise an exception)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1470670

Title:
  When authenticating against v3, if the domain is excluded a 401
  Unauthenticated is returned

Status in OpenStack Identity (keystone):
  Triaged

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


References