network - network.c:instantiate_veth:291 - Operation not supported - Failed to create veth pair

jsager

Member
Jan 22, 2018
4
0
6
57
Hi,

I am currently using version 6.4-13 of proxmox. I was looking to share the nVidia card installed in my proxmox server with VMs. In doing so, I made the following change to my grub config:

GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt"

I ran update-grub after making that change. I then added the following a few vfio lines to /etc/modules, which now contains:

vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
nvidia
nvidia_uvm
nvidia_modeset

After rebooting my system, I can no longer start my linux containers and VMs that were previously functional. I attached a log file with all the output I get when trying to start one of my linux containers. It appears there is an issue with networking. The following are the lines in the log regarding the errors:

lxc-start 104 20210709194516.298 ERROR network - network.c:instantiate_veth:291 - Operation not supported - Failed to create veth pair "veth104i0" and "vethWfFivb"
lxc-start 104 20210709194516.298 ERROR network - network.c:lxc_create_network_priv:3068 - Operation not supported - Failed to create network device
lxc-start 104 20210709194516.298 ERROR start - start.c:lxc_spawn:1786 - Failed to create the network
lxc-start 104 20210709194516.298 DEBUG network - network.c:lxc_delete_network:3672 - Deleted network devices
lxc-start 104 20210709194516.298 ERROR start - start.c:__lxc_start:1999 - Failed to spawn container "104"

I did a lot of searching to see if I could find where someone was getting the same error. I have been unable to find anything that was helpful. I also tried removing iommu=pt from grub and removing the vfio lines from /etc/modules, but that did not fix the issue.

Can anyone provide some assistance with how to correct this? Please let me know if you need me to provide additional information.

Thanks!
 

Attachments

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!