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

Timeout waiting for SSH. #13

Open
petereh opened this issue Jun 1, 2022 · 1 comment
Open

Timeout waiting for SSH. #13

petereh opened this issue Jun 1, 2022 · 1 comment

Comments

@petereh
Copy link

petereh commented Jun 1, 2022

Unable to load the vEOS instances in virtualbox. see error logs below.
I use a Macbook with 16Gb of RAM, 2.9ghz Intel Core i7 processor

#############################################
WARNING: DO NOT TYPE IN VIRTUAL MACHINE WINDOW
##############################################

Executing command:/Users/admin/packer-bin/packer build --parallel=false -var boot_time=2m30s -var name='20220601_194541' vEOS.json
vEOS1 output will be in this color.
vEOS2 output will be in this color.
vEOS3 output will be in this color.
vEOS4 output will be in this color.

Warnings for build 'vEOS1':

  • A shutdown_command was not specified. Without a shutdown command, Packer
    will forcibly halt the virtual machine, which may result in data loss.

Warnings for build 'vEOS2':

  • A shutdown_command was not specified. Without a shutdown command, Packer
    will forcibly halt the virtual machine, which may result in data loss.

Warnings for build 'vEOS3':

  • A shutdown_command was not specified. Without a shutdown command, Packer
    will forcibly halt the virtual machine, which may result in data loss.

Warnings for build 'vEOS4':

  • A shutdown_command was not specified. Without a shutdown command, Packer
    will forcibly halt the virtual machine, which may result in data loss.

==> vEOS1: Downloading or copying OVF/OVA
vEOS1: Downloading or copying: file:///Users/admin/Documents/packer-veos-master/virtualbox/source/vEOS.ovf
==> vEOS1: Importing VM: /Users/admin/Documents/packer-veos-master/virtualbox/source/vEOS.ovf
==> vEOS1: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 3275)
==> vEOS1: Executing custom VBoxManage commands...
vEOS1: Executing: modifyvm 20220601_194541-vEOS1 --memory 2048
vEOS1: Executing: modifyvm 20220601_194541-vEOS1 --cpus 1
vEOS1: Executing: modifyvm 20220601_194541-vEOS1 --nic1 nat
vEOS1: Executing: modifyvm 20220601_194541-vEOS1 --nicpromisc1 allow-all
vEOS1: Executing: modifyvm 20220601_194541-vEOS1 --nic2 hostonly
vEOS1: Executing: modifyvm 20220601_194541-vEOS1 --hostonlyadapter2 vboxnet3
vEOS1: Executing: modifyvm 20220601_194541-vEOS1 --nicpromisc2 allow-all
vEOS1: Executing: modifyvm 20220601_194541-vEOS1 --nic3 hostonly
vEOS1: Executing: modifyvm 20220601_194541-vEOS1 --hostonlyadapter3 vboxnet4
vEOS1: Executing: modifyvm 20220601_194541-vEOS1 --nicpromisc3 allow-all
vEOS1: Executing: modifyvm 20220601_194541-vEOS1 --nic4 hostonly
vEOS1: Executing: modifyvm 20220601_194541-vEOS1 --hostonlyadapter4 vboxnet7
vEOS1: Executing: modifyvm 20220601_194541-vEOS1 --nicpromisc4 allow-all
vEOS1: Executing: storageattach 20220601_194541-vEOS1 --storagectl IDE --port 1 --device 0 --type dvddrive --medium source/Aboot-vEOS.iso
==> vEOS1: Starting the virtual machine...
==> vEOS1: Waiting 2m30s for boot...
==> vEOS1: Typing the boot command...
==> vEOS1: Waiting for SSH to become available...

