Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

aws ec2 export-image task is stuck at 85% - StatusMessage: converting

I see a weird problem where the export-image task is stuck at 85% or can say at the "conversion" step and it doesn't end even after 6 hours waiting. Steps used are pretty normal :

% aws ec2 export-image --image-id ami-0123c45d6789d012d --disk-image-format VMDK --s3-export-location S3Bucket=ami-snapshots-bucket --region us-west-2

And here is the status stuck at 85% :

% aws ec2 describe-export-image-tasks --export-image-task-ids export-ami-0ddfc0123456789d1 --region us-west-2
{
    "ExportImageTasks": [
        {
            "ExportImageTaskId": "export-ami-0ddfc0123456789d1",
            "Progress": "85",
            "S3ExportLocation": {
                "S3Bucket": "ami-snapshots-bucket"
            },
            "Status": "active",
            "StatusMessage": "converting",
            "Tags": []
        }
    ]
}

Anyone with similar issue or know to make this work?

Thanks,

like image 227
lonewolf Avatar asked Oct 26 '25 01:10

lonewolf


1 Answers

For 80 GB storage, mine finished in about 2 hrs, though it was stuck at 85% for while.

Another internet user also suggests that 3 hrs until completion worked for them for a 40 GB image/snapshot.

like image 150
Joshua Graham Avatar answered Oct 28 '25 13:10

Joshua Graham