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
demandé il y a 2 ans1058 vues
2 réponses
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
répondu il y a 2 ans
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
EXPERT
Mike_L
répondu il y a 10 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions