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

Service CA on MicroShift fails due to no featuregates.config.openshift.io CR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • 4.19.0
    • 4.19
    • service-ca
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Critical
    • None
    • Approved
    • None
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      After https://github.com/openshift/service-ca-operator/pull/245 service-ca started failing on MicroShift with an error:
      
      "Unhandled Error" err="github.com/openshift/client-go/config/informers/externalversions/factory.go:125: Failed to watch *v1.FeatureGate: failed to list *v1.FeatureGate: the server could not find the requested resource (get featuregates.config.openshift.io)"
      
      timed out waiting for FeatureGate detection
      
      graceful termination failed, controllers failed with error: timed out waiting for FeatureGate detection 

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

          Latest 4.19

      How reproducible:

          100%

      Steps to Reproduce:

      1. Reproduced in CI for MicroShift Rebase PR: https://github.com/openshift/microshift/pull/4805
      
      Example SOS report with the failure:
      https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift_microshift/4805/pull-ci-openshift-microshift-main-e2e-aws-tests-bootc-arm/1912359413138591744/artifacts/e2e-aws-tests-bootc-arm/openshift-microshift-e2e-metal-tests/artifacts/scenario-info/el96-src@standard-suite1/vms/host1/sos/sosreport-el96-src-standard-suite1-bootc-host1-2025-04-16-gxiwegx.tar.xz      

      Actual results:

      service-ca pod fails to start and provide the certificate service

      Expected results:

      service-ca is aware that microshift doesn't have whole openshift api and proceeds start up in "old" mode

      Additional info:

          

              vrutkovs@redhat.com Vadim Rutkovsky
              pmatusza@redhat.com Patryk Matuszak
              None
              None
              Xingxing Xia Xingxing Xia
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: