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

SSH timeout #9

Open
mtegtmey opened this issue Jan 16, 2023 · 0 comments
Open

SSH timeout #9

mtegtmey opened this issue Jan 16, 2023 · 0 comments

Comments

@mtegtmey
Copy link

mtegtmey commented Jan 16, 2023

I'm trying to build my vm using cytominer (so i can run CP through AWS) and am running into this error:

(base) mtegtmey@wm255-7d4 cytominer-vm % packer build  -var 'security_group_ids=sg-0ff4f2fd2399826dd' -var 'subnet_id=subnet-012ff95d179048dd8' -var 'vpc_id=vpc-04ed5c99b7ad6cfb8' cytominer_ami.json


amazon-ebs: output will be in this color.

==> amazon-ebs: Prevalidating any provided VPC information
==> amazon-ebs: Prevalidating AMI Name: cytomining/images/hvm-ssd/cytominer-ubuntu-bionic-18.04-amd64-server-1673888019
    amazon-ebs: Found Image ID: ami-08fdec01f5df9998f
==> amazon-ebs: Creating temporary keypair: packer_63c58113-0979-f18d-cda2-595cfe9c4429
==> amazon-ebs: Launching a source AWS instance...
    amazon-ebs: Instance ID: i-0f853212f9d6aa85c
==> amazon-ebs: Waiting for instance (i-0f853212f9d6aa85c) to become ready...
==> amazon-ebs: Using SSH communicator to connect: 100.25.119.37
==> amazon-ebs: Waiting for SSH to become available...
==> amazon-ebs: Timeout waiting for SSH.
==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: Cleaning up any extra volumes...
==> amazon-ebs: No volumes to clean up, skipping
==> amazon-ebs: Deleting temporary keypair...
Build 'amazon-ebs' errored after 5 minutes 52 seconds: Timeout waiting for SSH.

==> Wait completed after 5 minutes 52 seconds

==> Some builds didn't complete successfully and had errors:
--> amazon-ebs: Timeout waiting for SSH.

==> Builds finished but no artifacts were created.
(base) mtegtmey@wm255-7d4 cytominer-vm %

Am pretty unfamiliar with AWS at the moment, but here's a screenshot of my instance from my EC2 console. Maybe my ssh is just taking too long and timing out.
Screen Shot 2023-01-16 at 12 17 09 PM

I've updated all of the .sh files to comply with my AWS configuration, any thoughts on how to troubleshoot this? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant