Problem proxmox change vmbr to VM in hotplug

maykel535

Active Member
Mar 26, 2012
52
0
26
HI, I have installed the proxmox 2.3. I have installed ubuntu in VM kvm with network virtual vmbr0 to net0 for VM. Ii's works very well. But I like change the vmbr0 to vmbr4 in hotplug...

I saw this link http://pve.proxmox.com/wiki/Manual:_vm.conf

Exactly:

hotplug: boolean
Allow hotplug for disk and network device Default value is '0'.

I'm interesting in network.

But I get this error with change vmbr0 to vmbr4 in hotplug:

VM 403 qmp command 'netdev_del' failed - Device 'net0' not found (500)

Could do otherwise? Can I help me please? Is possible?

I like very much proxmox, I've been using a long time

Sorry for my english.

Thanks in advanced.
 
Hi, that mean that net0 was not see by qemu.

Maybe do you have:

boot vm
add net0
enable hotplug:1 in config
then try to change vmbr.

In this case, net0 was not seen by qemu. (you should enable hotplug before add net0 nic)
 
Hi, that mean that net0 was not see by qemu.

Maybe do you have:

boot vm
add net0
enable hotplug:1 in config
then try to change vmbr.

In this case, net0 was not seen by qemu. (you should enable hotplug before add net0 nic)


Very thanks. Tomorrow I will probe this and I will comment.

Thanks.
 
Hi, that mean that net0 was not see by qemu.

Maybe do you have:

boot vm
add net0
enable hotplug:1 in config
then try to change vmbr.

In this case, net0 was not seen by qemu. (you should enable hotplug before add net0 nic)


I try this:

1- Stop VM
2- Erase net0 --> vmbr0 in the VM
3- Add to vm.conf "hotplug: 1"
4- Add new net0 --> vmbr0
5- Start vm
6- Try change change net0 --> vmbr0 to vmbr4
7- I get this error: error hot-unplug net0 for update at /usr/share/perl5/PVE/API2/Qemu.pm line 754. (500)

More info:

root@virtual3:/etc/pve/qemu-server# pveversion
pve-manager/2.3/7946f1f1


root@virtual3:/etc/pve/qemu-server# cat 403.conf
bootdisk: ide0
cores: 1
hotplug: 1
ide0: local:403/vm-403-disk-1.qcow2,size=32G
ide2: local:iso/ubuntu-12.10-server-amd64.iso,media=cdrom,size=689M
memory: 512
name: national-express.mo2o.com
net0: e1000=9A:BB:E7:48:E9:F8,bridge=vmbr0
onboot: 1
ostype: l26
sockets: 1


Thanks in advanced.
 
I don't understand. I hotplug my network bridges all the time and have never had to edit a conf file.

Sent from my Galaxy Nexus
 
Hot plug. As in I go into the VM settings and change the nic to a different vmbr whenever I like. I do it all the time and I have never edited any config files. I test a lot of router and web filter distros on a couple of different vlans. Trust me, I do this all the time without special configs. Unless you are referring to something else entirely.

Sent from my Galaxy Nexus
 
Simply:

1- No edited vm.conf, default. hotplug:0 --> default
2- Create VM kvm with ubuntu, for example.
3- Installed with vmbr0
4- Now, I like change vmbr0 to vmbr4, for example.
5- No error reported, but I changed the ip to lan vmbr4, obviously
6- Try ping to ip the other host but not ping...
7- if I turn off the machine and turn it on if I vmbr4 network. Ping OK.
8. But, I like no halt VM, I like the change apply hot.

Then, I searching information in kvm page, I found this:

hotplug: 1

Hot swapping I do not work, and if I add hotplug: 1 I get the error that I post.

Which version proxmox do you have?

Thanks for all.
 
Not sure why you would have trouble doing so, because I do this all the time.

I am on 3.1 but this worked on 2.3 for me.

Sent from my Galaxy Nexus
 
Hi,
in proxmox 2.3, when you change bridge, nic is hot-unplug, hot-hotplug.
in proxmox 3.1, it's improved, you bridge is changed without hot-unplug/hotplug. (vlan too)


If you need hot-unplug/hotplug,

for windows it's works out of the box
for linux, you need to have 2 modules loaded : acpiphp,pci_hotplug.
 
After anything, pirateghost: what SO are used with change vmbr in hotplug?


spirit:


Te refieres a nivel de SO linux o de proxmox??


With modprobe??


modprobe acpiphp
modprobe pci_hotplug


Can I help me please??


A mi en ubuntu y pfsense no me funciona.


Thanks in advanced.
 
Ummm but esxi server, change vmbr0 to vmbr4 in hotplug and not necessary load modules acpiphp and pci_hotplug...

such as that?

Thanks in advanced.
 

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!