VM import ClientError: Unsupported kernel version 5.11.0-25-generic
0
Hello
I tried to import the VM image (ovo format) using the following command:
aws ec2 import-image --description "My server VM" --disk-containers "file://C:\import\containers.json"
When I monitored it using the following command:
aws ec2 describe-import-image-tasks --import-task-ids import-ami-1234567890abcdef0
I got notifications that the image was first converting, then updating, but in the end I got a status deleted with the following message:
"Status": "deleted",
"StatusMessage": "ClientError: Unsupported kernel version 5.11.0-25-generic",
"Tags": []
Could you please tell me why this could have happened?
ClientError: Unsupported kernel version
The kernel version used by the operating system is not supported. Confirm that your import meets the requirements listed for the operating system. For more information, see Operating systems.
Can you provide the output of
cat /etc/os-release
and/oruname -a
for the source server the image was taken from? Generally the cause for these errors are noted in the following documentation: https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-troubleshooting.html