Rocky Linux 8.10 x86_64 AMI for ap-southeast-7

Hello community,

I’ve tried to import-image into AWS Thailand region using official qcow2 format both Cloud Images and EC2 image.

My step is just

  1. Download .qcow2 from
    https://dl.rockylinux.org/pub/rocky/8/images/x86_64/Rocky-8-GenericCloud-Base.latest.x86_64.qcow2
  2. Convert to .raw format using qemu-img
  3. Upload into AWS S3 bucket
  4. Register AMI with vmimport role.

The error message is about

{
    "ImportImageTasks": [
        {
            "Description": "Rocky Linux 8.1",
            "ImportTaskId": "import-ami-0b5d9d40d668f5f86",
            "SnapshotDetails": [
                {
                    "Description": "Rocky Linux 8.10 RAW image",
                    "DiskImageSize": 10737418240.0,
                    "Format": "RAW",
                    "Status": "completed",
                    "UserBucket": {
                        "S3Bucket": "rocky-linux-raw",
                        "S3Key": "rocky8.raw"
                    }
                }
            ],
            "Status": "deleted",
            "StatusMessage": "ClientError: grubenv does not exist",
            "Tags": []
        }
    ]
}

Another image like https://dl.rockylinux.org/pub/rocky/8/images/x86_64/Rocky-8-EC2-Base-8.10-20240528.0.x86_64.qcow2 also fail.

It’s work correctly with Rocky Linux 9.5 but failed with Rocky Linux 8.10.
Can anyone help on this?

Best regards,
Natthapon Pinyo

1 Like