General Discussion

Unable to Create and enable Scanner pool using ansible


Unable to Create and enable Scanner pool using ansible:


I am new user trying to learn ansible, when i was trying to create scanner pool using playbook received below error:
Kindly help me to understand the error also if there is any other way to capture the exact errors please suggest.


TASK [Create and enable Scanner pool] **********************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "/home/tinz096/.ansible/tmp/ansible-tmp-1588754252.9913952-278961512290863/ DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\n import imp\nTraceback (most recent call last):\n File \"/home/tinz096/.ansible/tmp/ansible-tmp-1588754252.9913952-278961512290863/\", line 114, in <module>\n _ansiballz_main()\n File \"/home/tinz096/.ansible/tmp/ansible-tmp-1588754252.9913952-278961512290863/\", line 106, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/home/tinz096/.ansible/tmp/ansible-tmp-1588754252.9913952-278961512290863/\", line 49, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/usr/lib/python3.7/\", line 234, in load_module\n return load_source(name, filename, file)\n File \"/usr/lib/python3.7/\", line 169, in load_source\n module = _exec(spec, sys.modules[name])\n File \"<frozen importlib._bootstrap>\", line 630, in _exec\n File \"<frozen importlib._bootstrap_external>\", line 728, in exec_module\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"/tmp/ansible_na_ontap_vscan_scanner_pool_payload_x3t2bgep/\", line 238, in <module>\n File \"/tmp/ansible_na_ontap_vscan_scanner_pool_payload_x3t2bgep/\", line 234, in main\n File \"/tmp/ansible_na_ontap_vscan_scanner_pool_payload_x3t2bgep/\", line 210, in apply\n File \"/tmp/ansible_na_ontap_vscan_scanner_pool_payload_x3t2bgep/\", line 176, in get_scanner_pool\nAttributeError: 'NoneType' object has no attribute 'get_child_by_name'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner