Linux brigde and virtual switch ports locked

kaltsi

Active Member
Mar 22, 2013
71
11
28
http://goo.gl/maps/d9tFg
I have lot of templates VM. When it needed automatically generated VM from the templates and and destroy it.
Usually it works fine. But sometimes the generated VM can not start, because there is something wrong with the bridge port. It depends on the VM id.
For example:
-netdev 'type=tap,id=net0,ifname
=tap187i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown' -device 'e1000,mac=36:38:31:63:32:31,netdev=net0,bus=pci.0,addr=0x12
,id=net0,bootindex=300' -netdev 'type=tap,id=net1,ifname=tap187i1,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown' -device 'e10
00,mac=32:34:33:65:63:37,netdev=net1,bus=pci.0,addr=0x13,id=net1,bootindex=301'' failed: exit code 1

But same VM and only the id of VM is different, it is working fine.
The number of 187 network interface is not used. I didn't find any problem in the logs, and so on...

After remove the VM 187:

/usr/bin/ovs-vsctl show | grep -E "187|Bridge"
Bridge "vmbr5"
Port "tap187i3"
Interface "tap187i3"
Bridge "vmbr4"
Port "tap187i2"
Interface "tap187i2"
Bridge "vmbr3"
Port "tap187i1"
Interface "tap187i1"




Proxmox 4.1 and 4.2

How can I resolve this issue?
 
Last edited:
I find some error:
2016-05-13T11:27:25.734Z|25820|netdev_linux|WARN|ethtool command ETHTOOL_GSET on network device tap187i1 failed: No such device
2016-05-13T11:27:25.737Z|25822|netdev_linux|WARN|ethtool command ETHTOOL_GDRVINFO on network device tap187i1 failed: No such device
2016-05-13T11:27:25.738Z|25823|netdev_linux|WARN|ethtool command ETHTOOL_GSET on network device tap187i1 failed: No such device
2016-05-13T11:27:25.741Z|25824|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on tap187i1 device failed: No such device
2016-05-13T11:27:25.742Z|25825|netdev_linux|WARN|ioctl(SIOCGIFINDEX) on tap187i1 device failed: No such device
2016-05-13T11:27:25.951Z|25839|netdev_linux|WARN|ethtool command ETHTOOL_GSET on network device tap187i2 failed: No such device
2016-05-13T11:27:25.954Z|25840|netdev_linux|WARN|ethtool command ETHTOOL_GDRVINFO on network device tap187i2 failed: No such device
2016-05-13T11:27:25.955Z|25841|netdev_linux|WARN|ethtool command ETHTOOL_GSET on network device tap187i2 failed: No such device
2016-05-13T11:27:25.957Z|25842|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on tap187i2 device failed: No such device
2016-05-13T11:27:25.959Z|25843|netdev_linux|WARN|ioctl(SIOCGIFINDEX) on tap187i2 device failed: No such device
2016-05-13T11:27:26.286Z|25850|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on tap187i3 device failed: No such device
 

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!