Hello!
I can not hotplug add NIC to vm
After I turn off vm nic added without problem.
# qm config 227
# brctl show
#qm set 227 -net1 e1000,bridge=vmbr3
# pveversion -v
I can not hotplug add NIC to vm
Code:
400 Parameter verification failed
VM 227 qmp command failed - VM 227 qmp command 'netdev_add' failed - Device 'tap' could not be initialized
After I turn off vm nic added without problem.
# qm config 227
Code:
qm config 227
bootdisk: virtio0
cores: 2
ide2: none,media=cdrom
memory: 4096
name: pg-test
net0: e1000=AE:40:EE:B3:AD:53,bridge=vmbr300
numa: 0
ostype: l26
smbios1: uuid=df231fb6-060c-4ffb-a8eb-6b734ffb1466
sockets: 1
virtio0: vm_shared2-1:vm-227-disk-1,cache=writethrough,size=32G
virtio1: vm_shared2-1:vm-227-disk-2,cache=writethrough,size=32G
# brctl show
Code:
bridge name bridge id STP enabled interfaces
vmbr3 8000.a0d3c1f7fd79 no eth1.3
tap144i1
vmbr300 8000.a0d3c1f7fd79 no eth1.300
tap122i0
tap127i0
tap128i0
tap131i0
tap200i0
tap201i0
tap212i0
tap214i0
tap227i0
vmbr301 8000.a0d3c1f7fd79 no eth1.301
tap133i0
vmbr312 8000.a0d3c1f7fd79 no eth1.312
tap219i0
#qm set 227 -net1 e1000,bridge=vmbr3
Code:
update VM 227: -net1 e1000,bridge=vmbr3
400 Parameter verification failed.
net1: hotplug problem - VM 227 qmp command 'netdev_add' failed - Device 'tap' could not be initialized
# pveversion -v
Code:
proxmox-ve-2.6.32: 3.4-156 (running kernel: 2.6.32-39-pve)
pve-manager: 3.4-6 (running version: 3.4-6/102d4547)
pve-kernel-2.6.32-39-pve: 2.6.32-156
pve-kernel-2.6.32-37-pve: 2.6.32-150
pve-kernel-2.6.32-26-pve: 2.6.32-114
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-2
pve-cluster: 3.0-17
qemu-server: 3.4-6
pve-firmware: 1.1-4
libpve-common-perl: 3.0-24
libpve-access-control: 3.0-16
libpve-storage-perl: 3.0-33
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.2-10
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1