Hi,
I think I may have found a regression in PVE 9.2.x regarding physical disk passthrough.
Environment
For a long time I have been attaching and removing physical disks from VMs using:
and later:
After upgrading to PVE 9.2.x, adding still works, but removing no longer works.
I reproduced the issue with a brand new VM.
Commands:
This succeeds.
The VM is stopped:
Removing the device:
returns:
Instead of removing the device, the configuration becomes:
The pending change cannot be applied anymore.
For comparison, using a normal Proxmox-managed disk works correctly:
This removes the disk successfully.
I also reproduced the exact same behaviour using the API:
which returns the same "unable to parse volume ID" error.
Is this a known regression in qemu-server 9.2.x, or has the recommended way of removing passthrough disks changed?
If this is a bug, I'm happy to open a Bugzilla report with any additional information required.
Thank you very much!
I think I may have found a regression in PVE 9.2.x regarding physical disk passthrough.
Environment
- proxmox-ve: 9.2.0
- pve-manager: 9.2.4
- qemu-server: 9.2.0
- pve-qemu-kvm: 11.0.2-1
For a long time I have been attaching and removing physical disks from VMs using:
Code:
qm set <vmid> -scsiX /dev/disk/by-id/<disk-id>
and later:
Code:
qm set <vmid> --delete scsiX
After upgrading to PVE 9.2.x, adding still works, but removing no longer works.
I reproduced the issue with a brand new VM.
Commands:
Code:
qm create 9999 --memory 512 --cores 1 --net0 virtio,bridge=vmbr0
qm set 9999 -scsi1 /dev/disk/by-id/ata-WDC_WD200EDGZ-<S/N-redacted>
This succeeds.
The VM is stopped:
Code:
qm status 9999
status: stopped
Removing the device:
Code:
qm set 9999 --delete scsi1
returns:
Code:
unable to apply pending change scsi1 : unable to parse volume ID '/dev/disk/by-id/ata-WDC_WD200EDGZ-<S/N-redacted>'
400 Parameter verification failed.
Instead of removing the device, the configuration becomes:
Code:
[PENDING]
delete: scsi1
The pending change cannot be applied anymore.
For comparison, using a normal Proxmox-managed disk works correctly:
Code:
qm set 9999 -scsi2 local-lvm:1
qm set 9999 --delete scsi2
This removes the disk successfully.
I also reproduced the exact same behaviour using the API:
Code:
pvesh set /nodes/<node>/qemu/9999/config --delete scsi1
which returns the same "unable to parse volume ID" error.
Is this a known regression in qemu-server 9.2.x, or has the recommended way of removing passthrough disks changed?
If this is a bug, I'm happy to open a Bugzilla report with any additional information required.
Thank you very much!