[GH-ISSUE #194] ISO injection broken #49

Closed
opened 2026-03-03 15:29:53 +03:00 by kerem · 0 comments
Owner

Originally created by @wikkyk on GitHub (May 20, 2025).
Original GitHub issue: https://github.com/luthermonson/go-proxmox/issues/194

github.com/luthermonson/go-proxmox@481b57d6af broke ISO injection.

https://github.com/diskfs/go-diskfs/blob/master/backend/file/file.go#L29 expects the name of an existing file and returns an error if the file does not exist.
Before the update, an os.File that was created by os.Create was passed. Now the name of a non-existent file is passed, leading to error:
provided device/file /tmp/user-data-100.iso does not exist
If you create the file manually, injection works fine.

See https://github.com/ionos-cloud/cluster-api-provider-proxmox/actions/runs/15132479742/job/42537033303

Originally created by @wikkyk on GitHub (May 20, 2025). Original GitHub issue: https://github.com/luthermonson/go-proxmox/issues/194 https://github.com/luthermonson/go-proxmox/commit/481b57d6aff052001a6122e8259d05d0db091eb5 broke ISO injection. https://github.com/diskfs/go-diskfs/blob/master/backend/file/file.go#L29 expects the name of an existing file and returns an error if the file does not exist. Before the update, an `os.File` that was created by `os.Create` was passed. Now the name of a non-existent file is passed, leading to error: `provided device/file /tmp/user-data-100.iso does not exist` If you create the file manually, injection works fine. See https://github.com/ionos-cloud/cluster-api-provider-proxmox/actions/runs/15132479742/job/42537033303
kerem closed this issue 2026-03-03 15:29:53 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/go-proxmox#49
No description provided.