You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get-interface-information output saved in json format in a txt file
ACTUAL RESULTS
It fails
"module_stderr": "Traceback (most recent call last):\n File \"/home/fibrus_admin/.ansible/tmp/ansible-tmp-1699534577.0087278-4076401-81230876709010/AnsiballZ_rpc.py\", line 107, in <module>\n _ansiballz_main()\n File \"/home/fibrus_admin/.ansible/tmp/ansible-tmp-1699534577.0087278-4076401-81230876709010/AnsiballZ_rpc.py\", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/home/fibrus_admin/.ansible/tmp/ansible-tmp-1699534577.0087278-4076401-81230876709010/AnsiballZ_rpc.py\", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.juniper.device.plugins.modules.rpc', init_globals=dict(_module_fqn='ansible_collections.juniper.device.plugins.modules.rpc', _modlib_path=modlib_path),\n File \"/usr/lib/python3.8/runpy.py\", line 207, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib/python3.8/runpy.py\", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/usr/lib/python3.8/runpy.py\", line 87, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_juniper.device.rpc_payload_ogucyzov/ansible_juniper.device.rpc_payload.zip/ansible_collections/juniper/device/plugins/modules/rpc.py\", line 631, in <module>\n File \"/tmp/ansible_juniper.device.rpc_payload_ogucyzov/ansible_juniper.device.rpc_payload.zip/ansible_collections/juniper/device/plugins/modules/rpc.py\", line 548, in main\n File \"/usr/local/lib/python3.8/dist-packages/jnpr/junos/rpcmeta.py\", line 387, in __call__\n return self._junos.execute(rpc_cmd, **kvargs)\n File \"/usr/local/lib/python3.8/dist-packages/jnpr/junos/decorators.py\", line 71, in wrapper\n return function(*args, **kwargs)\n File \"/usr/local/lib/python3.8/dist-packages/jnpr/junos/decorators.py\", line 31, in wrapper\n return function(*args, **kwargs)\n File \"/usr/local/lib/python3.8/dist-packages/jnpr/junos/device.py\", line 875, in execute\n or (ver_info.major[0] == 14 and ver_info.major[1] >= 2)\nAttributeError: 'NoneType' object has no attribute 'major'\n",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
}
The text was updated successfully, but these errors were encountered:
SUMMARY
RPC Calls to MX480 on Junos 23.2R1-S1.6 not working
ISSUE TYPE
COMPONENT NAME
ansible_collections.juniper.device.plugins.modules.rpc
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
MX480 on Junos 23.2R1-S1.6
STEPS TO REPRODUCE
ansible-playbook -i test get-nms-data.yml -vvvv -T 50
test is an inventory file with the one device having the issue. Our other devices on 21.2R3-S3.5 don't have the issue
EXPECTED RESULTS
get-interface-information output saved in json format in a txt file
ACTUAL RESULTS
It fails
The text was updated successfully, but these errors were encountered: