-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error deregistering image (--delete-ami) #14
Comments
hello does the tool still work as of october 2024 ? |
Update NOVEMBER 2024: The Tool WORKS PERFECTLY upto STEP 25/26. Without the option '--delete-ami' it works fully (through out all steps). If the option '--delete-ami' is specified, it throws an error in STEP 26/26 and does not open the changed machine json state for comparison. But the machine is completely converted, only the AMI image must be deleted manually. The still received error if '--delete-ami' is specified:
|
Hi,Thanks for the pb report.Could you describe the kind of instance converted? (Instance type and especially storage connected to it)Thanks.Envoyé de mon mobile.Le 18 nov. 2024 à 10:27, frakon ***@***.***> a écrit :
Update NOVEMBER 2024:
The Tool WORKS PERFECTLY upto STEP 25/26. Without option --delete-ami it works fully (through out all steps). If the option --delete-ami is specified, it throws an error in STEP 26/26 and does not open the changed machine json state for comparison. But the machine is completely converted, only the AMI image must be deleted manually.
The still received error:
ec2-spot-converter - [STEP 26/26] Deregister image...
Traceback (most recent call last):
File "/home/ubuntu/./ec2-spot-converter", line 1621, in <module>
sys.exit(main(sys.argv))
File "/home/ubuntu/./ec2-spot-converter", line 1587, in main
return_code, reason, keys = step["Function"]()
File "/home/ubuntu/./ec2-spot-converter", line 1212, in deregister_image
snap_ids = [blk["Ebs"]["SnapshotId"] for blk in img["BlockDeviceMappings"]]
File "/home/ubuntu/./ec2-spot-converter", line 1212, in <listcomp>
snap_ids = [blk["Ebs"]["SnapshotId"] for blk in img["BlockDeviceMappings"]]
KeyError: 'Ebs'
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hello, further info:
|
Hi, Could you send me the JSON content of the column 'ConversionStartInstanceState' of the DynamoDB table named 'ec2-spot-converter-state-table' and located in the row describing the context of the instance ID you are trying to convert? Thank you. |
Getting this error when using
--delete-ami
The text was updated successfully, but these errors were encountered: