Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-22199

Importing a .ova file generated by Image Builder into vSphere fails with "the .ovf template must be the first file in the archive"

    • None
    • Moderate
    • rhel-sst-image-builder
    • ssg_front_door
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • All
    • None

      What were you trying to do that didn't work?

      Import .ova file generated by Image Builder into vSphere

      Please provide the package NVR for which bug is seen:

      osbuild-composer-88.2-1.el9_3.x86_64

      How reproducible:

      every time

      Steps to reproduce

      1. Create a .ova file with Image Builder
      2. Attempt to import the image into vSphere
      3. Importing fails with "the .ovf template must be the first file in the archive"

      Expected results

      Importing should work properly.

      Actual results

      vSphere requires that the first file in the OVA is the .ovf template, however Image Builder packs the .vmdk first. This results in an error during import.

      Since .ova is a tar archive we're able to work around this issue by repacking the archive with the correct file order, but this should work as expected without extra steps.

       

              sraymaek Sanne Raymaekers
              rhn-support-lagordon Kaitlin Gordon
              Osbuilders Bot Account Osbuilders Bot Account
              Release Test Team Release Test Team
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: