using deprecated attributes when using kolla-writepwd to store password in a Vault server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
Trying to use kolla-writepwd to store passwords in a Hashicorp vault server. Received the following errors:
Traceback (most recent call last):
File "/var/lib/
sys.
File "/var/lib/
writepwd(
File "/var/lib/
client = hashicorp_
File "/var/lib/
client.
File "/var/lib/
return utils.getattr_
File "/var/lib/
raise AttributeError(
AttributeError: 'Client' has no attribute 'auth_approle'
I have tried quickly to correct this on hashi_vault.py", line 58:
--- client.
+++ client.
And it works.
Maybe there is a better way to do it ?
kolla-ansible version 14.4.0
python 3.8
hvac 1.0.2
Thanks
summary: |
- using deprecated attributes when using kolla-writepwd to storage - password in Vault server + using deprecated attributes when using kolla-writepwd to store password + in a Vault server |