yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #38171
[Bug 1452298] Re: Fails to filter domains by id
** Changed in: python-keystoneclient
Status: Fix Committed => Fix Released
** Changed in: python-keystoneclient
Milestone: None => 1.7.0
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1452298
Title:
Fails to filter domains by id
Status in Keystone:
Invalid
Status in python-keystoneclient:
Fix Released
Bug description:
V3 client fails to filter domains by id. Following code should list
only 'default' domain, but list of all domains is returned instead:
>>> import keystoneclient.v3.client as ksclient_v3
>>> client = ksclient_v3.Client(endpoint='http://192.0.2.5:35357/v3', token='153c6ee5a6486e7db131ada9a464ab0f12f3f4cb')
>>> default_domain = client.domains.list(id='default')[0]
>>> default_domain
<Domain description=Contains users and projects created by heat, enabled=True, id=29f4f3f567f943eb9769329352753b89, links={u'self': u'http://192.0.2.5:35357/v3/domains/29f4f3f567f943eb9769329352753b89'}, name=heat_stack>
>>> client.domains.list(id='default')
[<Domain description=Contains users and projects created by heat, enabled=True, id=29f4f3f567f943eb9769329352753b89, links={u'self': u'http://192.0.2.5:35357/v3/domains/29f4f3f567f943eb9769329352753b89'}, name=heat_stack>, <Domain description=Owns users and tenants (i.e. projects) available on Identity API v2., enabled=True, id=default, links={u'self': u'http://192.0.2.5:35357/v3/domains/default'}, name=Default>]
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1452298/+subscriptions