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

klusterlet-addon on kubeVirt hosted cluster throws ImagePullBackOff

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • MCE 2.3.0
    • MCE 2.3.0
    • HyperShift
    • None
    • False
    • None
    • False
    • Important
    • No

      Description of problem:

      After successfully creating a hosted cluster on kubevirt, the work-manager addon is in a bad state.

      Quick check on the klusterlet pods on the hosted cluster from the console:

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

      2.3.0-DOWNANDBACK-2023-04-11-21-50-15

      How reproducible:

      always

      Steps to Reproduce:

      1. create kubevirt hosted cluster using params:
      export MEM="6Gi"            
      export CPU="2"
      export WORKER_COUNT="2"
      
      hypershift create cluster kubevirt \
      --name $CLUSTER_NAME \
      --node-pool-replicas $WORKER_COUNT \
      --pull-secret $PULL_SECRET \
      --memory $MEM \
      --cores $CPU --namespace local-cluster --release-image quay.io/openshift-release-dev/ocp-release:4.12.10-x86_64 
      1. observe hostedcluster is finished installing, and nodes are healthy for the hosted cluster:
      oc get hostedcluster -A
      NAMESPACE       NAME                   VERSION       KUBECONFIG                              PROGRESS    AVAILABLE   PROGRESSING   MESSAGE
      local-cluster   clc-dhu-hs-kubevirt                  clc-dhu-hs-kubevirt-admin-kubeconfig    Partial     True        False         The hosted control plane is available
      
      oc get nodepools -A
      
      NAMESPACE       NAME                   CLUSTER                DESIRED NODES   CURRENT NODES   AUTOSCALING   AUTOREPAIR   VERSION       UPDATINGVERSION   UPDATINGCONFIG   MESSAGE
      local-cluster   clc-dhu-hs-kubevirt    clc-dhu-hs-kubevirt    2               2               False         False        4.12.10
      1. observe that the addons are in unknown state:
      oc get ManagedClusterAddon -A                     
      NAMESPACE              NAME               AVAILABLE   DEGRADED   PROGRESSING
      clc-dhu-hs-kubevirt    cluster-proxy      Unknown
      clc-dhu-hs-kubevirt    work-manager       Unknown 
      1. check the klusterlet addon pods on the hosted cluster to see the Image pull error

      Actual results:

      Expected results:

      Additional info:

      Node information for the local-cluster / hub:

              rokejungrh Roke Jung
              rhn-support-dhuynh David Huynh
              David Huynh David Huynh
              ACM QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: