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

Telco RAN - Pre-Cache Tool - ACM and MCE z streams are decoupled

XMLWordPrintable

    • +
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When passing the hub-version argument which specifies the RHACM version it was agreed that:
      * ACM 2.5.z matches MCE 2.0.z
      * ACM 2.6.z matches MCE 2.1.z
      * ACM 2.7.z matches MCE 2.2.z
      ....
      
      We were also assumed that the z stream was going to be the same. However this is not true. See here running ACM 2.6.3 which depends on MCE 2.1.4
      
      $ oc get csv -A | grep -i advanced
      open-cluster-management                            advanced-cluster-management.v2.6.3           Advanced Cluster Management for Kubernetes   2.6.3                 advanced-cluster-management.v2.6.2                Succeeded 
      
      $ oc get csv -A | grep -i "multicluster engine for Kubernetes"
      multicluster-engine                                multicluster-engine.v2.1.4                   multicluster engine for Kubernetes           2.1.4                 multicluster-engine.v2.1.3       
      
      This means that if customer passes --hub-version 2.6.3 the tool will pre-cache MCE contaimer images from MCE 2.1.3 instead of 2.1.4. Therefore, either the installation fails or the 2.1.4 images are pulled from network.

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

      quay.io/openshift-kni/telco-ran-tools:latest

      How reproducible:

      Always

      Steps to Reproduce:

      1. Compare the assisted-installer images included in the MCE operator that are configured in the hub cluster with the ones precached by the tool.
      2. Run the following command in the hub cluster: 
      
      $ oc get cm assisted-service -n  open-cluster-management -oyaml | grep IMAGE
        AGENT_DOCKER_IMAGE: registry.redhat.io/multicluster-engine/assisted-installer-agent-rhel8@sha256:68c635a48ed7db91ebb6b0c305c53d994486a9d8f07e2a433ff03a1d0cb910d1
        CONTROLLER_IMAGE: registry.redhat.io/multicluster-engine/assisted-installer-reporter-rhel8@sha256:ab3e7e2b45a64e18897b90fff26c38aead7d68fdbfdd0eeeadfbfec4ae192d03
        INSTALLER_IMAGE: registry.redhat.io/multicluster-engine/assisted-installer-rhel8@sha256:63765990870f18f8bfae591fa310cdea957cf4b3594756efef7e99ad21ff264b
      
       3. Run the factory-cli-tool: 
      
      [root@el8k2-b3 mnt]# podman run -v /mnt:/mnt -v /root/.docker:/root/.docker --privileged -it --rm quay.io/alosadag/telco-ran-tools:pr64 --    factory-precaching-cli download -r 4.11.13 -f /mnt --img quay.io/alosadag/troubleshoot --hub-version 2.6.2 --skip-imageset
      
      [root@el8k2-b3 mnt]# grep assisted-installer ai-images.txt 
      registry.redhat.io/multicluster-engine/assisted-installer-agent-rhel8@sha256:974732119d2e76a19fe04dd7323b6db6247d60043712bf2007e0a08e9ac9ec5a
      registry.redhat.io/multicluster-engine/assisted-installer-reporter-rhel8@sha256:00352214e371c02f93234b818e77b462fdb6092a8474d5b492728c722f055108
      registry.redhat.io/multicluster-engine/assisted-installer-rhel8@sha256:e91685a6e4090a755bbfc048e346b47e264a7f335f1685dc6ab15285c667bdd8
      
      
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

              dpenney1@redhat.com Don Penney
              alosadag@redhat.com Alberto Losada
              Niv Gal Waizer Niv Gal Waizer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: