← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1198171] Re: not able to authenticate with user from non-default domain, v3

 

** Changed in: python-openstackclient
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1198171

Title:
  not able to authenticate with user from non-default domain, v3

Status in OpenStack Identity (Keystone):
  Invalid
Status in OpenStack Command Line Client:
  Fix Released

Bug description:
  Here's steps to reproduce
  1) Set up keystone endpoints to v3
  2) openstack --os-identity-api-version 3 domain create mydomain
  3) openstack --os-identity-api-version 3 project create myproject --domain mydomain
  4) openstack --os-identity-api-version 3 user create myuser --password test --domain mydomain
  5) openstack --os-identity-api-version 3 role add Member --user myuser --project myproject
  6) openstack --os-identity-api-version 3 --os-username myuser --os-tenant-name myproject --os-password test user list
  ERROR: cliff.app Could not find project: myproject (HTTP 401)

  If I add user to tenant from default domain and try to authenticate again
  openstack --os-identity-api-version 3 --os-username myuser --os-tenant-name demo --os-password test user list
  ERROR: cliff.app Could not find user: myuser (HTTP 401)

  Well, looking at the code I see that user is searched within default
  domain, not mydomain

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1198171/+subscriptions