ClientError: Unsupported kernel version 5.15.0-27-generic

0

Hello Team,

I was trying to import ubuntu 22.04 raw image on AWS. while importing I got an error below. I'm not sure why it's getting this error. Although in the documentation also it's not mentioned anywhere list of supported kernels.

{ "ImportImageTasks": [ { "Description": "Ubuntu 22.04 QCOW Image", "ImportTaskId": "xxxxxxxxxxxxxxxxxxxxxxxxx", "SnapshotDetails": [ { "Description": "Ubuntu 22.04 QCOW Image", "DeviceName": "/dev/sde", "DiskImageSize": 85899345920.0, "Format": "RAW", "Status": "completed", "Url": "xxxxxxxxxxxxxxxxxxxxx/ubuntu_22_04_release_20220422.raw", "UserBucket": { "S3Bucket": "xxxxxxxxxxxxxxxxxxxx", "S3Key": "ubuntu_22_04_release_20220422.raw" } } ], "Status": "deleted", "StatusMessage": "ClientError: Unsupported kernel version 5.15.0-27-generic", "Tags": [] } ] }

Can anybody suggest on this.

Thanks, Aman

profile picture
已提問 2 年前檢視次數 1019 次
2 個答案
0

Hello,

I understand you are receiving the error "The latest supported image is the 20.04 with the 5.4 kernel version." While trying to import your Ubuntu Image to AWS.

The Ubuntu image you are trying to import is not supported yet by AWS. Please note, the latest supported image for Ubuntu is the 20.04 with the 5.4 kernel version.

For further details you can consult the following document:

https://docs.aws.amazon.com/vm-import/latest/userguide/prerequisites.html
已回答 2 年前
0

For kernels not supported by VM Import, you can do a Snapshot Import.

Snapshot import does not check kernel version. As it does not inject the necessary drivers for your OS to run on AWS, you will need to ensure your image has the necessary drivers. These are Xen PV drivers and NVMe/ENA drivers for HVM and Nitro instance types respectively.

You can use the script at Why is my Linux instance not booting after I changed its type to a Nitro-based instance type? to ensure your OS works with Nitro instance types.

To assist with trouble-shooting after importing, you can enable Serial Console. Note that this is only supported on Nitro instance types.

AWS
Mike_L
已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南