The method 'list' throw unexpected exceptions when was inserted the 'entity_id' parameter.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-keystoneclient |
Expired
|
Low
|
Unassigned |
Bug Description
The <<client>> as a V3 client, so follows the scenarios
-------
client.
e.g. >>> client.
Output: [ behaviour OK ]
TypeError: list() got an unexpected keyword argument 'id'.
To retrieve a single object using a globally unique identifier,
try using get() instead.
-------
client.
e.g. >>> client.
Output: [ unexpected behaviour ]
[...]
File "[...]base.py", line 74, in func return f(*args, **new_kwargs)
File "[...]base.py", line 386, in list self.collection
File "[...]base.py", line 129, in _list data = body[response_key]
KeyError: 'projects'
-------
client.
e.g. : client.
Output: [ unexpected behaviour ]
[...]
File "[...]/
File "[...]session.py", line 570, in request
raise exceptions.
NotFound: Could not find project: as (HTTP 404) (Request-ID:[...]) instead.
-------
It's very simple to resolve it and implies changes in only one line
of 'list' function of the CrudManager
description: | updated |
description: | updated |
Changed in python-keystoneclient: | |
assignee: | nobody → Arthur Miranda (artmr) |
Changed in python-keystoneclient: | |
importance: | Undecided → Low |
Fix proposed to branch: master /review. openstack. org/378001
Review: https:/