Importing a raw/ova as an image get stucked "updating"

0

I wanted to create an AMI image using ubuntu22.04 raw and ova images. I uploaded the images into s3 bucket and ran the following command to import ami image. aws ec2 import-image --description "Raw Image" --disk-containers file:///home/lnx/tmp/manifest.json --role-name vmimport

Then I tried to check the status using "aws ec2 describe-import-image-tasks --import-task-ids <ImportTaskId>". Till now everything went smooth. But the status message of the import task is displaying "Updating" since 4 days. How can I debug the issue?

{
    "ImportImageTasks": [
        {
            "Description": "Raw Image",
            "ImportTaskId": "import-ami-<ami task id>",
            "Progress": "27",
            "SnapshotDetails": [
                {
                    "Description": "Raw Image",
                    "DeviceName": "/dev/sde",
                    "DiskImageSize": 10737418240.0,
                    "Format": "RAW",
                    "Status": "completed",
                    "UserBucket": {
                        "S3Bucket": "mybucketname",
                        "S3Key": "ubuntu-ec2.x86_64-1.22.4.raw"
                    }
                }
            ],
            "Status": "active",
            "StatusMessage": "updating",
            "Tags": []
        }
    ]
}

Thanks in advance

asked a year ago84 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions