root@centOS_7 playbooks]# pip3 install isi-sdk-8-1-1 WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead. Requirement already satisfied: isi-sdk-8-1-1 in /usr/local/lib/python3.6/site-packages Requirement already satisfied: urllib3>=1.15 in /usr/local/lib/python3.6/site-packages (from isi-sdk-8-1-1) Requirement already satisfied: six>=1.10 in /usr/local/lib/python3.6/site-packages (from isi-sdk-8-1-1) Requirement already satisfied: python-dateutil in /usr/local/lib/python3.6/site-packages (from isi-sdk-8-1-1) Requirement already satisfied: certifi in /usr/local/lib/python3.6/site-packages (from isi-sdk-8-1-1)
[root@centOS_7 playbooks]# pip install isi-sdk-8-1-1 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Requirement already satisfied: isi-sdk-8-1-1 in /usr/lib/python2.7/site-packages (0.2.10) Requirement already satisfied: python-dateutil in /usr/lib/python2.7/site-packages (from isi-sdk-8-1-1) (2.8.1) Requirement already satisfied: certifi in /usr/lib/python2.7/site-packages (from isi-sdk-8-1-1) (2019.11.28) Requirement already satisfied: urllib3>=1.15 in /usr/lib/python2.7/site-packages (from isi-sdk-8-1-1) (1.25.8) Requirement already satisfied: six>=1.10 in /usr/lib/python2.7/site-packages (from isi-sdk-8-1-1) (1.15.0)
The issue encountered was due to the way in which the modules communicate to Isilon API. One of the two options are required to ensure Isilon Ansible playbook connectivity:
Edit the playbook with "connection: local", see example:
- name: Collect set of facts in Isilon hosts: isilon822dc1 connection: local
Add new Isilon host "isilon822dc1_local" with the variable "ansible_connection=local" in ansible host file or hostvars. Use the following in playbook:
- name: Collect set of facts in Isilon hosts: isilon822dc1_local
Is the Ansible instance running with a Python virtual environment (venv)? Did you double check the SDK installation location to see if the files are actually there and readable?
Another idea is to use the -vvv flag to get a lot more debug information from Ansible.
EvanKoutsandreou
4 Posts
1834
0
Posted June 14th, 2020 22:00
Resolved
The issue encountered was due to the way in which the modules communicate to Isilon API. One of the two options are required to ensure Isilon Ansible playbook connectivity:
Edit the playbook with "connection: local", see example:
- name: Collect set of facts in Isilon
hosts: isilon822dc1
connection: local
Add new Isilon host "isilon822dc1_local" with the variable "ansible_connection=local" in ansible host file or hostvars. Use the following in playbook:
- name: Collect set of facts in Isilon
hosts: isilon822dc1_local