Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] type object 'CLI' has no attribute 'read_vault_password_file' #13

Closed
greenpau opened this issue Jun 30, 2018 · 0 comments
Closed

Comments

@greenpau
Copy link
Owner

During data collection, received the following error:

PLAY [data collection] *********************************************************************************************************************************************************
[ERROR] type object 'CLI' has no attribute 'read_vault_password_file'

This issue is originating from plugins/callback/ndmtk.py:

/usr/lib/python2.7/site-packages/ndmtk/plugins/callback/ndmtk.py:                _safe_lockpick = CLI.read_vault_password_file(_lockpick, loader=_safe_loader);

Per ansible/ansible#30824, The code in inventory.py only uses read_vault_password_file if run on version <2.4 (by checking for the CLI._play_prereqs attr). For 2.4, CLI.setup_vault_secrets() is used.

greenpau added a commit that referenced this issue Jun 30, 2018
More info: This commit adds the files necessary for the data collection
from Cisco UCS switches. Additionally, it makes this Ansible module
compatible with Ansible 2.6.0.

Resolves: #12, #13
greenpau added a commit that referenced this issue Jun 30, 2018
More info: This commit adds the files necessary for the data collection
from Cisco UCS switches. Additionally, it makes this Ansible module
compatible with Ansible 2.6.0.

Resolves: #12, #13
greenpau added a commit that referenced this issue Jun 30, 2018
More info: This commit adds the files necessary for the data collection
from Cisco UCS switches. Additionally, it makes this Ansible module
compatible with Ansible 2.6.0.

Resolves: #12, #13, #14
greenpau added a commit that referenced this issue Jun 30, 2018
More info: This commit adds the files necessary for the data collection
from Cisco UCS switches. Additionally, it makes this Ansible module
compatible with Ansible 2.6.0.

Resolves: #12, #13, #14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant