changing "resource-list" config doesn't take effect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SR-IOV Network Device Plugin Charm |
Triaged
|
Medium
|
Unassigned |
Bug Description
Deployed Charmed Kubernetes 1.20 on baremetal.
Workers are running on physical machines
Activated SRIOV on the interface ens1f1
Deployed SRIOV-CNI and SRIOV-network-
Based on the logs from the pod of sriov-network-
I0127 17:10:37.391927 25 manager.go:98] ResourceList: [{ResourcePrefix: ResourceName:
I0127 17:10:37.391984 25 manager.go:174] validating resource name "intel.
I0127 17:10:37.391990 25 main.go:60] Discovering host network devices
I0127 17:10:37.391998 25 manager.go:190] discovering host network devices
I0127 17:10:37.445129 25 manager.go:220] discoverDevices(): device found: 0000:12:00.0 02 Intel Corporation Ethernet Controller XXV710 for 25GbE ...
I0127 17:10:37.445644 25 manager.go:290] ens1f0 added to linkWatchList
I0127 17:10:37.445681 25 manager.go:220] discoverDevices(): device found: 0000:12:00.1 02 Intel Corporation Ethernet Controller XXV710 for 25GbE ...
I0127 17:10:37.445944 25 manager.go:290] ens1f1 added to linkWatchList
I0127 17:10:37.445972 25 manager.go:220] discoverDevices(): device found: 0000:12:02.0 02 Intel Corporation Ethernet Virtual Function 700 Series
I0127 17:10:37.446284 25 manager.go:220] discoverDevices(): device found: 0000:12:02.1 02 Intel Corporation Ethernet Virtual Function 700 Series
I0127 17:10:37.446720 25 manager.go:220] discoverDevices(): device found: 0000:12:02.2 02 Intel Corporation Ethernet Virtual Function 700 Series
I0127 17:10:37.447117 25 manager.go:220] discoverDevices(): device found: 0000:12:02.3 02 Intel Corporation Ethernet Virtual Function 700 Series
I0127 17:10:37.447552 25 manager.go:220] discoverDevices(): device found: 0000:12:0a.0 02 Intel Corporation Ethernet Virtual Function 700 Series
I0127 17:10:37.447891 25 manager.go:220] discoverDevices(): device found: 0000:12:0a.1 02 Intel Corporation Ethernet Virtual Function 700 Series
I0127 17:10:37.448266 25 manager.go:220] discoverDevices(): device found: 0000:12:0a.2 02 Intel Corporation Ethernet Virtual Function 700 Series
I0127 17:10:37.448662 25 manager.go:220] discoverDevices(): device found: 0000:12:0a.3 02 Intel Corporation Ethernet Virtual Function 700 Series
I0127 17:10:37.449112 25 manager.go:220] discoverDevices(): device found: 0000:37:00.0 02 Intel Corporation Ethernet Controller XXV710 for 25GbE ...
Trying to change the config of the charm to change the selector to only use PfName as the filter:
juju config sriov-network-
I see that the configmap got updated, however daemonset didn't reflect the change and still shows the original selector values.
Thanks for the report. I can reproduce this.
You can work around this by manually restarting the DaemonSet:
kubectl rollout restart -n $MODEL daemonset/ sriov-network- device- plugin