RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2184963 - virt-drivers fails to inspect RHEL9.2 guest due to kernel-core / kernel-modules-core subpackage split
Summary: virt-drivers fails to inspect RHEL9.2 guest due to kernel-core / kernel-modul...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: guestfs-tools
Version: 9.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: YongkuiGuo
URL:
Whiteboard:
Depends On: 2168626
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-06 10:00 UTC by Richard W.M. Jones
Modified: 2023-11-07 09:07 UTC (History)
6 users (show)

Fixed In Version: guestfs-tools-1.50.1-2.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-07 08:25:09 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-154168 0 None None None 2023-04-06 10:02:49 UTC
Red Hat Product Errata RHBA-2023:6345 0 None None None 2023-11-07 08:25:16 UTC

Description Richard W.M. Jones 2023-04-06 10:00:06 UTC
This bug was initially created as a copy of Bug #2175703

Description of problem:

virt-drivers should fail to fully inspect the kernels in
a RHEL 9.2 guest, for the same reasons as given in
bug 2175703.

This requires a separate backport of this upstream fix:

https://listman.redhat.com/archives/libguestfs/2023-March/thread.html#31111

Comment 1 Laszlo Ersek 2023-04-06 10:05:48 UTC
I'm modifying the Version field to 9.3; guestfs-tools in RHEL-9.2 does not include the virt-drivers tool.

Please undo the modification if I'm wrong.

Comment 2 YongkuiGuo 2023-04-10 11:29:18 UTC
Tested with the package:
guestfs-tools-1.50.1-1.el9.x86_64


Steps:

1. On rhel9.3 host 
$ virt-drivers -a rhel-guest-image-9.2-20230409.21.x86_64.qcow2
<?xml version='1.0' encoding='utf-8'?>
<operatingsystems>
  <!-- generated by virt-drivers 1.50.1 -->
  <firmware type='bios'/>
  <operatingsystem>
    <root>/dev/sda4</root>
    <name>linux</name>
    <arch>x86_64</arch>
    <distro>rhel</distro>
    <product_name>Red Hat Enterprise Linux 9.2 (Plow)</product_name>
    <major_version>9</major_version>
    <minor_version>2</minor_version>
    <package_format>rpm</package_format>
    <package_management>dnf</package_management>
    <osinfo>rhel9.2</osinfo>
    <bootloader type='grub2' config='/boot/efi/EFI/redhat/grub.cfg'>
      <kernel>
        <name>kernel-core</name>
        <version>5.14.0-284.10.1.el9_2.x86_64</version>
        <arch>x86_64</arch>
        <vmlinuz>/boot/vmlinuz-5.14.0-284.10.1.el9_2.x86_64</vmlinuz>
        <initrd>/boot/initramfs-5.14.0-284.10.1.el9_2.x86_64.img</initrd>
        <modules_path>/lib/modules/5.14.0-284.10.1.el9_2.x86_64</modules_path>
        <modules>
          <module>6lowpan</module>
          <module>8021q</module>
          <module>8139cp</module>
          <module>8139too</module>
          <module>8250_lpss</module>
          <module>aacraid</module>
          <module>abituguru</module>
          <module>abituguru3</module>
          ...
          <module>zr364xx</module>
          <module>zram</module>
          <module>zstd</module>
          <module>zstd_compress</module>
        </modules>
        <supports_virtio_blk/>
        <supports_virtio_net/>
        <supports_virtio_rng/>
        <supports_virtio_balloon/>
        <supports_isa_pvpanic/>
        <supports_virtio_socket/>
        <config_file>/boot/config-5.14.0-284.10.1.el9_2.x86_64</config_file>
      </kernel>
    </bootloader>
  </operatingsystem>
</operatingsystems>

virt-drivers can be able to inspect the kernel in RHEL 9.2 guest.

Comment 5 YongkuiGuo 2023-04-27 08:05:19 UTC
Verified this bug per comment 2.

Comment 7 errata-xmlrpc 2023-11-07 08:25:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (guestfs-tools bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6345


Note You need to log in before you can comment on or make changes to this bug.