Skip to content

[BUG] Version checking at "netlab up" seems bogus #1313

@DanPartelly

Description

@DanPartelly

Describe the bug

Running a lab which is built of multiple libbvirtd boxes , using both isov and iosvl2 devices results in conflicting version check results. In my case the device versions where set like this: iosv , the L3 image is at 159.3.M8 while iosvl2 is simply set to 2020.
the version checking seems to be confused about the fact there are 2 different device types and compares their versions.

To Reproduce

Run a lab with both iosvl2 and iosv devices. Please notice that checking is inconsistent a bit, there where several runs when no warnings where emited.

Expected behavior

A clear and concise description of what you expected to happen.

Lab topology

this skeleton should doit:

defaults:
device: iosv

nodes:
r1:
r2:
r3:
r4:
sw1:
device: iosvl2

links:

  • r1-sw1
  • r1-sw1
  • r2-sw1
  • r2-sw1
  • r3-sw1
  • r3-sw1
  • r4-sw1
  • r4-sw1

Output

==> r1: Checking if box 'cisco/iosv' version '159.3.M8' is up to date...
==> r1: A newer version of the box 'cisco/iosvl2' for provider 'libvirt' is
==> r1: available! You currently have version '159.3.M8'. The latest is version
==> r1: '2020'. Run vagrant box update to update.

Version

netlab version 1.9.0-post1
Note that I run the bleeding edge, my package was generated from latest dev commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions