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

found error logs for cert-manager in nmstate-operator pod

XMLWordPrintable

    • Critical
    • Yes
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      There are lots of error logs for cert-manager in nmstate-operator pod after replace cert manager with openshift cert service

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

      kubernetes-nmstate-operator.4.16.0-202409111235

      How reproducible:

      always

      Steps to Reproduce:

          1. install knmstate operator, create nmstate instance
          2. check log of nmstate-operator pod
          

      Actual results:

      There are lots of error logs for cert-manager:
      
      % oc logs pod/nmstate-operator-db7b986db-6wbts | grep cert-manager
      {"level":"error","ts":"2024-09-14T13:03:32.418Z","msg":"Reconciler error","controller":"nmstate","controllerGroup":"nmstate.io","controllerKind":"NMState","NMState":{"name":"nmstate"},"namespace":"","name":"nmstate","reconcileID":"b606e71a-1441-4f8d-bc0c-28b2fd947c45","error":"failed deleting obsolete cert-manager deployment at openshift: an empty namespace may not be set when a resource name is provided","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:274\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/src/github.com/openshift/kubernetes-nmstate/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:235"}
      ...

      Expected results:

      There is no error logs for cert-manager

      Additional info:

      related PR should be this one: https://github.com/openshift/kubernetes-nmstate/pull/523 

       
       
       

              mkowalsk@redhat.com Mat Kowalski
              rh-ee-qiowang Qiong Wang
              Qiong Wang Qiong Wang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: