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
feita há 2 anos1097 visualizações
2 Respostas
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
respondido há 2 anos
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
ESPECIALISTA
Mike_L
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas