Skip to content

[Bug] Dont show disks formats that are not supported on selected storage #307

@proxforge

Description

@proxforge

Describe the bug

If you select qcow2 as a disk format on a local-zfs storage pool (zfs mirror) and create a vm and select qcow2 as a image format, it can not be created.

"TASK ERROR: unable to create VM 102 - unsupported format 'qcow2' at /usr/share/perl5/PVE/Storage/ZFSPoolPlugin.pm line 256."

Steps to Reproduce

  1. Have a setup with a zfs pool
  2. create a vm in corporate design mode
  3. select qcow2 as disk format when selecting zfspool
  4. try to create the vm
  5. get a error

Expected behavior

Only show formats that are allowed and working with the selected storage.

Screenshots

Image

Environment

  • PegaProx Version: 0.9.6 BETA
  • Installation Method: install script from website
  • OS: debian13
  • Browser: Firefox 149.0.2 (64-Bit)
  • Behind Reverse Proxy? yes but added via local ip not dns
    • UI? Corporate

Checklist

  • I have searched existing issues to make sure this is not a duplicate
  • I am using the latest version of PegaProx

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions