mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
874fd70d10
* `nxos_facts` crashes with certain nxos images; e.g. `7.0(3)I7(3)` as a result of this call: ``` data = self.run('show lldp neighbors', output='json') ``` ...which returns `ERROR: No neighbour information` when the device has no neighbors. * This response causes httpapi's `handle_reponse()` to raise a ConnectionError, which is caught by `utils/jsonrpc.py` which is expecting `code` in the exception data: ``` except ConnectionError as exc: display.vvv(traceback.format_exc()) error = self.error(code=exc.code, message=to_text(exc)) ``` * Found by: `nxos_facts/tests/common/not_hardware.yaml:7` |
||
---|---|---|
.. | ||
ansible |