libvirt: Vagrant box arista/veos - The machine is in the 'inaccessible' state. #1280
Closed
sajith-kumar
started this conversation in
General
Replies: 2 comments 1 reply
-
A number of questions:
You can connect to the Arista box while it's booting:
After that, can you figure out why the VM is inaccessible?
Finally, would you be OK with Arista containers? ;) |
Beta Was this translation helpful? Give feedback.
0 replies
-
The issue with my Vagrant libvirt installation has been resolved by following the instructions in this link(https://gist.github.com/PaulNeumann/81f299a7980f0b74cec9c5cc0508172b). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am Using libvirt/KVM with Vagrant
I used netlab install command to install all the necessary packages.
cat topology.yml
defaults.device: eos
module: [ ospf ]
nodes: [ e1, c1, c2, e2 ]
links:
e2:
bandwidth: 1000
e2:
bandwidth: 1000
When I run netlab up command or vagrant up command it gives below errors:
==> c1: -- Graphics Password: Not defined
==> c2: Domain launching with graphics connection settings...
==> c1: -- Graphics Websocket: 5701
==> c2: -- Graphics Port: 5902
==> c2: -- Graphics IP: 127.0.0.1
==> c2: -- Graphics Password: Not defined
==> c1: Waiting for domain to get an IP address...
==> e1: Creating shared folders metadata...
==> c2: -- Graphics Websocket: 5702
==> e1: Starting domain.
==> c2: Waiting for domain to get an IP address...
==> e1: Domain launching with graphics connection settings...
==> e1: -- Graphics Port: 5903
==> e1: -- Graphics IP: 127.0.0.1
==> e1: -- Graphics Password: Not defined
==> e1: -- Graphics Websocket: 5703
==> e1: Waiting for domain to get an IP address...
==> c2: Waiting for machine to boot. This may take a few minutes...
c2: SSH address: 192.168.121.103:22
c2: SSH username: vagrant
c2: SSH auth method: private key
==> e2: Waiting for machine to boot. This may take a few minutes...
e2: SSH address: 192.168.121.104:22
e2: SSH username: vagrant
e2: SSH auth method: private key
,,,,,,,,,,
later part of the error
An error occurred while executing the action on the 'c1'
machine. Please handle this error then try again:
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'running'. The machine is in the
'inaccessible' state. Please verify everything is configured
properly and try again.
If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run
vagrant up
while theVirtualBox GUI is open.
The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue
.........
Error executing vagrant up --provider libvirt:
Command '['vagrant', 'up', '--provider', 'libvirt']' returned non-zero exit status 1.
[FATAL] netlab up: vagrant up --provider libvirt failed, aborting.
EOS - zerotouch
localhost#conf t
localhost(config)#show zerotouch
ZeroTouch Mode: Disabled
Script Exec Timeout: 900
localhost(config)#
localhost(config)#
vagrant box list
arista/veos (libvirt, 1)
Please help me figure out what I'm doing wrong.
Beta Was this translation helpful? Give feedback.
All reactions