aristanetworks / ansible-cvp

Ansible modules for Arista CloudVision
http://cvp.avd.sh
Apache License 2.0
66 stars 61 forks source link

Raise error when unable to download cvprac #588

Open sugetha24 opened 1 year ago

sugetha24 commented 1 year ago

Issue Summary

When cv_connect() is unable to import cvprac, we are setting a flag here: https://github.com/aristanetworks/ansible-cvp/blob/ebcc2ebee58adc93d47938be219e5f397e6dc1c5/ansible_collections/arista/cvp/plugins/module_utils/tools_cv.py#L30 but, we are not raising the error anywhere. We need to raise it inside cv_connect(), here: https://github.com/aristanetworks/ansible-cvp/blob/ebcc2ebee58adc93d47938be219e5f397e6dc1c5/ansible_collections/arista/cvp/plugins/module_utils/tools_cv.py#L52

Which component(s) of AVD impacted

other

How do you run AVD ?

None

Input variables

No response

Steps to reproduce

No response

Relevant log output

No response

Code of Conduct

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days