Reviewed: https://review.openstack.org/286142 Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=773525317c380fe3e9e059152feaefccbd379bdf Submitter: Jenkins Branch: master
commit 773525317c380fe3e9e059152feaefccbd379bdf Author: Steve Martinelli <[email protected]> Date: Mon Feb 29 11:32:46 2016 -0500 add hints to list_services for templated backend a positional argument is missing and surfacing as a stack trace, set it to None since there is no need for hints in a templated backend. Closes-Bug: 1550742 Change-Id: If0007887f4f638b8aae8d2c3ce5c7611e5a24384 ** Changed in: keystone Status: In Progress => Fix Released -- 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/1550742 Title: bug listing services when using templated backend (v3) Status in OpenStack Identity (keystone): Fix Released Bug description: INFO keystone.common.wsgi [req-30ece488-820d-4e31-8e51-a12f236e5f06 019d0e196d8c4ea68ba206cc5e8dacfd dcf235b4b7a54de4bf7c7b03c531cb82 - default default] GET http://identity.api/v3/services ERROR keystone.common.wsgi [req-30ece488-820d-4e31-8e51-a12f236e5f06 019d0e196d8c4ea68ba206cc5e8dacfd dcf235b4b7a54de4bf7c7b03c531cb82 - default default] _list_services() missing 1 required positional argument: 'hints' ERROR keystone.common.wsgi Traceback (most recent call last): ERROR keystone.common.wsgi File "/keystone/lib/python3.4/site-packages/keystone/common/wsgi.py", line 250, in __call__ ERROR keystone.common.wsgi result = method(context, **params) ERROR keystone.common.wsgi File "/keystone/lib/python3.4/site-packages/keystone/common/controller.py", line 247, in wrapper ERROR keystone.common.wsgi return f(self, context, filters, **kwargs) ERROR keystone.common.wsgi File "/keystone/lib/python3.4/site-packages/keystone/catalog/controllers.py", line 281, in list_services ERROR keystone.common.wsgi refs = self.catalog_api.list_services(hints=hints) ERROR keystone.common.wsgi File "/keystone/lib/python3.4/site-packages/keystone/common/manager.py", line 124, in wrapped ERROR keystone.common.wsgi __ret_val = __f(*args, **kwargs) ERROR keystone.common.wsgi File "/keystone/lib/python3.4/site-packages/keystone/common/manager.py", line 65, in wrapper ERROR keystone.common.wsgi return f(self, *args, **kwargs) ERROR keystone.common.wsgi File "/keystone/lib/python3.4/site-packages/keystone/catalog/core.py", line 239, in list_services ERROR keystone.common.wsgi return self.driver.list_services(hints or driver_hints.Hints()) ERROR keystone.common.wsgi File "/keystone/lib/python3.4/site-packages/keystone/catalog/backends/templated.py", line 146, in list_services ERROR keystone.common.wsgi return list(self._list_services()) ERROR keystone.common.wsgi TypeError: _list_services() missing 1 required positional argument: 'hints' ERROR keystone.common.wsgi To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1550742/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

