Named attribute 'password' to novaclient v2 breaks with "got multiple values for keyword argument 'password'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
Wishlist
|
Pavel Kholkin |
Bug Description
When instantiating novaclient with kwargs or named attributes, the 'password' field is duplicated due to an overwrite on the __init__ method of Client v2:
=======
from novaclient import client
kwargs = {
'auth_url': 'http://
'username': 'admin',
'password': 'nomoresecrete',
'tenant_name': 'admin'
}
nova = client.Client(2, **kwargs)
TypeError: _construct_
=======
from novaclient import client
nova = client.Client(2,
TypeError: _construct_
=======
description: | updated |
Changed in python-novaclient: | |
assignee: | Thiago Paiva Brito (thiagop) → Ed Leafe (ed-leafe) |
Changed in python-novaclient: | |
importance: | Undecided → Wishlist |
assignee: | Ed Leafe (ed-leafe) → Thiago Paiva Brito (thiagop) |
Changed in python-novaclient: | |
assignee: | Thiago Paiva Brito (thiagop) → Pavel Kholkin (pkholkin) |
Fix proposed to branch: master /review. openstack. org/240277
Review: https:/