Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-144074

Expose XFS version in virt-inspector

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.2
    • rhel-10.1
    • guestfs-tools
    • None
    • guestfs-tools-1.54.0-8.el10
    • Low
    • 1
    • rhel-virt-tools
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • rhel-virt-tools-CY25-Sprint999
    • Fail
    • Manual
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Enhance the output of virt-inspector so that it lists (for XFS) the version of XFS. Example output:

            <filesystems>
              <filesystem dev='/dev/sda1'>
                <type>ext4</type>
                <uuid>15e8838c-136e-4a1f-ac01-97b4fa6b0fe4</uuid>
              </filesystem>
              <filesystem dev='/dev/sda2'>
                <type>swap</type>
                <uuid>8e966377-86f1-45a1-bdff-28724530818d</uuid>
              </filesystem>
              <filesystem dev='/dev/sda3'>
                <type version='4'>xfs</type>
                <uuid>67ae8aeb-a9f4-4639-a201-c02b7dbb5d98</uuid>
              </filesystem>
            </filesystems>
      

      [Original bug description follows ...]

      Goal

      • RHEL 10 dropped support of XFSv4, MTV is working on tool to preform deep inspection where we query information from guest before migraiton. Knowing the XFS version would be usefull information. Right now we know just the filesystem name but we don't know the speicifc version. For this we need to query the filesystem metadata in libguestfs and expose it in the virt-inspector.

      Acceptance criteria

      A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.

      • Verify that libguestfs can get version from filesystem
      • Verify that virt-inspector returns filesystem and it's versionĀ 

              rhn-eng-rjones Richard Jones
              mnecas@redhat.com Martin Necas
              virt-maint virt-maint
              Ming Xie Ming Xie
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: