← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1572161] [NEW] Unable to request details for a specific group on non default domain

 

Public bug reported:

We want to get details about one specific user-group from keystone. The
group is managed by our external LDAP server.

The following command will list all groups, this works fine:
curl -g -i --cacert "os.pem" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: ***" -X GET "https://myopenstack:5000/v3/groups?domain_id=c867fccd207540f1818625218bbd9f50"; 

There exists an optional parameter "name" to filter the results on server side for only one specific group. We added this parameter and executed the following request:
curl -g -i --cacert "os.pem" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: ***" -X GET "https://myopenstack:5000/v3/groups?domain_id=c867fccd207540f1818625218bbd9f50&name=testgroup"; 

With the second request we get a "500 Internal Server Error": An
unexpected error prevented the server from fulfilling your request.

Executing the same request on the the default domain succeed. Is there a
bug when requesting detail for a specific group on a non default domain
or a LDAP server?

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
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/1572161

Title:
  Unable to request details for a specific group on non default domain

Status in OpenStack Identity (keystone):
  New

Bug description:
  We want to get details about one specific user-group from keystone.
  The group is managed by our external LDAP server.

  The following command will list all groups, this works fine:
  curl -g -i --cacert "os.pem" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: ***" -X GET "https://myopenstack:5000/v3/groups?domain_id=c867fccd207540f1818625218bbd9f50"; 

  There exists an optional parameter "name" to filter the results on server side for only one specific group. We added this parameter and executed the following request:
  curl -g -i --cacert "os.pem" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: ***" -X GET "https://myopenstack:5000/v3/groups?domain_id=c867fccd207540f1818625218bbd9f50&name=testgroup"; 

  With the second request we get a "500 Internal Server Error": An
  unexpected error prevented the server from fulfilling your request.

  Executing the same request on the the default domain succeed. Is there
  a bug when requesting detail for a specific group on a non default
  domain or a LDAP server?

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


Follow ups