Hello everyone, This is a brief public service announcement regarding an iSCSI upgrade incompatibility affecting PVE 9.x.
A bug introduced in iscsiadm in 2023 prevents the tool from parsing the iSCSI database generated by earlier versions. If you encounter this issue, you will see the message: "iscsiadm: Could not execute operation on all records: invalid parameter."
The problem originates from the removal of SLP Discovery support in iscsiadm. During that cleanup effort, a mismatch was introduced between an enum definition and the option parsing logic.
The buggy code made its way into Debian Trixie, which PVE 9 is based on. Our PVE team first noticed the behavior in 9.0 but could not consistently reproduce it. We encountered it again during our QA cycle for 9.1, investigated further, and identified the source of the bug. We have filed an issue with the open-iscsi project and submitted a patch upstream.
@t.lamprecht @fiona It may be some time before a fix makes its way into Trixie, so you may want to consider building your own updated package in the meantime. That said, the iscsiadm code is gnarly. It might be smart to wait for confirmation from the open-iscsi team.
Here's a link to the issue:
- https://github.com/open-iscsi/open-iscsi/issues/463#issuecomment-3572969846
The patch is simple and low risk. Here's a link to the pull request:
- https://github.com/open-iscsi/open-iscsi/pull/518
Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
A bug introduced in iscsiadm in 2023 prevents the tool from parsing the iSCSI database generated by earlier versions. If you encounter this issue, you will see the message: "iscsiadm: Could not execute operation on all records: invalid parameter."
The problem originates from the removal of SLP Discovery support in iscsiadm. During that cleanup effort, a mismatch was introduced between an enum definition and the option parsing logic.
The buggy code made its way into Debian Trixie, which PVE 9 is based on. Our PVE team first noticed the behavior in 9.0 but could not consistently reproduce it. We encountered it again during our QA cycle for 9.1, investigated further, and identified the source of the bug. We have filed an issue with the open-iscsi project and submitted a patch upstream.
@t.lamprecht @fiona It may be some time before a fix makes its way into Trixie, so you may want to consider building your own updated package in the meantime. That said, the iscsiadm code is gnarly. It might be smart to wait for confirmation from the open-iscsi team.
Here's a link to the issue:
- https://github.com/open-iscsi/open-iscsi/issues/463#issuecomment-3572969846
The patch is simple and low risk. Here's a link to the pull request:
- https://github.com/open-iscsi/open-iscsi/pull/518
Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox