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

UI: When cloning a PVC, default size is 1073741824 Tib - which is much larger than the source PVC size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • CNV v4.15.0
    • CNV User Interface
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ---
    • ---
    • No

      Description of problem:

      UI: When cloning a PVC, the default suggested size is 1073741824 Tib. 

      Version-Release number of selected component (if applicable):

      4.15, 4.14, 4.13, 4.12

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create a PVC (with 1Gi, or 10Gi, or 30Gi storage request)
      2. Go to UI: Storage -> PersistentVolumeClaims
      3. Clone the PVC, you'll see the default size is 1073741824 Tib, which is too big 

      Actual results:

      Cloned PVC created with 9223372036854775807 bytes request (~9223372036 Gi or ~9223372 Terabyte)
        resources:
          requests:
            storage: '9223372036854775807'

      Expected results:

      PVC created with the minimal required size for clone

      Additional info:

      W/A: specify the size manually in the UI, before hitting the Clone button
      Attached the source and target PVCs yamls
      

       

        1. image-2024-01-08-17-27-24-777.png
          120 kB
          Jenia Peimer
        2. UI-PVC-clone.txt
          4 kB
          Jenia Peimer

              tnisan@redhat.com Tal Nisan
              jpeimer@redhat.com Jenia Peimer
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: