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

Local-storage-operator must be included in appliance config for OVE UI

    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The local-storage-operator is pulled in as a dependency when the cnv operator is included, as can be seen here in assisted-service https://github.com/openshift/assisted-service/blob/master/internal/operators/cnv/cnv_operator.go#L70.

      This results in the lso operator manifests being in the olm-operator-manifests configMap:

      lso-01.yaml:
      ----
      YXBpVmVyc2lvbjogbG9jYWwuc3RvcmFnZS5vcGVuc2hpZnQuaW8vdjFhbHBoYTEKa2luZDogTG9jYWxWb2x1bWVTZXQKbWV0YWRhdGE6CiAgbmFtZTogbG9jYWwtZGlza3MKICBuYW1lc3BhY2U6IG9wZW5zaGlmdC1sb2NhbC1zdG9yYWdlCnNwZWM6CiAgZGV2aWNlSW5jbHVzaW9uU3BlYzoKICAgIGRldmljZVR5cGVzOgogICAgLSBkaXNrCiAgc3RvcmFnZUNsYXNzTmFtZTogbG9jYWxibG9jay1zYwogIHZvbHVtZU1vZGU6IEJsb2Nr
      
      lso.metadata.yaml:
      ----
      manifests:
      - lso-01.yaml
      namespace: openshift-local-storage
      subscriptionName: local-storage-operator
      

      With the changes to apply the assisted-service manifests from the configMap in 4.21 all of these manifests must be available in order to apply any of them, otherwise we see thi error in the assisted-installer logs

      time="2026-02-06T00:51:09Z" level=info msg="Not all operators are currently ready" func="github.com/openshift/assisted-installer/src/assisted_installer_controller.(*controller).applyOperatorManifests" file="/go/src/github.com/openshift/assisted-installer/src/assisted_installer_controller/assisted_installer_controller.go:765"
      time="2026-02-06T00:51:09Z" level=info msg="Failed to apply manifests" func="github.com/openshift/assisted-installer/src/assisted_installer_controller.(*controller).PostInstallConfigsK8sClient.func2" file="/go/src/github.com/openshift/assisted-installer/src/assisted_installer_controller/assisted_installer_controller.go:562"
      

      Since the lso-operator is not included in the appliance config it never gets initialized and therefore never becomes ready, preventing the other manifests from being applied:

      time="2026-02-06T00:51:05Z" level=info msg="Checking if lso 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:693"
      

      We need to add the lso operator to the appliance config for 4.22 and 4.21

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

                Created:
                Updated: