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

Agent can't find 'boot.catalog' when creating agent.aarch64.iso

XMLWordPrintable

    • No
    • Sprint 248
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, a file required for the `aarch64` architecture was renamed by mistake while generating the `aarch64` agent ISO. With this update, the specified file does not get renamed.(link:https://issues.redhat.com/browse/OCPBUGS-28827[*OCPBUGS-28827*])
      Show
      * Previously, a file required for the `aarch64` architecture was renamed by mistake while generating the `aarch64` agent ISO. With this update, the specified file does not get renamed.(link: https://issues.redhat.com/browse/OCPBUGS-28827 [* OCPBUGS-28827 *])
    • Bug Fix
    • Done

      Description of problem:

      openshift-install is unable to generate an aarch64 iso:
                    
      FATAL failed to write asset (Agent Installer ISO) to disk: missing boot.catalog file 

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

          4.16

      How reproducible:

          100 %

      Steps to Reproduce:

          1. Create an install_config.yaml with controlplane.architecture and compute.architecture = arm64 
          2. openshift-install agent create image  --log-level debug     

      Actual results:

      DEBUG Generating Agent Installer ISO... 
      INFO Consuming Install Config from target directory 
      DEBUG Purging asset "Install Config" from disk 
      INFO Consuming Agent Config from target directory 
      DEBUG Purging asset "Agent Config" from disk 
      DEBUG initDisk(): start DEBUG initDisk(): regular file 
      FATAL failed to write asset (Agent Installer ISO) to disk: missing boot.catalog file 

      Expected results:

          agent.aarch64.iso is created

      Additional info:

      Seems to be related to this PR:
      https://github.com/openshift/installer/pull/7896
      
      boot.catalog is also referenced in the assisted-image-service here:
      https://github.com/openshift/installer/blob/master/vendor/github.com/openshift/assisted-image-service/pkg/isoeditor/isoutil.go#L155

              afasano@redhat.com Andrea Fasano
              jeffdyoung Jeff Young
              zhenying niu zhenying niu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: