Open SuSRitardanni opened 1 month ago
Thank you for an excellent bug report. Unfortunately there's nothing we can do -- it looks like the famous Nokia GRPC Collection error. We found that it works (somewhat) with either old or very recent versions of Ansible (https://netlab.tools/caveats/#nokia-sr-linux)
Bear in mind that just a few days ago it was working fine
Did you perchance upgrade software or something along those lines? pip3 list|grep ansible
would display the Ansible version you have installed.
@jbemmel: How do you want to handle this? We could require Ansible core version higher than 2.16.6 (where the bug was fixed) or lower than 2.11 (where the bug was introduced), but I have no idea how that would play along with RH Enterprise Ansible.
Alternatively, we could trigger a warning, but it would probably get lost in the clutter, and not repeated once netlab initial crashes.
@jbemmel: How do you want to handle this? We could require Ansible core version higher than 2.16.6 (where the bug was fixed) or lower than 2.11 (where the bug was introduced), but I have no idea how that would play along with RH Enterprise Ansible.
Roman and I discussed and we are planning to switch to the SR Linux Ansible module (using JSON RPC), replacing the GRPC module
@SuSRitardanni: Did you check the Ansible version? Did upgrade to 9.5.1 help?
Other than that, I'll put this one on the backburner as we have a working solution (use Ansible 9.5.1) and we're waiting for @jbemmel to complete #840.
Describe the bug
Having the topology attached in the following section and executing
netlab up
with it brings up this error in the ansible phasethen ending with
[FATAL] netlab up: netlab initial failed, aborting...
After this I can connect to the routers but they don't communicate with each other.
Bear in mind that just a few days ago it was working fine
To Reproduce
Most of the bugs are caused by an error in the data transformation code or templates -- the data structures or device configurations generated by netlab are not what you would expect (which should have been described in the above section).
If you're experiencing any other unexpected behavior, please add the steps needed to reproduce it.
Expected behavior
Netlab shouldn't give an error and accessing the router I should be able to ping other routers
Lab topology
*Not the minimal one, just the one I use
Output
Version
netlab version 1.8.2
Additional context
Netlab running on the provided Vagrant using virtualbox as hypervisor, with a windows 10 host machine
Same error present running grpc test