How to increase the AMI create time

32 views
Skip to first unread message

Nitin Rao

unread,
Apr 5, 2019, 9:53:01 AM4/5/19
to Packer
I get the below error after 30min.. Please help me out in letting me know how to overcome this?

==> amazon-ebs: Waiting for AMI to become ready...
==> amazon-ebs: Error waiting for AMI. Reason: <nil>
==> amazon-ebs: Error waiting for AMI. Reason: <nil>
==> amazon-ebs: Step "stepCreateAMI" failed

Rickard von Essen

unread,
Apr 5, 2019, 10:05:06 AM4/5/19
to packe...@googlegroups.com

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/aa0e10a8-8124-45b3-8ab7-29907995636d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Zach

unread,
Apr 5, 2019, 10:26:41 AM4/5/19
to Packer
So I am running into these errors too, when you say set those variables as env variables do you mean before running any packer build command to run "export AWS_MAX_ATTEMPTS=60"?

On Friday, April 5, 2019 at 10:05:06 AM UTC-4, Rickard von Essen wrote:
On Fri, Apr 5, 2019 at 3:53 PM Nitin Rao <dnr...@gmail.com> wrote:
I get the below error after 30min.. Please help me out in letting me know how to overcome this?

==> amazon-ebs: Waiting for AMI to become ready...
==> amazon-ebs: Error waiting for AMI. Reason: <nil>
==> amazon-ebs: Error waiting for AMI. Reason: <nil>
==> amazon-ebs: Step "stepCreateAMI" failed

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packe...@googlegroups.com.

Nitin Rao

unread,
Apr 5, 2019, 10:43:32 AM4/5/19
to Packer
What would be the AWS_MAX_Attempts and AWS_POLL_DELAY_SECONDS value for making an ami more than 1 hour time limit? I tried running the script after setting the environment AWS_MAX_ATTEMPTS - 120 and AWS_POLL_DELAY_SECONDS -60 in my system. But didn't help. DO we have to set the environment variables in the system where the packer script is running or on the ami machine? 

On Friday, 5 April 2019 19:35:06 UTC+5:30, Rickard von Essen wrote:
On Fri, Apr 5, 2019 at 3:53 PM Nitin Rao <dnr...@gmail.com> wrote:
I get the below error after 30min.. Please help me out in letting me know how to overcome this?

==> amazon-ebs: Waiting for AMI to become ready...
==> amazon-ebs: Error waiting for AMI. Reason: <nil>
==> amazon-ebs: Error waiting for AMI. Reason: <nil>
==> amazon-ebs: Step "stepCreateAMI" failed

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packe...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages