Posted on February 7, 2019 7:05 am
 |  Asked by Neal Secher
 |  96 views
0
0
Print Friendly, PDF & Email

I’m trying to boot up a vEOS switch in VirtualBox via Vagrant. I’ve tried both new and old vEOS versions, but I hang here:

==> eos: Waiting for machine to boot. This may take a few minutes…
eos: SSH address: 127.0.0.1:12201
eos: SSH username: root
eos: SSH auth method: private key

nxosv boxes also fail, cumulus and Ubuntu boxes come up fine.

Any thoughts?

macOS: Mojave 10.14.3
Vagrant: 2.2.4
VirtualBox: 6.0.4
vEOS: 4.21.1.1F

0
Posted by Edmund
Answered on February 10, 2019 3:40 am

Hi Neal,

I don’t see a problem booting 4.21.1F, but there is a long pause at the same stage you see vagrant hanging while the vm boots.

Have you tried adding this to your VagrantFile to monitor the console of the vm during bootup? That might help show where things break.

config.vm.provider “virtualbox” do |v|
v.gui = true
end

Sorry to just give you a “works for me”


==> eos: Booting VM...
==> eos: Waiting for machine to boot. This may take a few minutes...
eos: SSH address: 127.0.0.1:12201
eos: SSH username: root
eos: SSH auth method: private key
eos: Warning: Remote connection disconnect. Retrying...
eos: Warning: Connection reset. Retrying...
eos:
eos: Vagrant insecure key detected. Vagrant will automatically replace
eos: this with a newly generated keypair for better security.
eos:
eos: Inserting generated public key within guest...
eos: Removing insecure key from the guest if it's present...
eos: Key inserted! Disconnecting and reconnecting using new SSH key...
==> eos: Machine booted and ready!
==> eos: Checking for guest additions in VM...
eos: No guest additions were detected on the base box for this VM! Guest
eos: additions are required for forwarded ports, shared folders, host only
eos: networking, and more. If SSH fails on this machine, please install
eos: the guest additions and repackage the box to continue.
eos:
eos: This is not an error message; everything may continue to work properly,
eos: in which case you may ignore this message.

$ vagrant ssh eos

Arista Networks EOS shell

-bash-4.3# FastCli
localhost>sho ver
Arista vEOS
Hardware version:
Serial number:
System MAC address: 0800.2736.90c4

Software image version: 4.21.1.1F
Architecture: i386
Internal build version: 4.21.1.1F-10146868.42111F
Internal build ID: ed3973a9-79db-4acc-b9ac-19b9622d23e2

Uptime: 0 weeks, 0 days, 0 hours and 2 minutes
Total memory: 2016612 kB
Free memory: 1379324 kB

0
Posted by Edmund
Answered on February 11, 2019 6:29 pm

Hi Neal,

This stopped working for me after upgrading VirtualBox to the same version as you have.
I found using an old version of Aboot resolves this but the version on arista.com (8.0.0) still hangs.

config.vm.provider :virtualbox do |vb|
vb.customize [“storageattach”, :id, “–storagectl”, “IDE”, “–port”, “0”, “–device”, “1”, “–type”, “dvddrive”, “–medium”, “/Users/edmund/Documents/Arista/Aboot-veos-2.0.10.iso”]
end

Post your Answer

You must be logged in to post an answer.