QemuServer.pm subroutines are not called under GUI?

Ilya Evseev

New Member
Jun 30, 2012
7
0
1
There is an Proxmox VE 5.3-11 server running several VM's.
Disk images are stored on Ceph RBD.

I modified "print_drivedevice_full" subroutine in /usr/share/perl5/PVE/QemuServer.pm for RBD tuning as described in https://pve.proxmox.com/pipermail/pve-devel/2018-June/032787.html

Here is my patch:
https://gist.github.com/ilyaevseev/effc9a6a2bdc4f9bf90000a384488bd0

Problem:
- print_drivedevice_full is successfully executed with new functionality when VM is started by CLI "qm start 123" command (and that's fine:)
- VM can be started from GUI too, but nothing is applied nor printed in this case -- it seems that print_drivedevice_full is not reached at all.

Is it a bug or a feature?
 
DId you restart the pvedaemon and pveproxy?
 

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!