Use of uninitialized value $path in pattern match (m//) at /usr/share/perl5/PVE/QemuServer.pm line 1622.

shpasser

New Member
Jun 5, 2022
6
0
1
When I execute the command qm start 103 via the terminal on PVE 7.3-3 I get the following error message:

Use of uninitialized value $path in pattern match (m//) at /usr/share/perl5/PVE/QemuServer.pm line 1622.

The message started appearing after I the upgrade from PVE 7.2 to PVE 7.3-3.

Please help.
 
Hi,

Can you post the output of pveversion? Please put the output in [code][/code] tags to preserve the output's formatting.
 
Ah sorry, that was missing a "--verbose". Should have been pveversion --verbose.
 
Code:
root@pve:~# pveversion --verbose
proxmox-ve: 7.3-1 (running kernel: 5.15.74-1-pve)
pve-manager: 7.3-3 (running version: 7.3-3/c3928077)
pve-kernel-helper: 7.3-1
pve-kernel-5.15: 7.2-14
pve-kernel-5.15.74-1-pve: 5.15.74-1
pve-kernel-5.15.60-2-pve: 5.15.60-2
pve-kernel-5.15.39-3-pve: 5.15.39-3
pve-kernel-5.15.35-1-pve: 5.15.35-3
pve-kernel-5.15.30-2-pve: 5.15.30-3
ceph-fuse: 15.2.16-pve1
corosync: 3.1.7-pve1
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve2
libproxmox-acme-perl: 1.4.3
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 7.2-5
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.3-1
libpve-guest-common-perl: 4.2-3
libpve-http-server-perl: 4.1-5
libpve-storage-perl: 7.3-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.0-3
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.3.1-1
proxmox-backup-file-restore: 2.3.1-1
proxmox-mini-journalreader: 1.3-1
proxmox-offline-mirror-helper: 0.5.0-1
proxmox-widget-toolkit: 3.5.3
pve-cluster: 7.3-1
pve-container: 4.4-2
pve-docs: 7.3-1
pve-edk2-firmware: 3.20220526-1
pve-firewall: 4.2-7
pve-firmware: 3.6-1
pve-ha-manager: 3.5.1
pve-i18n: 2.8-1
pve-qemu-kvm: 7.1.0-4
pve-xtermjs: 4.16.0-1
qemu-server: 7.3-1
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.8.0~bpo11+2
vncterm: 1.7-1
zfsutils-linux: 2.1.6-pve1
 
Can you also post the config of the VM?
 
The VM configuration attached as images
 

Attachments

  • Screen Shot 2022-12-16 at 15.11.53.png
    Screen Shot 2022-12-16 at 15.11.53.png
    413.3 KB · Views: 13
  • Screen Shot 2022-12-16 at 15.12.06.png
    Screen Shot 2022-12-16 at 15.12.06.png
    167.9 KB · Views: 13
Hi,

thanks, yeah seems like I can reproduce this one. Does the VM start for you after that message, though?
 
Yeah this is due to the fact that you have a cdrom drive configured that is based on a physical cdrom drive of your system. I'm guessing your system doesn't have a cdrom drive and, hence, the path backing this drive isn't being set as expected. If you remove the CD drive from your VM, the error should go away. I'll see if we can add a more informative error message here.
 
Last edited:
  • Like
Reactions: shpasser

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!