[GH-ISSUE #48] Error Reading Undefined Size Attribute on Disks #31

Closed
opened 2026-02-26 17:31:04 +03:00 by kerem · 1 comment
Owner

Originally created by @ericwang401 on GitHub (Nov 3, 2023).
Original GitHub issue: https://github.com/ConvoyPanel/panel/issues/48

Background

In Proxmox, disks can be mounted without any media attached, and this results in a disk without any "size" attribute. For example, you can mount an IDE CD/DVD drive without any media and that would have no size attribute.

By default, Convoy assumes every disk has a size attribute. This works for Convoy's official images, but can be problematic for users' custom images if they aren't aware of this bug.

Proposed fix

Give disks without the size attribute a default size of 0.

Originally created by @ericwang401 on GitHub (Nov 3, 2023). Original GitHub issue: https://github.com/ConvoyPanel/panel/issues/48 ## Background In Proxmox, disks can be mounted without any media attached, and this results in a disk without any "size" attribute. For example, you can mount an IDE CD/DVD drive without any media and that would have no size attribute. By default, Convoy assumes every disk has a size attribute. This works for Convoy's official images, but can be problematic for users' custom images if they aren't aware of this bug. ## Proposed fix Give disks without the size attribute a default size of 0.
kerem 2026-02-26 17:31:04 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ericwang401 commented on GitHub (Nov 11, 2023):

Resolved in 9cb2cf0da0.

Will be pushed in v4 release.

<!-- gh-comment-id:1806868301 --> @ericwang401 commented on GitHub (Nov 11, 2023): Resolved in 9cb2cf0da0d0056a72d7efaee5769c7647c682fa. Will be pushed in v4 release.
Sign in to join this conversation.
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/panel#31
No description provided.