Error cancelling an image export job in EC2

Asked

Viewed 30 times

1

I created a task to export image and some time after no longer being necessary I wanted to export I wanted to cancel but an error occurs.

This command: aws ec2 Cancel-export-task --export-task-id export-i-fgwr77c4

Returns this error: A client error (Incorrectstate) occurred when Calling the Cancelexporttask Operation: Task can not be cancelled at this Stage: 'export-i-fgwr77c4'

This command: aws ec2 describe-export-tasks Returns the following: { "Exporttasks": [ { "State": "active", "Exporttaskid": "export-i-fgwr77c4", "Instanceexportdetails": { "Instanceid": "i-07d3c3c3c4c43b5a4", "Targetenvironment": "Vmware" }, "Exporttos3task": { "Diskimageformat": "vmdk", "s3key": "exportexport-i-fgwr77c4.ova", "Containerformat": "ova", "S3bucket": "agtis" } } ] }

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.