Skip to content
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

InternalError when calling the CreateInstanceExportTask operation #5275

Closed
2 tasks
marinoborges opened this issue Jun 8, 2020 · 7 comments
Closed
2 tasks
Assignees
Labels
closing-soon This issue will automatically close in 4 days unless further comments are made. guidance Question that needs advice or information.

Comments

@marinoborges
Copy link

Confirm by changing [ ] to [x] below:

Issue is about usage on:

  • Service API : I want to do X using Y service, what should I do?
  • [x ] CLI : passing arguments or cli configurations.
  • Other/Not sure.

Platform/OS/Hardware/Device
What are you running the cli on?
Windows 7 64 bits

Describe the question
ec2 create-instance-export-task returns:
"An error occurred (InternalError) when calling the CreateInstanceExportTask operation (reached max retries: 2): An internal error has occurred"

The instance consists of a 50GB unencrypted volume based on Ubuntu image AMI-ID ami-0d1cd67c26f5fca19 with one disk (root device type ebs) and one network interface attached.
I checked the requirements and considerations (https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html) and it seems to meet all of them.

Command:

aws ec2 create-instance-export-task --description "XXXXXX" --instance-id i-XXXXX --target-environment microsoft --export-to-s3-task DiskImageFormat=VHD,ContainerFormat=ova,S3Bucket=xxxxxx,S3Prefix=vms --debug --region us-west-2 2> Desktop\aws.txt

Logs/output
Get full traceback and error logs by adding --debug to the command.
---- Debug log attached aws.txt

@marinoborges marinoborges added guidance Question that needs advice or information. needs-triage This issue or PR still needs to be triaged. labels Jun 8, 2020
@kdaily
Copy link
Member

kdaily commented Aug 5, 2020

Hi @marinoborges, I'm not seeing anything jump out at me, but going to investigate further. I only note this is a community image, and while the prerequisites don't mention this specifically, they note that it won't work with Marketplace AMIs.

I did find this other issue #610 (comment) that notes that it only works with imported instances, but I don't see this guidance in the docs anymore so it's probably outdated.

@kdaily kdaily added the investigating This issue is being investigated and/or work is in progress to resolve the issue. label Aug 5, 2020
@kdaily kdaily self-assigned this Aug 5, 2020
@kdaily kdaily removed the needs-triage This issue or PR still needs to be triaged. label Aug 5, 2020
@kdaily
Copy link
Member

kdaily commented Aug 7, 2020

Hi @marinoborges,

Is there any way that you can provide the output of aws ec2 describe-instances --instance-ids i-XXXXXXX for this specific instance? Please be aware that this command can output potentially sensitive information, such as IP address ranges, etc. Please review the output before posting. Thanks!

@kdaily kdaily added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Aug 7, 2020
@github-actions
Copy link

Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Aug 14, 2020
@marinoborges
Copy link
Author

describe-instances.txt
Hi @kdaily, here is the output of the command you asked. Greetings!

@github-actions github-actions bot removed closing-soon This issue will automatically close in 4 days unless further comments are made. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Aug 17, 2020
@kdaily
Copy link
Member

kdaily commented Oct 12, 2020

Hi @marinoborges,

I'm not seeing anything else that I would identify as an issue with the CLI from what you provided. As far as what you've noted, you should be able to perform this operation. Since your debug output does contain a request ID for the error, you can open an AWS support case to get more details about this, as I cannot see any of that information.

I will pass on the error report to the EC2 team on my side, but can't provide an ETA as to when they might respond.

@kdaily kdaily added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Oct 12, 2020
@marinoborges
Copy link
Author

Thank you @kdaily

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closing-soon This issue will automatically close in 4 days unless further comments are made. guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests

2 participants