dell / omsdk

Dell EMC OpenManage Python SDK
Apache License 2.0
57 stars 20 forks source link

Installation on macos no recognised #21

Open lubomben opened 3 years ago

lubomben commented 3 years ago

QwikContext

Installation on macos goes well but it does not work.

Details

Installation on macos 11.4 is possible and goes well but trying a simple playbook returns always following error: fatal: [idrac-er099-rminv2]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "msg": "Dell EMC OMSDK library is required for this module"}

Repro Steps

% python --version
Python 3.9.6
% pip install omsdk --upgrade
% ansible-playbook test.yaml -i inventory_idrac -l net -k
SSH password:

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

TASK [Get hardware inventory] ***************************************************************************************************************************************************
[WARNING]: Platform darwin on host idrac-er099-rminv2 is using the discovered Python interpreter at /usr/bin/python, but future installation of another Python interpreter could
change the meaning of that path. See https://docs.ansible.com/ansible/2.11/reference_appendices/interpreter_discovery.html for more information.
fatal: [idrac-er099-rminv2]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "msg": "Dell EMC OMSDK library is required for this module"}
[WARNING]: Platform darwin on host idrac-er095-rminv2 is using the discovered Python interpreter at /usr/bin/python, but future installation of another Python interpreter could
change the meaning of that path. See https://docs.ansible.com/ansible/2.11/reference_appendices/interpreter_discovery.html for more information.
fatal: [idrac-er095-rminv2]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "msg": "Dell EMC OMSDK library is required for this module"}

PLAY RECAP **********************************************************************************************************************************************************************
idrac-er095-rminv2         : ok=0    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0
idrac-er099-rminv2         : ok=0    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0

Severity

Blocking