Proxmox VE 4.2-5/7cf09667 / Netzwerkrate limitieren

BigBen

Well-Known Member
Jun 18, 2015
135
4
58
Germany
Hallo,

wenn in einer laufenden VM die Rate einer Netzkarte limitiert werden soll, wird eine Fehlermeldung ausgegeben:

Parameter verification failed. (400)

net0: hotplug problem - command '/sbin/tc qdisc add dev tap120i0 root handle 1: htb default 1' failed: exit code 2

Eine Angabe wird nur dann erfolgreich übernommen, wenn die VM nicht gestartet ist. Jedoch kann die VM anschließend nicht mehr gestartet werden:

$ qm start 120
Running as unit 120.scope.
RTNETLINK answers: No such file or directory
command '/sbin/tc qdisc add dev tap120i0 root handle 1: htb default 1' failed: exit code 2

Kann jemand mir mitteilen, welche Ursache hier vorliegen könnte?

In der VM wurde die Netzkarte wie folgt konfiguriert:

net0: virtio=(MAC-ADRESSE),bridge=vmbr0,queues=1,rate=1
 
Hello dcapak,

Thank you for the info. In future I will post in the German forum.

Is it correct that the German forum is still to find not a single entry? It is stated that no content can be found. I thought this was a mistake from my Web browser.

$ pveversion -v
proxmox-ve: 4.2-51 (running kernel: 4.2.8-1-pve)
pve-manager: 4.2-5 (running version: 4.2-5/7cf09667)
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.2.6-1-pve: 4.2.6-36
pve-kernel-4.4.8-1-pve: 4.4.8-51
pve-kernel-4.2.8-1-pve: 4.2.8-41
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 1.0-1
pve-cluster: 4.0-39
qemu-server: 4.0-75
pve-firmware: 1.1-8
libpve-common-perl: 4.0-62
libpve-access-control: 4.0-16
libpve-storage-perl: 4.0-50
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.5-17
pve-container: 1.0-64
pve-firewall: 2.0-27
pve-ha-manager: 1.0-31
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.5-7
lxcfs: 2.0.0-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5-pve9~jessie

$ qm config 120
balloon: 512
bootdisk: virtio0
cores: 2
ide2: local:iso/KNOPPIX_V7.6.0DVD-2015-11-21-DE.iso,media=cdrom
memory: 2048
name: Knoppix
net0: virtio=36:34:36:36:61:35,bridge=vmbr0,queues=1,rate=3
numa: 1
ostype: l26
smbios1: uuid=95819d09-d074-4bab-aa1a-59dbc62eee69
sockets: 2
virtio0: local:120/vm-120-disk-1.qcow2,iothread=on,size=32G
 
Is it correct that the German forum is still to find not a single entry? It is stated that no content can be found. I thought this was a mistake from my Web browser.
There is already a post, so if you want you can post your future posts in German there.

To your Problem:

It seems you have installed a new kernel version but not yet rebooted.
The rate limiting uses a kernel module, and when a new kernel version is installed, the module gets updated (and is possibly not compatible).
So either you restart your node (then the correct kernel + module gets loaded) or you reinstall the version of your current running kernel,
see: https://forum.proxmox.com/threads/v...-no-such-file-or-directory.26755/#post-134352

if you have mulitple versions of the same kernel (4.2.8-1 in your case) you have to install them one after another an try inbetween.

in general it is recommended to only install new kernel versions if you reboot afterwards
(for cases such as yours)

hope this helps
 
  • Like
Reactions: BigBen

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!