Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-2058

[Submariner] - The submariner-metrics-proxy pod pulls an image with wrong naming convention

XMLWordPrintable

    • False
    • None
    • False
    • Important
    • No

      Description of problem:

      ACM 2.7 / Submariner 0.14.0

      The new introduces pod submariner-metrics-proxy uses nettest image.
      RedHat naming convention appends a "-rhel8" suffix to the name of the downstream image.
      So the operator should pull the nettest image with name of "registry.redhat.io/rhacm2/nettest-rhel8:v0.14.0"
      But currently it tries to pull the image without the suffix:

      As a result the pull failed.

      Pulling image "registry.redhat.io/rhacm2/nettest:v0.14.0"
        Warning  Failed           4m33s                   kubelet            Failed to pull image "registry.redhat.io/rhacm2/nettest:v0.14.0": rpc error: code = Unknown desc = (Mirrors also failed: [image-registry.openshift-image-registry.svc:5000/openshift/nettest:v0.14.0: reading manifest v0.14.0 in image-registry.openshift-image-registry.svc:5000/openshift/nettest: manifest unknown: manifest unknown]
      [brew.registry.redhat.io/rhacm2/nettest:v0.14.0: reading manifest v0.14.0 in brew.registry.redhat.io/rhacm2/nettest: unauthorized: access to the requested resource is not authorized]): registry.redhat.io/rhacm2/nettest:v0.14.0: reading manifest v0.14.0 in registry.redhat.io/rhacm2/nettest: unknown: Not Found
        Warning  Failed   4m33s                 kubelet  Error: ErrImagePull
        Warning  Failed   4m32s                 kubelet  Error: ImagePullBackOff
        Normal   BackOff  15s (x16 over 4m32s)  kubelet  Back-off pulling image "registry.redhat.io/rhacm2/nettest:v0.14.0" 

      Also, the nettest image is missing from the submariner CSV related images:

        relatedImages:
        - image: registry.redhat.io/rhacm2/submariner-rhel8-operator@sha256:420b7cc15c9aba99751a4c6fae81c6878a01880f5f1536ace629571f5c577755
          name: submariner-rhel8-operator-420b7cc15c9aba99751a4c6fae81c6878a01880f5f1536ace629571f5c577755-annotation
        - image: registry.redhat.io/rhacm2/submariner-rhel8-operator@sha256:420b7cc15c9aba99751a4c6fae81c6878a01880f5f1536ace629571f5c577755
          name: submariner-operator
        - image: registry.redhat.io/rhacm2/submariner-gateway-rhel8@sha256:7ea011ade7dc6e5fb43962b54abfe48a4b2ddd2f07c779acfed63403c9787530
          name: submariner-gateway
        - image: registry.redhat.io/rhacm2/submariner-route-agent-rhel8@sha256:e4f775c7d594f8c6ff63a201544bf7cb450f276f8c57a3d88bb612b34e30aca2
          name: submariner-route-agent
        - image: registry.redhat.io/rhacm2/submariner-globalnet-rhel8@sha256:5f6d5dbf1f7bcc4cb95edb1d215e586d014d6a89784656b8d456f48b6f7c36d0
          name: submariner-globalnet
        - image: registry.redhat.io/rhacm2/submariner-networkplugin-syncer-rhel8@sha256:836f895f35c9bf32893b37ed03a923f94e8577e600bca9abc4d5f74d27aa29af
          name: submariner-networkplugin-syncer
        - image: registry.redhat.io/rhacm2/lighthouse-agent-rhel8@sha256:10084e4589b53f79196d8c46374921e81a58edd487ce07a8fb03b1075cffde70
          name: lighthouse-agent
        - image: registry.redhat.io/rhacm2/lighthouse-coredns-rhel8@sha256:f847e27e080ff4334679c3bec601f581a5b5957265cef6fe8f828c440b897bd9
          name: lighthouse-coredns
      

      Also, since the same nettest image is used in both "submariner-metrix-pod" and during the e2e execution by a "subctl" the reference to the nettest image by both should be the same.

              mkolesni@redhat.com Michael Kolesnik
              mbabushk@redhat.com Maxim Babushkin
              Maxim Babushkin Maxim Babushkin
              ACM QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: