oneview-ansible: The modules seem broken when using the OV Python SDK 3.2.1

Hey,

I just tried using this Ansible library on a fresh installation, using the latest SDK and OV Ansible module. However for some reason Ansible is unable to find the SDK when the 3.2.1 version is installed.

PLAY [all] ***********************************************************************************************************************************************************************

TASK [quicktest : OneView Connection Template Facts] *****************************************************************************************************************************
ok: [localhost]

TASK [quicktest : Create a basic connection-less server profile template (using URIs)] *******************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "HPE OneView Python SDK is required for this module."}
	to retry, use: --limit @/home/ubuntu/quicktest/site.retry

PLAY RECAP ***********************************************************************************************************************************************************************
localhost                  : ok=1    changed=0    unreachable=0    failed=1 

If I uninstall the OV Python 3.2.1 SDK and reinstall the 3.1.1 SDK the same playbook will then complete. I had a look and couldn’t see an obvious reason for the 3.2.1 module not being detected.

Thanks a lot for your help 😃

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 32 (14 by maintainers)

Most upvoted comments

It works now! It was all conflicting versions of python-hpOneView & oneview-ansible, that I have been trying. Thank you! for your patience & support.