Code Monkey home page Code Monkey logo

Comments (1)

tomalok avatar tomalok commented on June 22, 2024

I'm attempting to build a slew of slightly different Amazon Linux images locally with qemu, and then trying to import them with amazon-import, and similar to what's mentioned here, it's complaining with...

==> Some builds didn't complete successfully and had errors:
--> alpine.qemu.edge-aarch64-uefi-tiny-aws: 1 error(s) occurred:

* Post-processor failed: Import task import-ami-01c8ff48cc465f998 failed with status message: ClientError: Unsupported kernel version virt, error: ResourceNotReady: failed waiting for successful resource state
--> alpine.qemu.edge-x86_64-bios-tiny-aws: 1 error(s) occurred:

* Post-processor failed: Import task import-ami-0116dd9338d501277 failed with status message: ClientError: Unknown OS / Missing OS files., error: ResourceNotReady: failed waiting for successful resource state

==> Builds finished but no artifacts were created.

The local disk images are raw format. Difference between the first and second builds above is that aarch64 partitions the disk (GPT/FAT32 for EFI, ext4 for root, using GRUB EFI), and x86_64 formats the whole disk as ext4 instead of partitioning, and uses extlinux as the bootloader.

I've yet to try the above s3 -> import-snapshot -> register-ami process manually, but having this officially supported by a Packer post processor would be very handy...

from packer-plugin-amazon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.