Capture the system console output it will probably show the cause, see
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-console.html

You can send it here if you want advice.

On Tue, Oct 23, 2018 at 6:21 PM 'Vivek' via Packer <
[email protected]> wrote:

> Thanks i did that and it seems it fails on 'StepRunSourceInstance'. Any
> insight on how to fix this or what causes this?
>
> *16:17:18*  [1;32m==> amazon-ebs: Pausing after run of step 'StepKeyPair'. 
> Press enter to continue. [0m  [1;32m==> amazon-ebs: Pausing after run of step 
> 'StepSecurityGroup'. Press enter to continue. [0m  [1;32m==> amazon-ebs: 
> Pausing after run of step 'stepCleanupVolumes'. Press enter to continue. [0m  
> [1;32m==> amazon-ebs: Launching a source AWS instance... [0m*16:17:19*  
> [0;32m    amazon-ebs: Instance ID: i-049c0ecd1153fc438 [0m*16:17:19*  
> [1;32m==> amazon-ebs: Waiting for instance (i-049c0ecd1153fc438) to become 
> ready... [0m*16:17:21*  [1;31m==> amazon-ebs: Error waiting for instance 
> (i-049c0ecd1153fc438) to become ready: unexpected state 'shutting-down', 
> wanted target 'running' [0m*16:17:21*  [1;32m==> amazon-ebs: Step 
> "StepRunSourceInstance" failed [0m*16:17:21*  [1;32m==> amazon-ebs: [c] Clean 
> up and exit, [a] abort without cleanup, or [r] retry step (build may fail 
> even if retry succeeds)? [0m  [1;32m==> amazon-ebs: Terminating the source 
> AWS instance... [0m
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/147d1f61-64f8-4122-bb51-1e24b2e0a7a8%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/147d1f61-64f8-4122-bb51-1e24b2e0a7a8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt_sDS_YT09yAnLOO9ovSQsmBN38kQdyri%2B3NB%3DXW8dnSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to