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

AWS/EC2 Instance does not exist when Packer attempts to tag it #1367

Closed
CpuID opened this issue Jul 23, 2014 · 4 comments
Closed

AWS/EC2 Instance does not exist when Packer attempts to tag it #1367

CpuID opened this issue Jul 23, 2014 · 4 comments

Comments

@CpuID
Copy link
Contributor

CpuID commented Jul 23, 2014

1406159708,,ui,message, amazon_ebs_hvm_precise_us-west-2: Failed to tag a Name on the builder instance: The instance ID 'i-b68be9bb' does not exist (InvalidInstanceID.NotFound)

I suspect this is the AWS eventual consistency, do we perform a check if the instance exists before attempting to tag it...?

@pleschev
Copy link

We've been hit by this as well

@mitchellh
Copy link
Contributor

Fixed

@gergnz
Copy link
Contributor

gergnz commented Jan 21, 2015

not sure whether I should re-open this one or not, but it looks like the same thing is happening just earlier on:

21-Jan-2015 10:22:18    ==> amazon-ebs: Creating temporary keypair: packer 54bef139-3e33-a7b7-3c47-6c9e01a32cc5
21-Jan-2015 10:22:18    ==> amazon-ebs: Launching a source AWS instance...
21-Jan-2015 10:22:18    ==> amazon-ebs: Error finding source instance (i-7d0b40b2): The instance ID 'i-7d0b40b2' does not exist (InvalidInstanceID.NotFound)
21-Jan-2015 10:22:18    ==> amazon-ebs: Deleting temporary keypair...
21-Jan-2015 10:22:18    Build 'amazon-ebs' errored: Error finding source instance (i-7d0b40b2): The instance ID 'i-7d0b40b2' does not exist (InvalidInstanceID.NotFound)
/opt/packer/packer --version version
Packer v0.7.5

@renat-sabitov
Copy link

Should be fixed by
#1764

related to #1539

@ghost ghost locked and limited conversation to collaborators Apr 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants