VM configuration on Arista DCS-7050SX-64 "howto"

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

lamune

Member
Feb 28, 2015
37
15
8
54
Hi STHers,

I have an Arista DCS-7050SX-64-R:
Hardware version: 12.25
Software image version: 4.28.11M

I'm experimenting with setting up a VM on it. Following along Arista's documentation, I created a VM and copied over the qcow2 disk image onto the internal SSD (scp is crazy slow on it, for whatever reason) and did the following:

Arista-7050SX-64(config)#virtual-machine router
Arista-7050SX-64(config-vm-router)#disk-image drive:/kvm/arista-router.qcow2 image-format qcow2
Arista-7050SX-64(config-vm-router)#memory-size 3954
Arista-7050SX-64(config-vm-router)#virtual-nic 1 vlan 69
Arista-7050SX-64(config-vm-router)#vnc-port 5900
Arista-7050SX-64(config-vm-router)#enable
Arista-7050SX-64(config)#exit
Arista-7050SX-64#show virtual-machine detail
Virtual Machine: router
Enabled: Yes
State: Stopped
Disk Image: /mnt/drive/kvm/arista-router.qcow2
Memory Size: 3954MB
VNC port: 5900
Virtual Nic: vnic1
Mac Address: 52:54:00:ac:0a:2e
Device: Vlan69
Model Type: e1000
Arista-7050SX-64#virtual-machine router restart

The VM doesn't start after the restart command:

Arista-7050SX-64#show virtual-machine detail
Virtual Machine: router
Enabled: Yes
State: Stopped
Disk Image: /mnt/drive/kvm/arista-router.qcow2
Memory Size: 3954MB
VNC port: 5900
Virtual Nic: vnic1
Mac Address: 52:54:00:ac:0a:2e
Device: Vlan69
Model Type: e1000


I'm looking around on the switch for some sort of log or error messages and I don't see anything. How do I get the VM to start and where are the logs that would aid in troubleshooting them?

Thanks all!
 

lamune

Member
Feb 28, 2015
37
15
8
54
I missed the fact that the VNC console is active all the time. I was able to see that the VM wasn't starting because apparently the hypervisor doesn't pass the x86-64-v2 CPU to the VM for some reason. I tried an older version of the distro that doesn't require that CPU type and it works now.