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

OLM manifest configMap metadata names using incorrect tags

XMLWordPrintable

    • None
    • None
    • Agent Sprint 280, Agent Sprint 281
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The agent-based installer uses a configMap for the OLM manifests that is created by assisted-service and used by the assisted-installer since the assisted-service is not available when the manifests must be applied. In one of the last commits for https://github.com/openshift/assisted-service/pull/7818 the metadata field names were set up incorrectly (capitalized instead of using lowercase/camelCase format). This results in an error when the assisted-installer attempts to read the manifests:

      time="2025-12-08T13:35:07Z" level=info msg="Checking if kube-descheduler operator is initialized" func="github.com/openshift/assisted-installer/src/assisted_installer_controller.(*controller).getReadyOperators" file="/go/src/github.com/openshift/assisted-installer/src/assisted_installer_controller/assisted_installer_controller.go:695"
      time="2025-12-08T13:35:07Z" level=warning msg="Failed to get subscription  in " func="github.com/openshift/assisted-installer/src/k8s_client.(*k8sClient).GetCSVFromSubscription" file="/go/src/github.com/openshift/assisted-installer/src/k8s_client/k8s_client.go:596" error="resource name may not be empty"
      

              bfournie@redhat.com Robert Fournier
              bfournie@redhat.com Robert Fournier
              None
              None
              Manoj Hans Manoj Hans
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: