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

Tier2: fix test_vmi_image_size

XMLWordPrintable

    • 8
    • False
    • Hide

      None

      Show
      None
    • False
      • PR merged to cnv-tests and backported to all relevant branches
    • ---
    • ---
    • No

      In case of file system volume mode, the FS overhead should be taken into account the default overhead is 5.5%, so in order to reserve the 5.5% for the overhead the actual size for the disk will be smaller than the requested size

      This line is always False, because when we use the storage API, volume_mode is populated by CDI, and not defined in our python dv object. We need to grab the value from the created DV resource. 

      if dv.volume_mode == DataVolume.VolumeMode.FILE: 

            kgoldbla Kevin Alon Goldblatt
            jpeimer@redhat.com Jenia Peimer
            Kevin Alon Goldblatt Kevin Alon Goldblatt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: