Hi ALL,

i am getting below error while running playbook

Using /etc/ansible/ansible.cfg as config file

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

TASK [na_cdot_volume] 
*******************************************************************************************************
An exception occurred during task execution. To see the full traceback, use 
-vvv. The error was: netapp_lib.api.zapi.zapi.NaAError: NetApp API failed. 
Reason - 13010:Version 1.21 was requested, but only 1.19 is supported.
fatal: []: FAILED! => {"changed": false, "module_stderr": "Traceback (most 
recent call last):\n  File 
\"/tmp/ansie_nPfY5N/ansible_module_na_cdot_volume.py\", line 402, in 
<module>\n    main()\n  File 
\"/tmp/ansible_nPfY5N/ansible_module_ncdot_volume.py\", line 399, in 
main\n    v.apply()\n  File 
\"/tmp/ansible_nPfY5N/ansible_module_na_cdot_volume.py\", line 347in 
apply\n    volume_detail = self.get_volume()\n  File 
\"/tmp/ansible_nPfY5N/ansible_module_na_cdot_volume.py\", line 197, 
iget_volume\n    result = self.server.invoke_successfully(volume_info, 
True)\n  File 
\"/usr/lib/python2.7/site-packages/netappib/api/zapi/zapi.py\", line 294, 
in invoke_successfully\n    raise NaApiError(code, 
msg)\nnetapp_lib.api.zapi.zapi.NaApiErrorNetApp API failed. Reason - 
13010:Version 1.21 was requested, but only 1.19 is supported.\n", 
"module_stdout": "", "msg": "MOLE FAILURE", "rc": 0}
        to retry, use: --limit @/etc/ansible/playbooks/1.retry

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



- user: root
  hosts: 
  gather_facts: no
  connection: local
  vars:
    netapp_hostname: 
    netapp_username: root
    netapp_password: 
  tasks:
     - na_cdot_volume:
        state: present
        name: ansibleVolume
        aggregate_name: aggr1
        vserver: ansibleVServer
        size: 20
        size_unit: mb
        hostname: "{{ netapp_hostname }}"
        username: "{{ netapp_username }}"
        password: "{{ netapp_password }}"


can someone help me here.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to