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

assisted-image-service pod in CrashLoopBackOff state due to wrong RHCOS configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Undefined Undefined
    • None
    • 4.10.z
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The assisted-image-service pod is constantly in CrashLoopBack state due to a wrong configuration of RHCOS parameters. Checking the Statefulset for assisted-image-service:
      
      - name: RHCOS_VERSIONS
                value: '[{"cpu_architecture":"x86_64","openshift_version":"4.10","rootfs_url":"https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.9/latest/rhcos-4.9.40-x86_64-live-rootfs.x86_64.img","url":"https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.9/latest/rhcos-4.9.40-x86_64-live.x86_64.iso","version":"410.84.202201251210-0"}]'
      
      Which it is a total mismatch of versions.
      
      assisted-image-service-0 pod log:
      
      {"file":"/remote-source/app/pkg/imagestore/imagestore.go:183","func":"github.com/openshift/assisted-image-service/pkg/imagestore.(*rhcosStore).Populate.func1","level":"info","msg":"Downloading
       iso from 
      https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.9/latest/rhcos-4.9.40-x86_64-live.x86_64.iso
       to 
      /data/rhcos-full-iso-4.10-410.84.202201251210-0-x86_64.iso","time":"2022-10-04T16:28:34Z"}{"file":"/remote-source/app/pkg/servers/servers.go:84","func":"github.com/openshift/assisted-image-service/pkg/servers.(*ServerInfo).httpsListen","level":"info","msg":"Starting
       https handler on :8080...","time":"2022-10-04T16:28:34Z"}{"file":"/remote-source/app/pkg/servers/servers.go:77","func":"github.com/openshift/assisted-image-service/pkg/servers.(*ServerInfo).httpListen","level":"info","msg":"Starting
       http handler on :8081...","time":"2022-10-04T16:28:34Z"}{"file":"/remote-source/app/main.go:73","func":"main.main.func1","level":"fatal","msg":"Failed
       to populate image store: failed to download 
      https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.9/latest/rhcos-4.9.40-x86_64-live.x86_64.iso:
       request to 
      https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.9/latest/rhcos-4.9.40-x86_64-live.x86_64.iso
       returned error code 404\n","time":"2022-10-04T16:28:34Z"}

       

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

      ACM 2.5.2 with MultiClusterHub

      How reproducible:

      Fresh install of OCP 4.10.32 following a 3 Masters deployment, then deploy ACM operator using subscription

      Steps to Reproduce:

      1. Installed OCP using dci
      2. Subscribe for ACM operator 
      

      Actual results:

      Not being able to install spoke cluster using ZTP

      Expected results:

       

      Additional info:

       

              Unassigned Unassigned
              cdonato@redhat.com Carlos Donato
              None
              None
              Gaoyun Pei Gaoyun Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: