I am running ontap 9.1 and redhat 6.8 used for ansible
ansible version details:
[root@rhel2 /]# ansible --version
ansible 2.7.9
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.6/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.6.6 (r266:84292, May 22 2015, 08:34:51) [GCC 4.4.7 20120313 (Red Hat 4.4.7-15)]
Getting this error while running the first playbook for aggr creation
The full traceback is:
Traceback (most recent call last):
File "/tmp/ansible_na_cdot_aggregate_payload_TmquWf/__main__.py", line 138, in get_aggr
enable_tunneling=False)
File "/usr/lib/python2.6/site-packages/netapp_lib/api/zapi/zapi.py", line 281, in invoke_successfully
result = self.invoke_elem(na_element, enable_tunneling)
File "/usr/lib/python2.6/site-packages/netapp_lib/api/zapi/zapi.py", line 263, in invoke_elem
raise NaApiError('Unexpected error', e.message)
NaApiError: NetApp API failed. Reason - Unexpected error:
fatal: [localhost]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"disk_count": 4,
"hostname": "192.168.0.101",
"name": "ansibleAggr",
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"state": "present",
"username": "admin"
}
},
"msg": "NetApp API failed. Reason - Unexpected error:"
Need help on this