[PVE-User] Use of uninitialized value in PVE/QemuServer.pm
Dominik Csapak
d.csapak at proxmox.com
Thu Nov 2 08:18:21 CET 2023
On 11/1/23 20:36, Stefan Radman wrote:
>
> I might have hit a minor bug running Proxmox VE 8.0 (with latest updates from enterprise repo).
>
> When HA manager tries to live-migrate a VM that has a mapped USB resource attached it fails with the following error:
>
> task started by HA resource agent
> Use of uninitialized value in pattern match (m//) at /usr/share/perl5/PVE/QemuServer.pm line 2699.
> 2023-11-01 22:20:34 ERROR: migration aborted (duration 00:00:00): can't migrate running VM which uses mapped devices: usb0
> TASK ERROR: migration aborted
>
> While I understand that live migration with mapped USB resources is not (yet) supported, I think that the warning
>
> “Use of uninitialized value in pattern match (m//) at /usr/share/perl5/PVE/QemuServer.pm line 2699.”
>
> should not be there.
>
> Has anyone else seen this warning?
>
> Stefan
> PS: the HA live migration succeeds when I use the USB Vendor/Device ID directly, instead of the mapping.
>
>
Hi,
yes, 'use of uninitialized value...' error shouldn't happen.
would you mind opening a bug report here: https://bugzilla.proxmox.com
with the exact versions you have (pveversion -v) ?
Thanks and kind regards
Dominik
More information about the pve-user
mailing list