NVUE Fails to Apply Configuration After Upgrade

Issue

When you apply an NVUE configuration after upgrade to Cumulus Linux 5.4.0 or later from a previous release, the apply fails with a message indicating breakout syntax is invalid:

cumulus@switch:~$ nv config apply
Invalid config [rev_id: 4]
  Config invalid at interface.swp1.link.breakout: '4x10G' is not of type 'object'

Environment

This issue is observed when all of the following conditions are true:

Solution

To resolve this issue:

  1. Remove the breakout configuration for every port:

You must also unset the link breakout configuration from ports set to link breakout disabled.

nv unset interface swp1 link breakout
nv unset interface swp2 link breakout
nv unset interface swp3 link breakout
nv unset interface swp4 link breakout
...
nv config apply
  1. Apply the breakout configuration again using the supported syntax in Cumulus Linux 5.4.0:
nv set interface swp1 link breakout 4x
nv set interface swp2 link breakout disabled
nv set interface swp3 link breakout 4x
nv set interface swp4 link breakout disabled
...
nv config apply