When instantiating novaclient with kwargs or named attributes, the 'password'
field is duplicated due to an overwrite on the __init__ method of Client v2.
This patch pops out the password field when it's passed and no api_key is
provided.
Co-Authored-By: Pavel Kholkin <email address hidden>
Reviewed: https:/ /review. openstack. org/240277 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=f7dc91dc110 f6526886ba9bb27 215f6078c94455
Committed: https:/
Submitter: Jenkins
Branch: master
commit f7dc91dc110f652 6886ba9bb27215f 6078c94455
Author: Thiago Paiva <email address hidden>
Date: Thu Oct 29 12:45:48 2015 -0300
Fixes TypeError on Client instantiation
When instantiating novaclient with kwargs or named attributes, the 'password'
field is duplicated due to an overwrite on the __init__ method of Client v2.
This patch pops out the password field when it's passed and no api_key is
provided.
Co-Authored-By: Pavel Kholkin <email address hidden>
Closes-bug: #1511417
Change-Id: Id8310eccef5f0f 9a2983e25dd3554 1d1eb0efe86