yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #09130
[Bug 1274216] Re: EndpointNotFound should take search parameters to create consistent error message
** Changed in: keystone
Importance: Undecided => Wishlist
** Changed in: keystone
Status: New => Triaged
** Project changed: keystone => python-keystoneclient
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1274216
Title:
EndpointNotFound should take search parameters to create consistent
error message
Status in Python client library for Keystone:
Triaged
Bug description:
keystoneclient.apiclient.exceptions.EndpointNotFound should specify
the parameters that yielded no result. Specifically:
class EndpointNotFound(EndpointException):
"""Could not find requested endpoint in Service Catalog."""
def __init__(self, attr=None, filter_value=None,
service_type=None, endpoint_type=None,
region_name=None):
msg = ("EndpointNotFound: attr=%(attr)s, "
"filter_value=%(filter_value)s, "
"service_type=%(service_type)s, "
"endpoint_type=%(endpoint_type)s, "
"region_name=%(region_name)s") % locals()
super(EndpointNotFound, self).__init__(msg)
self.attr = attr
self.filter_value = filter_value
self.service_type = service_type
self.endpoint_type = endpoint_type
self.region_name = region_name
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-keystoneclient/+bug/1274216/+subscriptions
References