ipspace / netlab

Making virtual networking labs suck less
https://netlab.tools
Other
403 stars 56 forks source link

[BUG] netlab initial crashes when 'modprobe' command is not available #1219

Closed ipspace closed 2 weeks ago

ipspace commented 2 weeks ago

The initial configuration tasklist for FRR invokes modprobe to load the VRF module. If that command fails, Ansible reports an error, rescues the task block, but also reports an error status which crashes 'netlab initial'.

image image

Sample topology:

provider: clab
nodes:
  rtr:
    device: frr
ipspace commented 2 weeks ago

Correction: the minimum lab topology requires two devices. One of them has to be FRR, one of them has to be something else, so that we have a host with a failed task, and another host that's OK:

provider: clab
name: test

nodes:
  r1:
    device: frr
  r2:
    device: cumulus

links: [ r1-r2 ]

Ansible is as bizzare as it gets...

ipspace commented 2 weeks ago

Fixed in 3287217a7d6d4d0420d609257b5507ccd4310bae