TypeError: __init__() got an unexpected keyword argument 'id'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-barbicanclient |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When I execute: GET /v1/secrets, it returns some JSON like one below:
{
"secrets": [
{
"status": "ACTIVE",
"updated": "2017-01-
"name": null,
"created": "2017-01-
},
"mode": null,
"id": "2fe14a76-
}, ...
Note that there is a field ``id``. In [1], that keyword ``id`` is passed into the
``__init__`` of ``Secret`` at [2], it is not detected, and an exception is thrown.
GET call to key-manager for http://
Response status 200
__init__() got an unexpected keyword argument 'id'
Traceback (most recent call last):
File "/usr/local/
result = cmd.run(
File "/usr/local/
column_names, data = self.take_
File "/usr/local/
algorithm=
File "/usr/local/
for s in response.
TypeError: __init__() got an unexpected keyword argument 'id'
clean_up ListSecret: __init__() got an unexpected keyword argument 'id'
Traceback (most recent call last):
File "/usr/local/
ret_val = super(OpenStack
File "/usr/local/
result = self.run_
File "/usr/local/
ret_value = super(OpenStack
File "/usr/local/
result = cmd.run(
File "/usr/local/
column_names, data = self.take_
File "/usr/local/
algorithm=
File "/usr/local/
for s in response.
TypeError: __init__() got an unexpected keyword argument 'id'
[1] https:/
[2] https:/
What version of Barbican are you using?
This should be fixed by:
This should be fixed by https:/ /review. openstack. org/#q, I0524b7057016da a59ea0a506bdc50 a71e9fc8f6a, n,z