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

cluster-network-operator does not emit logs from logr

    XMLWordPrintable

Details

    • No
    • SDN Sprint 246, SDN Sprint 247
    • 2
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

    Description

      See log:

      [controller-runtime] log.SetLogger(...) was never called, logs will not be displayed:
      goroutine 422 [running]:
      runtime/debug.Stack()
          runtime/debug/stack.go:24 +0x65
      sigs.k8s.io/controller-runtime/pkg/log.eventuallyFulfillRoot()
          sigs.k8s.io/controller-runtime@v0.15.0/pkg/log/log.go:59 +0xbd
      sigs.k8s.io/controller-runtime/pkg/log.(*delegatingLogSink).WithName(0xc000521140, {0x2d0b2ef, 0x14})
          sigs.k8s.io/controller-runtime@v0.15.0/pkg/log/deleg.go:147 +0x4c
      github.com/go-logr/logr.Logger.WithName({

      Unknown macro: {0x31b3e78, 0xc000521140}

      , 0x0}, {0x2d0b2ef?, 0x40?})
          github.com/go-logr/logr@v1.2.4/logr.go:336 +0x46
      sigs.k8s.io/controller-runtime/pkg/client.newClient(0xc000471440, {0x0, 0x0,

      Unknown macro: {0x31b5c00, 0xc000eb3100}

      , 0x0, {0x0, 0x0}, 0x0})
          sigs.k8s.io/controller-runtime@v0.15.0/pkg/client/client.go:115 +0xb4
      sigs.k8s.io/controller-runtime/pkg/client.New(0x319b2b0?, {0x0, 0x0,

      , 0x0, {0x0, 0x0}, 0x0})
          sigs.k8s.io/controller-runtime@v0.15.0/pkg/client/client.go:101 +0x85
      github.com/openshift/cluster-network-operator/pkg/client.NewClusterClient(0xc000471440, 0xc000499b00)
          github.com/openshift/cluster-network-operator/pkg/client/client.go:188 +0x2b0
      github.com/openshift/cluster-network-operator/pkg/client.NewClient(0x0?, 0x0?, {0x2cecdf7, 0x7}, 0x0?)
          github.com/openshift/cluster-network-operator/pkg/client/client.go:100 +0xa5
      github.com/openshift/cluster-network-operator/pkg/operator.RunOperator({0x31ace70, 0xc0009a0b90}, 0xc000318a40, {0x2cecdf7, 0x7}, 0x0?)
          github.com/openshift/cluster-network-operator/pkg/operator/operator.go:46 +0xbd
      main.newNetworkOperatorCommand.func2({0x31ace70?, 0xc0009a0b90?}, 0x31acee0?)
          github.com/openshift/cluster-network-operator/cmd/cluster-network-operator/main.go:49 +0x3b
      github.com/openshift/library-go/pkg/controller/controllercmd.ControllerBuilder.getOnStartedLeadingFunc.func1.1()
          github.com/openshift/library-go@v0.0.0-20230503144409-4cb26a344c37/pkg/controller/controllercmd/builder.go:351 +0x74
      created by github.com/openshift/library-go/pkg/controller/controllercmd.ControllerBuilder.getOnStartedLeadingFunc.func1
          github.com/openshift/library-go@v0.0.0-20230503144409-4cb26a344c37/pkg/controller/controllercmd/builder.go:349 +0x10a

       

      https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/periodic-ci-openshift-hypershift-release-4.15-periodics-e2e-aws-ovn-conformance/1722551726378061824/artifacts/e2e-aws-ovn-conformance/dump/artifacts/namespaces/clusters-dfc32df54edf6e3b2a2e/core/pods/logs/cluster-network-operator-d79876885-l5h6b-cluster-network-operator.log

       

      I think we should want logs

      Attachments

        Issue Links

          Activity

            People

              sseethar Surya Seetharaman
              skuznets@redhat.com Steve Kuznetsov
              Anurag Saxena Anurag Saxena
              Arnab Ghosh
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: