Page MenuHomePhabricator

lsw1-c1-eqiad: mgmt0 traffic not working after upgrade to SR-Linux 26.7.3
Open, MediumPublic

Description

We hit the same issue today for lsw1-c1-eqiad as we previously hit for lsw1-a4-eqiad and lsw1-b7-eqiad.

Symptoms

Namely that despite the Nokia's mgmt0 port showing as "up", it receives zero frames inbound from the unmanaged msw in the rack:

A:admin@lsw1-c1-eqiad# show interface mgmt0
======================================================
mgmt0 is up, speed 1G, type None
  mgmt0.0 is up
    Network-instances:
      * Name: mgmt (ip-vrf)
    Encapsulation   : null
    Type            : None
    IPv4 addr    : 10.65.1.201/16 (static, preferred)
------------------------------------------------------
======================================================
A:admin@lsw1-c1-eqiad# show interface mgmt0 detail | as json | jq '.IfDetail[0].statistics[0]'
{
  "counter": "Octets",
  "Rx": "0",
  "Tx": "47360"
}
root@lsw1-c1-eqiad:~# tcpdump -i mgmt0.0 -l -p -nn 
listening on mgmt0.0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
16:53:33.689059 IP6 fe80::307e:2cff:fec8:1de9 > ff02::2: ICMP6, router solicitation, length 16
16:57:35.353078 IP6 fe80::307e:2cff:fec8:1de9 > ff02::2: ICMP6, router solicitation, length 16
16:58:17.695629 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28
16:58:18.746048 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28
16:58:19.769046 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28
16:58:20.926158 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28
16:58:21.946057 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28
16:58:22.970049 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28
16:58:28.485844 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28
16:58:29.498048 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28
16:58:30.522053 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28
17:05:46.873063 IP6 fe80::307e:2cff:fec8:1de9 > ff02::2: ICMP6, router solicitation, length 16
17:06:56.066227 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28
17:06:57.081048 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28
17:06:58.105049 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28
17:07:07.365231 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28
17:07:08.409049 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28
17:07:09.433047 ARP, Request who-has 10.65.0.1 tell 10.65.1.201, length 28

18 packets captured
18 packets received by filter
0 packets dropped by kernel

Fix

It's hard to say what is happening. Because the port is up and the switch is apparently sending frames, but not receiving any, my guess is that the msw is somehow blocking the port or preventing it from trafficking. It definitely seems to be an interop issue with SR-Linux v26.7 and the msw.

But the problem is because the msw is unmanaged we cannot get on to it to do any investigation and try to work out what is happening. So even if it's something the Nokia is doing, we can't analyse what that might be to go back to Nokia with in a case.

The pattern in racks A4 and B7 was that the msw were old, but I don't think that is the case in C1. The solution there was to cable the switch to the msw in the next rack over (A5/A8), which tbh is probably fine here if we go with C2. The only fear is that after we upgrade the switches in C/D to v26.7+ we will start seeing this on more of them.

Creating task in case anyone has any other ideas apart from cabling to a remote rack.

Event Timeline

cmooney triaged this task as Medium priority.
cmooney removed a subscriber: Jclark-ctr.

@Jclark-ctr moved the uplink to the adjacent rack and everything is now working fine.

I'll keep this task open so we can discuss the issue in general and decide what to do if we see it more when eqiad c/d get upgraded.

We should probably try to cross check devices:

  • Connect a mgmt port showing the issue on a neighbor switch (tested and works)
  • Connect a mgmt port showing the issue on a different port of the same mgmt switch
  • Connect a mgmt port NOT showing the issue (eg. neighbor switch) to the same mgmt switch
  • Reboot the mgmt switch connected to the mgmt port showing the issue
  • Reboot the nokia switch connected to the neighbor switch

One of my worry is that it's related to a frame sent at boot time and moving the cable to a different mgmt switch will still trigger the issue at the next reboot.

The mgmt switches can also be managed, so one option is to go dig through the UI to see if there are any relevant log.

On the longer run it's probably best to not connect switch to their neighbor mgmt switches as it will add confusion when a mgmt switch goes down.

I also looked at SR-Linux 26.7 release notes for any known issue on the management port and only found:

A management port only works if the far end is operating at 1 Gb/s. At any other speeds, it does not send or receive any traffic even if the port is up. [463477]

Which I don't think is what we're seeing here.

We should probably try to cross check devices:

  • Reboot the mgmt switch connected to the mgmt port showing the issue
  • Reboot the nokia switch connected to the neighbor switch

We've tried both of these already and it seemed to have no affect

One of my worry is that it's related to a frame sent at boot time and moving the cable to a different mgmt switch will still trigger the issue at the next reboot.

That is possible, however we have also disconnected and reconnected the mgmt port on affected Nokias, and also moved to a new port on the unmanaged switch. So if it was something sent at boot time you'd expect it to reset when the port went down, and definitely not affect a different port only connected once the Nokia was up.

We've also rebooted/upgraded plenty of Nokias to v26 and not encountered this issue, whatever the pattern is it's only affecting a subset of devices.

The mgmt switches can also be managed, so one option is to go dig through the UI to see if there are any relevant log.

I suspect this is probably the only way we'll get to the bottom of it. And then hopefully find a way to prevent the Nokia doing whatever it is doing, as a msw-side fix would require us bringing them all under management.

On the longer run it's probably best to not connect switch to their neighbor mgmt switches as it will add confusion when a mgmt switch goes down.

agreed

I also looked at SR-Linux 26.7 release notes for any known issue on the management port and only found:

A management port only works if the far end is operating at 1 Gb/s. At any other speeds, it does not send or receive any traffic even if the port is up. [463477]

Which I don't think is what we're seeing here.

Yeah it seems unlikely. The Nokia side shows the port up at 1G full-duplex, so autoneg has worked. It also shows lots of outbound traffic.

Looking a bit more into this, in eqiad we have 3 models:

  • NETGEAR GS748T - purchased in 2020
  • NETGEAR FS750T2 - purchased in 2011/2012
  • FS.com S3900-48T6S-R - purchased in 2023

C1 and adjacent C2 are both GS748T.

From the doc, https://www.downloads.netgear.com/files/GDC/GS748Tv6/GS724Tv6_GS748Tv6_UM_EN.pdf
They first try DHCP then default their IP to 192.168.0.239/24 so if we want to access C1 management, we need to either adapt our DHCP to deliver a proper mgmt IP to that switch, then reboot it. Or temporarily isolate the switch, connect a laptop and manually configure an IP in that same subnet.

An alternative is to start looking at replacing the management switches to S3900-48T6S-R or more recent.

@Jclark-ctr, @VRiley-WMF, could you check if C1 management switch mac address is visible on the label? And would you have time to help troubleshooting C1 ?

They first try DHCP then default their IP to 192.168.0.239/24 so if we want to access C1 management, we need to either adapt our DHCP to deliver a proper mgmt IP to that switch, then reboot it. Or temporarily isolate the switch, connect a laptop and manually configure an IP in that same subnet.

Another - potentially messy - way would be to temporarily move the uplink on msw1-eqiad for the affected switch to a different vlan. And then either configure an irb on msw1 with an IP like 192.168.0.1/24 on that vlan, and try to ssh direct from the msw, or trunk the vlan up to the MR and do the same thing there / route it on the network.

Not sure if it's less/more complicated than using a laptop to do it. I guess it could be done remotely without anyone on site so perhaps that's an advantage.

For the sake of comparison it's very interesting that C1 and C2 have the same model.

SwitchModel in NetboxStory
msw-c1-eqiadNetgear GS748Tlsw1-c1-eqiad wouldn't work with this after upgrade to SRL v26
msw-c2-eqiadNetgear GS748Tlsw1-c1-eqiad worked just fine when connected to this on v26
msw-a4-eqiadNetgear GS748Tlsw1-a4-eqiad wouldn't work with this after upgrade to SRL v26
msw-a5-eqiadNetgear GS748Tlsw1-a4-eqiad worked just fine when connected to this on v26
msw-b7-eqiadNetgear FS750T2lsw1-b7-eqiad wouldn't work with this after upgrade to SRL v26
msw-b8-eqiadNetgear GS748Tlsw1-b7-eqiad worked just fine when connected to this on v26

Interesting there is no particular pattern. Apart from B7 all of them are the same version. I wonder would we find a different OS version on the GS748Ts, that potentially an upgrade/downgrade on the problematic ones would fix?

Actually ignore the above table. Checking the LLDP info on msw1-eqiad only one of the three problematic msw's reports any LLDP info. And that is for rack C1 saying it is a GS748Tv5. Rack C2 reports the same model.

But A4 and B7 return no LLDP info, so I'm guessing John's previous comment to me that there are some older devices in those racks is probably correct, and Netbox is out of sync.