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?
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: