Project

General

Profile

Actions

Bug #62493

open

get_iface_numa_node does not work for vlan

Added by Shimon Tanny 8 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This issue is similar to issue
https://tracker.ceph.com/issues/58400

however the fixed that is propose does not cover vlan case it only covers vlan + bonding

for example for the following setup with multicore numa with network card with 2 ports with bonding and vlan interfaces on it.
the get_iface_numa_node won't find the numa

ls -ltr /sys/class/net/
total 0
lrwxrwxrwx. 1 root root 0 Aug 16 13:37 ens1f0 -> ../../devices/pci0000:11/0000:11:00.0/0000:12:00.0/net/ens1f0
lrwxrwxrwx. 1 root root 0 Aug 16 13:37 ens1f1 -> ../../devices/pci0000:11/0000:11:00.0/0000:12:00.1/net/ens1f1

lrwxrwxrwx. 1 root root 0 Aug 16 14:13 infra-bond -> ../../devices/virtual/net/infra-bond

lrwxrwxrwx. 1 root root 0 Aug 16 14:13 vlan98 -> ../../devices/virtual/net/vlan98
lrwxrwxrwx. 1 root root 0 Aug 16 14:13 vlan97 -> ../../devices/virtual/net/vlan97

$ ls ltr /sys/class/net/vlan97/
total 0
-r--r--r-
. 1 root root 4096 Aug 16 14:13 phys_port_id
r--r--r-. 1 root root 4096 Aug 16 14:13 ifindex
lrwxrwxrwx. 1 root root 0 Aug 21 07:21 lower_infra-bond -> ../infra-bond

$ ls ltr /sys/class/net/vlan98/
total 0
-rw-r--r-
. 1 root root 4096 Aug 16 14:13 uevent
r--r--r-. 1 root root 4096 Aug 16 14:13 type
r--r--r-. 1 root root 4096 Aug 16 14:13 phys_port_id
lrwxrwxrwx. 1 root root 0 Aug 21 07:15 lower_infra-bond -> ../infra-bond

$ls ltr /sys/class/net/infra-bond/
-rw-r--r-
. 1 root root 4096 Aug 16 14:13 uevent
r--r--r-. 1 root root 4096 Aug 16 14:13 phys_port_id
r--r--r-. 1 root root 4096 Aug 16 14:13 ifindex
r--r--r-. 1 root root 4096 Aug 16 14:13 dev_id
lrwxrwxrwx. 1 root root 0 Aug 21 07:16 upper_vlan98 -> ../vlan98
lrwxrwxrwx. 1 root root 0 Aug 21 07:16 upper_vlan97 -> ../vlan97
lrwxrwxrwx. 1 root root 0 Aug 21 07:16 lower_ens1f1 -> ../../../pci0000:11/0000:11:00.0/0000:12:00.1/net/ens1f1
lrwxrwxrwx. 1 root root 0 Aug 21 07:16 lower_ens1f0 -> ../../../pci0000:11/0000:11:00.0/0000:12:00.0/net/ens1f0

Actions #1

Updated by Ilya Dryomov 4 months ago

  • Target version deleted (v17.2.7)
Actions

Also available in: Atom PDF