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

"image-registry-storage" not found on OpenStack platform

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 4.18.0
    • HyperShift / OpenStack
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift_release/58181/rehearse-58181-pull-ci-openshift-hypershift-main-e2e-openstack-csi-cinder/1849874670174605312/artifacts/e2e-openstack-csi-cinder/dump/artifacts/namespaces/clusters-8a690c0338f0f4fcaf9a/core/pods/logs/cluster-image-registry-operator-5c9d449467-gzx7f-cluster-image-registry-operator.log

       

      Description of problem:

      When deploying a Nodepool on an OpenStack cloud which doesn't have OpenStack Swift (object storage), the Image Registry operator will fall back on using OpenStack Cinder (block storage) to store the Image registry content.
      
      When it happens, it currently fails on this error:
      
      
      E1025 18:54:03.596862       1 swift.go:73] error connecting to Swift: container endpoint not found in the OpenStack catalog: No suitable endpoint could be found in the service catalog.
      I1025 18:54:03.598634       1 controller.go:294] object changed: *v1.Config, Name=cluster (metadata=false, spec=true): added:spec.storage.pvc.claim="image-registry-storage", added:status.conditions.0.lastTransitionTime="2024-10-25T18:54:03Z", added:status.conditions.0.message="persistentvolumeclaims \"image-registry-storage\" not found", added:status.conditions.0.reason="PVC Issues Found", added:status.conditions.0.status="False", added:status.conditions.0.type="StorageExists", added:status.conditions.1.lastTransitionTime="2024-10-25T18:54:03Z", added:status.conditions.1.message="The deployment does not exist", added:status.conditions.1.reason="DeploymentNotFound", added:status.conditions.1.status="False", added:status.conditions.1.type="Available", added:status.conditions.2.lastTransitionTime="2024-10-25T18:54:03Z", added:status.conditions.2.message="Unable to apply resources: unable to sync storage configuration: persistentvolumeclaims \"image-registry-storage\" not found", added:status.conditions.2.reason="Error", added:status.conditions.2.status="True", added:status.conditions.2.type="Progressing", added:status.conditions.3.lastTransitionTime="2024-10-25T18:54:03Z", added:status.conditions.3.status="False", added:status.conditions.3.type="Degraded", added:status.conditions.4.lastTransitionTime="2024-10-25T18:54:03Z", added:status.conditions.4.status="False", added:status.conditions.4.type="Removed"

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

      4.18.0

      How reproducible:

      Deploy a HostedCluster on any platform and then Nodepools on OpenStack where Swift isn't available.
          

      Actual results:

      The Nodepool isn't healthy, the image registry operator is in error state

      Expected results:

      A PVC should be created and the image registry operator should be healthy.

      Additional info:

      This was observed in our CI where the management cluster runs on AWS and the Nodepools runs on an OpenStack cloud used for CI.

            emacchi@redhat.com Emilien Macchi
            emacchi@redhat.com Emilien Macchi
            Ramón Lobillo Ramón Lobillo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: