Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
TASK [attach network trm_test] *****************************************************************************************************************************************************************************************************************************
Monday 03 October 2022 17:36:47 -0700 (0:00:01.954) 0:00:01.996 ********
[WARNING]: Persistent connection logging is enabled for 172.25.74.47. This will log ALL interactions to /tmp/ansible.log and WILL NOT redact sensitive configuration like passwords. USE WITH CAUTION!
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'bool' object has no attribute 'lower'
fatal: [172.25.74.47]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-local-376075orfxctv/ansible-tmp-1664843807.6366975-37639-163353454128467/AnsiballZ_dcnm_network.py\", line 10
7, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-local-376075orfxctv/ansible-tmp-1664843807.6366975-37639-163353454128467/AnsiballZ_dcnm_network.py\", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIB
ALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-local-376075orfxctv/ansible-tmp-1664843807.6366975-37639-163353454128467/AnsiballZ_dcnm_network.py\", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.cisco.dcnm.plugins.mod
ules.dcnm_network', init_globals=dict(_module_fqn='ansible_collections.cisco.dcnm.plugins.modules.dcnm_network', _modlib_path=modlib_path),\n File \"/usr/lib/python3.9/runpy.py\", line 210, in run_module\n return _run_module_code(code, init_globals
, run_name, mod_spec)\n File \"/usr/lib/python3.9/runpy.py\", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/usr/lib/python3.9/runpy.py\", line 87, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansib
le_dcnm_network_payload_e832xs2s/ansible_dcnm_network_payload.zip/ansible_collections/cisco/dcnm/plugins/modules/dcnm_network.py\", line 2580, in <module>\n File \"/tmp/ansible_dcnm_network_payload_e832xs2s/ansible_dcnm_network_payload.zip/ansible_col
lections/cisco/dcnm/plugins/modules/dcnm_network.py\", line 2533, in main\n File \"/tmp/ansible_dcnm_network_payload_e832xs2s/ansible_dcnm_network_payload.zip/ansible_collections/cisco/dcnm/plugins/modules/dcnm_network.py\", line 2496, in update_want\
n File \"/tmp/ansible_dcnm_network_payload_e832xs2s/ansible_dcnm_network_payload.zip/ansible_collections/cisco/dcnm/plugins/modules/dcnm_network.py\", line 2409, in dcnm_update_network_information\nAttributeError: 'bool' object has no attribute 'lower
'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
PLAY RECAP *************************************************************************************************************************************************************************************************************************************************
172.25.74.47 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=1
Monday 03 October 2022 17:36:51 -0700 (0:00:04.016) 0:00:06.013 ********
===============================================================================
attach network trm_test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 4.02s
create newtork with parameters ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.95s
Community Note
Ansible Version and collection version
DCNM version
Affected module(s)
Ansible Playbook
Debug Output
Expected Behavior
network should be attached to selected switches
Actual Behavior
error as above
Steps to Reproduce
References