You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing error error parsing the pci address "10001:80:05.0" in sriov-network-config-daemon log output.
This is due to a bug in jaypipes/ghw which is fixed in latest release - see: jaypipes/ghw#373
I would send a PR to bump the version, however encountered errors when running make all after the change:
pkg/host/internal/lib/ghw/ghw.go:1: : # github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/ghw
pkg/host/internal/lib/ghw/ghw.go:28:9: cannot use ghw.PCI() (value of type *pci.Info) as Info value in return statement: *pci.Info does not implement Info (missing method ListDevices) (typecheck)
package ghw
pkg/host/manager.go:9:2: could not import github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/ghw (-: # github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/ghw
pkg/host/internal/lib/ghw/ghw.go:28:9: cannot use ghw.PCI() (value of type *pci.Info) as Info value in return statement: *pci.Info does not implement Info (missing method ListDevices)) (typecheck)
"github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/ghw"
I believe the issue is due to deprecated ListDevices() method in latest ghw version -see: jaypipes/ghw#348 . I'm not sure how to resolve that as I'm not familiar with the mock library being used.
I'm seeing error
error parsing the pci address "10001:80:05.0"
insriov-network-config-daemon
log output.This is due to a bug in
jaypipes/ghw
which is fixed in latest release - see: jaypipes/ghw#373I would send a PR to bump the version, however encountered errors when running
make all
after the change:I believe the issue is due to deprecated
ListDevices()
method in latest ghw version -see: jaypipes/ghw#348 . I'm not sure how to resolve that as I'm not familiar with the mock library being used.fyi @ykulazhenkov
The text was updated successfully, but these errors were encountered: