Created attachment 1964012 [details] error while adding disk Description of problem: Add disk from "PVC (creates PVC)" is failed with below error: admission webhook "virtualmachines-mutator.kubevirt.io" denied the request: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$' The problem happens in catalog (while creating the VM -> VM disk tab) and VM disk tab (after the VM is created), not happen to template disk tab. However, in the add disk modal, clear the size field and type with the same number, the problem is gone. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Add disk from "PVC (creates PVC)" 2. Select and project and a PVC 3. Click Save Actual results: it failed to add the disk Expected results: Add disk from "PVC (creates PVC)" is okay. Additional info:
Created attachment 1964574 [details] The size is NaN on template's disk tab It also happens to template's disk modal: 1. add disk from pvc in template's disk tab 2. it shows "NaN" in the size column 3. create vm from this template will see the error in the bug description
This is a regression caused by https://bugzilla.redhat.com/show_bug.cgi?id=2180666 Could also see the problem on 4.13.1 now as https://bugzilla.redhat.com/show_bug.cgi?id=2204527 is merged on 4.13.1 Need to fix it and backport to 4.13.1.
Clone the issue to 4.13.1 in jira: https://issues.redhat.com/browse/CNV-29221
From what I've found when looking into this, I'd say this is not a regression in its original meaning. The fix provided by https://bugzilla.redhat.com/show_bug.cgi?id=2180666 just revealed a hidden bug. There can be more hidden bugs in this area.
verified on kubevirt-console-plugin-rhel9-container-v4.14.0-1645
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Virtualization 4.13.1 Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2023:3686