Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-29221

[2203187] Add disk from "PVC (creates PVC)" is failed

XMLWordPrintable

    • Moderate
    • None

      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:

              hstastna@redhat.com Hilda Stastna (Inactive)
              gouyang1@redhat.com Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: