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

On an SNO with disabled capabilities openshift-controller-manager-operator continuously gets restarted: unable to sync caches for ConfigObserver

XMLWordPrintable

    • Important
    • No
    • Pipeline Integrations #3247, Pipeline Integrations #3248, Pipeline Integrations #3249
    • 3
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      11/27: green, is a dup of OCPBUGS-23490, just waiting for that fix to be verified
      Show
      11/27: green, is a dup of OCPBUGS-23490 , just waiting for that fix to be verified

      Description of problem:

      On an SNO with disabled capabilities openshift-controller-manager-operator continuously gets restarted: unable to sync caches for ConfigObserver. Due to disabled capabilities the Build api is disabled:
      
          lastState:
            terminated:
              containerID: cri-o://d3638ac40c0207434dcdf9126dc98d84a019f0063ff8c5976cc02ee7b5fd44f7
              exitCode: 1
              finishedAt: "2023-10-17T06:45:08Z"
              message: |
                Build: the server could not find the requested resource (get builds.config.openshift.io)
                W1017 06:42:47.580075       1 reflector.go:533] k8s.io/client-go@v0.27.3/tools/cache/reflector.go:231: failed to list *v1.Build: the server could not find the requested resource (get builds.config.openshift.io)
                E1017 06:42:47.580103       1 reflector.go:148] k8s.io/client-go@v0.27.3/tools/cache/reflector.go:231: Failed to watch *v1.Build: failed to list *v1.Build: the server could not find the requested resource (get builds.config.openshift.io)
                W1017 06:43:18.608096       1 reflector.go:533] k8s.io/client-go@v0.27.3/tools/cache/reflector.go:231: failed to list *v1.Build: the server could not find the requested resource (get builds.config.openshift.io)
                E1017 06:43:18.608126       1 reflector.go:148] k8s.io/client-go@v0.27.3/tools/cache/reflector.go:231: Failed to watch *v1.Build: failed to list *v1.Build: the server could not find the requested resource (get builds.config.openshift.io)
                W1017 06:44:05.521203       1 reflector.go:533] k8s.io/client-go@v0.27.3/tools/cache/reflector.go:231: failed to list *v1.Build: the server could not find the requested resource (get builds.config.openshift.io)
                E1017 06:44:05.521363       1 reflector.go:148] k8s.io/client-go@v0.27.3/tools/cache/reflector.go:231: Failed to watch *v1.Build: failed to list *v1.Build: the server could not find the requested resource (get builds.config.openshift.io)
                W1017 06:45:01.030547       1 reflector.go:533] k8s.io/client-go@v0.27.3/tools/cache/reflector.go:231: failed to list *v1.Build: the server could not find the requested resource (get builds.config.openshift.io)
                E1017 06:45:01.030651       1 reflector.go:148] k8s.io/client-go@v0.27.3/tools/cache/reflector.go:231: Failed to watch *v1.Build: failed to list *v1.Build: the server could not find the requested resource (get builds.config.openshift.io)
                I1017 06:45:08.235032       1 shared_informer.go:337] stop requested
                F1017 06:45:08.235052       1 base_controller.go:96] unable to sync caches for ConfigObserver
              reason: Error
              startedAt: "2023-10-17T06:29:40Z"
      

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

      4.14.0-rc.6

      How reproducible:

      100%

      Steps to Reproduce:

      1. Deploy SNO with disabled capabilities:
      
          installConfigOverrides:  "{\"capabilities\":{\"baselineCapabilitySet\": \"None\", \"additionalEnabledCapabilities\": [ \"marketplace\", \"NodeTuning\", \"ImageRegistry\" ] }}"
      
      
      2. oc -n openshift-controller-manager-operator get pods
      

      Actual results:

      NAME                                                     READY   STATUS    RESTARTS         AGE
      openshift-controller-manager-operator-6f58db87cd-5n5h6   1/1     Running   86 (6m46s ago)   20h
      

      Expected results:

      No or close to zero restarts

      Additional info:

      Attaching must-gather.

              cdaley Corey Daley
              mcornea@redhat.com Marius Cornea
              Jitendar Singh Jitendar Singh
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: