Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29248

Unable to track the import image task in AWS via cli

$
0
0

I am trying to .ova image using cli. The import-image command is working fine.

aws ec2 import-image --description "AppGate" --disk-containers file://container.json --region us-east-2

Output:

{
    "Status": "active",
    "Description": "AppGate",
    "SnapshotDetails": [
        {
            "UserBucket": {
                "S3Bucket": "appgatewayextdev",
                "S3Key": "app-gateway-19.2.1-1.0.0.ova"
            },
            "DiskImageSize": 0.0,
            "Format": "OVA"
        }
    ],
    "Progress": "2",
    "StatusMessage": "pending",
    "ImportTaskId": "import-ami-00625783cb8c9e528"
}

But when I try to use the describe-import-image-tasks to track the above import task, it gives an unexpected error.

aws ec2 describe-import-image-tasks --import-task-ids  import-ami-00625783cb8c9e528

An error occurred (InvalidConversionTaskId.Malformed) when calling the DescribeImportImageTasks operation: Tasks import-ami-00625783cb8c9e528 not found

How can I debug this?


Viewing all articles
Browse latest Browse all 29248

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>