Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meraki_config_template - Integration test crashing with NoneType #19

Closed
kbreit opened this issue Dec 24, 2019 · 0 comments · Fixed by #20
Closed

meraki_config_template - Integration test crashing with NoneType #19

kbreit opened this issue Dec 24, 2019 · 0 comments · Fixed by #20
Assignees
Labels
bug Something isn't working

Comments

@kbreit
Copy link
Collaborator

kbreit commented Dec 24, 2019

TASK [meraki_config_template : Unbind a template from a network via id with check mode] ***
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: 'NoneType' object is not iterable
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/root/.ansible/tmp/ansible-tmp-1577198010.4284434-92791456721565/AnsiballZ_meraki_config_template.py\", line 116, in <module>\n    _ansiballz_main()\n  File \"/root/.ansible/tmp/ansible-tmp-1577198010.4284434-92791456721565/AnsiballZ_meraki_config_template.py\", line 108, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/root/.ansible/tmp/ansible-tmp-1577198010.4284434-92791456721565/AnsiballZ_meraki_config_template.py\", line 54, in invoke_module\n    runpy.run_module(mod_name='ansible_collections.cisco.meraki.plugins.modules.meraki_config_template', init_globals=None, run_name='__main__', alter_sys=True)\n  File \"/usr/lib/python3.6/runpy.py\", line 205, in run_module\n    return _run_module_code(code, init_globals, run_name, mod_spec)\n  File \"/usr/lib/python3.6/runpy.py\", line 96, in _run_module_code\n    mod_name, mod_spec, pkg_name, script_name)\n  File \"/usr/lib/python3.6/runpy.py\", line 85, in _run_code\n    exec(code, run_globals)\n  File \"/tmp/ansible_meraki_config_template_payload_e71pcbhx/ansible_meraki_config_template_payload.zip/ansible_collections/cisco/meraki/plugins/modules/meraki_config_template.py\", line 333, in <module>\n  File \"/tmp/ansible_meraki_config_template_payload_e71pcbhx/ansible_meraki_config_template_payload.zip/ansible_collections/cisco/meraki/plugins/modules/meraki_config_template.py\", line 298, in main\n  File \"/tmp/ansible_meraki_config_template_payload_e71pcbhx/ansible_meraki_config_template_payload.zip/ansible_collections/cisco/meraki/plugins/modules/meraki_config_template.py\", line 143, in is_template_valid\nTypeError: 'NoneType' object is not iterable\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
@kbreit kbreit added the bug Something isn't working label Dec 24, 2019
@kbreit kbreit self-assigned this Dec 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant