Skip to content

Error Messages

Common Error messages

All Ansible error messages should be read from bottom to top.

cv_facts error messages

Unsupported CV version

Prior version 2.0.0 arista.cvp collection ran test to determine Cloudvision version. If version is not supported, following error should happen:

\"/var/folders/q0/92fg6g7s1bv6kgfdcgfjwt0c0000gp/T/ansible_arista.cvp.cv_facts_payload_2ld7vf9v/ansible_arista.cvp.\\", line 359, in facts_builder\n\
AttributeError: 'NoneType' object has no attribute 'get_cvp_info'\n", "module_stdout": "", "msg": "MODULE \
FAILURE\nSee stdout/stderr for the exact error", "rc": 1}


Missing Treelib requirement

Treelib is a python library used to build container topology. When missing, Ansible raise following error message

/arista/cvp/plugins/modules/\", line 254, in tree_build_from_dict\n\
NameError: global name 'Tree' is not defined\n",

With newer version of the collection, module should fails with an specific message like below:

TASK [running cv_container in merge on cv_server] *****************************
Wednesday 07 October 2020  08:21:50 +0200 (0:00:20.050)       0:00:20.114 *****
Wednesday 07 October 2020  08:21:50 +0200 (0:00:20.050)       0:00:20.114 *****
fatal: [cv_server]: FAILED! => changed=false
  msg: treelib required for this module

Last update: October 7, 2020