==> vEOS1: Timeout waiting for SSH.
==> vEOS1: Deregistering and deleting imported VM...
==> vEOS1: Deleting output directory...
Build 'vEOS1' errored: Timeout waiting for SSH.
==> vEOS2: Downloading or copying OVF/OVA
vEOS2: Downloading or copying: file:///Users/admin/Documents/packer-veos-master/virtualbox/source/vEOS.ovf
==> vEOS2: Importing VM: /Users/admin/Documents/packer-veos-master/virtualbox/source/vEOS.ovf
==> vEOS2: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 2340)
==> vEOS2: Executing custom VBoxManage commands...
vEOS2: Executing: modifyvm 20220601_194541-vEOS2 --memory 2048
vEOS2: Executing: modifyvm 20220601_194541-vEOS2 --cpus 1
vEOS2: Executing: modifyvm 20220601_194541-vEOS2 --nic1 nat
vEOS2: Executing: modifyvm 20220601_194541-vEOS2 --nicpromisc1 allow-all
vEOS2: Executing: modifyvm 20220601_194541-vEOS2 --nic2 hostonly
vEOS2: Executing: modifyvm 20220601_194541-vEOS2 --nicpromisc2 allow-all
vEOS2: Executing: modifyvm 20220601_194541-vEOS2 --hostonlyadapter2 vboxnet5
vEOS2: Executing: modifyvm 20220601_194541-vEOS2 --nic3 hostonly
vEOS2: Executing: modifyvm 20220601_194541-vEOS2 --nicpromisc3 allow-all
vEOS2: Executing: modifyvm 20220601_194541-vEOS2 --hostonlyadapter3 vboxnet6
vEOS2: Executing: modifyvm 20220601_194541-vEOS2 --nic4 hostonly
vEOS2: Executing: modifyvm 20220601_194541-vEOS2 --nicpromisc4 allow-all
vEOS2: Executing: modifyvm 20220601_194541-vEOS2 --hostonlyadapter4 vboxnet7
vEOS2: Executing: storageattach 20220601_194541-vEOS2 --storagectl IDE --port 0 --device 1 --type dvddrive --medium source/Aboot-vEOS.iso
==> vEOS2: Starting the virtual machine...
==> vEOS2: Waiting 2m30s for boot...
==> vEOS2: Typing the boot command...
==> vEOS2: Waiting for SSH to become available...
==> vEOS2: Timeout waiting for SSH.
==> vEOS2: Deregistering and deleting imported VM...
==> vEOS2: Deleting output directory...
Build 'vEOS2' errored: Timeout waiting for SSH.
==> vEOS3: Downloading or copying OVF/OVA
vEOS3: Downloading or copying: file:///Users/admin/Documents/packer-veos-master/virtualbox/source/vEOS.ovf
==> vEOS3: Importing VM: /Users/admin/Documents/packer-veos-master/virtualbox/source/vEOS.ovf
==> vEOS3: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 2990)
==> vEOS3: Executing custom VBoxManage commands...
vEOS3: Executing: modifyvm 20220601_194541-vEOS3 --memory 2048
vEOS3: Executing: modifyvm 20220601_194541-vEOS3 --cpus 1
vEOS3: Executing: modifyvm 20220601_194541-vEOS3 --nic1 nat
vEOS3: Executing: modifyvm 20220601_194541-vEOS3 --nicpromisc1 allow-all
vEOS3: Executing: modifyvm 20220601_194541-vEOS3 --nic2 hostonly
vEOS3: Executing: modifyvm 20220601_194541-vEOS3 --nicpromisc2 allow-all
vEOS3: Executing: modifyvm 20220601_194541-vEOS3 --hostonlyadapter2 vboxnet3
vEOS3: Executing: modifyvm 20220601_194541-vEOS3 --nic3 hostonly
vEOS3: Executing: modifyvm 20220601_194541-vEOS3 --nicpromisc3 allow-all
vEOS3: Executing: modifyvm 20220601_194541-vEOS3 --hostonlyadapter3 vboxnet5
vEOS3: Executing: modifyvm 20220601_194541-vEOS3 --nic4 hostonly
vEOS3: Executing: modifyvm 20220601_194541-vEOS3 --nicpromisc4 allow-all
vEOS3: Executing: modifyvm 20220601_194541-vEOS3 --hostonlyadapter4 vboxnet9
vEOS3: Executing: storageattach 20220601_194541-vEOS3 --storagectl IDE --port 0 --device 1 --type dvddrive --medium source/Aboot-vEOS.iso
==> vEOS3: Starting the virtual machine...
==> vEOS3: Waiting 2m30s for boot...
==> vEOS3: Typing the boot command...
==> vEOS3: Waiting for SSH to become available...
==> vEOS3: Timeout waiting for SSH.
==> vEOS3: Deregistering and deleting imported VM...
==> vEOS3: Deleting output directory...
Build 'vEOS3' errored: Timeout waiting for SSH.
==> vEOS4: Downloading or copying OVF/OVA
vEOS4: Downloading or copying: file:///Users/admin/Documents/packer-veos-master/virtualbox/source/vEOS.ovf
==> vEOS4: Importing VM: /Users/admin/Documents/packer-veos-master/virtualbox/source/vEOS.ovf
==> vEOS4: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 3855)
==> vEOS4: Executing custom VBoxManage commands...
vEOS4: Executing: modifyvm 20220601_194541-vEOS4 --memory 2048
vEOS4: Executing: modifyvm 20220601_194541-vEOS4 --cpus 1
vEOS4: Executing: modifyvm 20220601_194541-vEOS4 --nic1 nat
vEOS4: Executing: modifyvm 20220601_194541-vEOS4 --nicpromisc1 allow-all
vEOS4: Executing: modifyvm 20220601_194541-vEOS4 --nic2 hostonly
vEOS4: Executing: modifyvm 20220601_194541-vEOS4 --nicpromisc2 allow-all
vEOS4: Executing: modifyvm 20220601_194541-vEOS4 --hostonlyadapter2 vboxnet4
vEOS4: Executing: modifyvm 20220601_194541-vEOS4 --nic3 hostonly
vEOS4: Executing: modifyvm 20220601_194541-vEOS4 --nicpromisc3 allow-all
vEOS4: Executing: modifyvm 20220601_194541-vEOS4 --hostonlyadapter3 vboxnet6
vEOS4: Executing: modifyvm 20220601_194541-vEOS4 --nic4 hostonly
vEOS4: Executing: modifyvm 20220601_194541-vEOS4 --nicpromisc4 allow-all
vEOS4: Executing: modifyvm 20220601_194541-vEOS4 --hostonlyadapter4 vboxnet9
vEOS4: Executing: storageattach 20220601_194541-vEOS4 --storagectl IDE --port 0 --device 1 --type dvddrive --medium source/Aboot-vEOS.iso
==> vEOS4: Starting the virtual machine...
==> vEOS4: Waiting 2m30s for boot...
==> vEOS4: Typing the boot command...
==> vEOS4: Waiting for SSH to become available...
==> vEOS4: Timeout waiting for SSH.
==> vEOS4: Deregistering and deleting imported VM...
==> vEOS4: Deleting output directory...
Build 'vEOS4' errored: Timeout waiting for SSH.

==> Some builds didn't complete successfully and had errors:
--> vEOS1: Timeout waiting for SSH.
--> vEOS2: Timeout waiting for SSH.
--> vEOS3: Timeout waiting for SSH.
--> vEOS4: Timeout waiting for SSH.

==> Builds finished but no artifacts were created.
Return code:1
Packer install failed!!!
Please copy raise an issue at https://github.com/arista-eosplus/packer-ztpserver/issues with your console output.
Admins-MacBook-Pro:packer-veos-master admin$

@TimP4JC
Copy link

TimP4JC commented Jun 1, 2023

I am experiencing the same issue. Were you able to get this resolved?

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

2 participants