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

Filesystem total size mismatch on fedora between CNV, Libvirt and guest OS

XMLWordPrintable

    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None

      Description of problem:

      A data mismatch is observed when comparing filesystem information reported by virtctl libvirt and guest OS. 

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

      CNV: v4.21.0.rhel9-70

      How reproducible:

      100%

      Steps to Reproduce:

      1. create a fedora vm
      2. check file system info
      3.
      

      Actual results:

      filesystem total sizes reported by the CNV side, libvirt side, and the guest OS do not match.

      Expected results:

      all of total size should match

      Additional info:
      this issue just encounter for fedora, not fails for rhel/centos

      Virtctl: {'name': 'vda4', 'mount': '/', 'fsType': 'btrfs', 'used': 696340480, 'total': 31673155584}
      CNV: {'name': 'vda4', 'mount': '/', 'fsType': 'btrfs', 'used': 696340480, 'total': 31673155584}
      Libvirt: {'name': 'vda4', 'mount': '/', 'fsType': 'btrfs', 'used': 697577472, 'total': 31673188352}
      OS: {'name': 'vda4', 'mount': '/', 'fsType': 'btrfs', 'used': 625983488, 'total': 31672795136}

      "Virtctl" - just an output of virtctl fslist

      "CNV" - same as Virtctl but gets data directly from API

      "Libvirt" - gathers same data as Virtclt from virt-launcher pod via virsh qemu-agent-command (virsh qemu-agent-command guest-get-fsinfo)

      "OS" - gathers same data as Virtctl from guest os via parsing 'df -TB1 | grep /dev/vd'

              ngavrilo@redhat.com Natalie Gavrielov
              rh-ee-siwang Sibo Wang
              Kedar Bidarkar Kedar Bidarkar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: