python-openstackclient/releasenotes/notes/bug-1597296-9735f33eacf5552e.yaml
sunyajing c45b1d7b23 Fix error for find_service() in identity
if there are more than one services be found with one
name, a NoUniqueMatch exception should be raised but
we can see a NotFound Exception raised instead. It is
because in "find_service()", we use "find_resource()"
first, if "find_resource()" return a exception, we just
think it is a NotFound Exception and continue to find
by type but ignore a NoUniqueMatch exception of
"find_resource()". This patch refactor the "find_service()"
method to solve this problem.

Change-Id: Id4619092c57f276ae0698c89df0d5503b7423a4e
Co-Authored-By: Huanxuan Ao <huanxuan.ao@easystack.cn>
Closes-Bug:#1597296
2016-07-22 19:40:50 +08:00

6 lines
189 B
YAML

---
fixes:
- Fixed service name lookup in Identity commands to properly handle
multiple matches.
[Bug `1597296 <https://bugs.launchpad.net/python-openstackclient/+bug/1597296>`_]