From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id DE63E9E7D8 for ; Thu, 2 Nov 2023 08:18:57 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C03F2CB0C for ; Thu, 2 Nov 2023 08:18:27 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Thu, 2 Nov 2023 08:18:23 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 0985743A2F; Thu, 2 Nov 2023 08:18:22 +0100 (CET) Message-ID: <5e6b02d4-c728-4f64-a8bb-bd3e50701053@proxmox.com> Date: Thu, 2 Nov 2023 08:18:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Stefan Radman , PVE User List References: <05A38B49-ED49-4093-A58A-8988F778D89E@me.com> Content-Language: en-US From: Dominik Csapak In-Reply-To: <05A38B49-ED49-4093-A58A-8988F778D89E@me.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.017 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [proxmox.com, qemuserver.pm] Subject: Re: [PVE-User] Use of uninitialized value in PVE/QemuServer.pm X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2023 07:18:57 -0000 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