Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-2126

sriov config daemon pod crash

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Critical
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      # oc logs sriov-network-config-daemon-6wfhv -n openshift-sriov-network-operator -c sriov-network-config-daemon
      I1009 09:46:12.465859  226207 start.go:106] overriding kubernetes api to https://192.168.111.20:31468
      panic: openshiftControlPlaneTopologyStatus(): Failed to get Infrastructure (name: cluster): infrastructures.config.openshift.io "cluster" is forbidden: User "system:serviceaccount:openshift-sriov-network-operator:sriov-network-config-daemon" cannot get resource "infrastructures" in API group "config.openshift.io" at the cluster scopegoroutine 1 [running]:
      main.runStartCmd(0x3b5f3e0?, {0x27d7d91?, 0x0?, 0x0?})
          /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/cmd/sriov-network-config-daemon/start.go:145 +0x1025
      github.com/spf13/cobra.(*Command).execute(0x3b5f3e0, {0x3c66e40, 0x0, 0x0})
          /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/vendor/github.com/spf13/cobra/command.go:860 +0x663
      github.com/spf13/cobra.(*Command).ExecuteC(0x3b5f160)
          /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/vendor/github.com/spf13/cobra/command.go:974 +0x3b4
      github.com/spf13/cobra.(*Command).Execute(...)
          /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/vendor/github.com/spf13/cobra/command.go:902
      main.main()
          /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/cmd/sriov-network-config-daemon/main.go:27 +0x25    

      Version-Release number of selected component (if applicable):

      4.12.0-0.nightly-2022-10-05-053337
      sriov-network-operator.4.12.0-202210080207 

      How reproducible:

      always

      Steps to Reproduce:

      1. setup 4.12 cluster
      2. setup sriov operator 
      3.
      

      Actual results:

      sriov config daemon pods cannot be ready

      Expected results:

      sriov config daemon pods can be ready

      Additional info:

       

              wizhao@redhat.com William Zhao
              zzhao1@redhat.com Zhanqi Zhao
              None
              None
              Zhanqi Zhao Zhanqi Zhao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: