Skip to content

fix: parse storage ID from volid when deleting ISO/template - #35

Merged
greenlogles merged 1 commit into
mainfrom
fix/delete-iso-template-storage-id
Jul 16, 2026
Merged

fix: parse storage ID from volid when deleting ISO/template#35
greenlogles merged 1 commit into
mainfrom
fix/delete-iso-template-storage-id

Conversation

@greenlogles

Copy link
Copy Markdown
Owner

Proxmox volids have the format storage:content-type/filename (e.g. local-ssd:vztmpl/debian-12.tar.zst). The delete endpoints split the volid on '/', so parts[0] became 'local-ssd:vztmpl' and was passed as the storage ID, which Proxmox rejects with 'contains illegal characters'. Derive the storage ID from the part before the colon instead, and fix the same bug in the isoStorage display helper.

Proxmox volids have the format storage:content-type/filename
(e.g. local-ssd:vztmpl/debian-12.tar.zst). The delete endpoints split
the volid on '/', so parts[0] became 'local-ssd:vztmpl' and was passed
as the storage ID, which Proxmox rejects with 'contains illegal
characters'. Derive the storage ID from the part before the colon
instead, and fix the same bug in the isoStorage display helper.
@greenlogles
greenlogles merged commit 983f326 into main Jul 16, 2026
9 checks passed
@greenlogles
greenlogles deleted the fix/delete-iso-template-storage-id branch July 16, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant