This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
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 2211980 - virt-what detects Nutanix hardware as VM
Summary: virt-what detects Nutanix hardware as VM
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: virt-what
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: YongkuiGuo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-02 20:28 UTC by Scott Yeager
Modified: 2023-09-22 17:52 UTC (History)
8 users (show)

Fixed In Version: virt-what-1.25-4.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-22 17:52:44 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-7533 0 None Migrated None 2023-09-22 17:52:38 UTC
Red Hat Issue Tracker RHELPLAN-158890 0 None None None 2023-06-02 20:37:24 UTC

Description Scott Yeager 2023-06-02 20:28:41 UTC
Description of problem:

Detection of nutanix_ahv erroneously includes bare metal systems including Nutanix hardware. This is because the current test only looks for a 'Manufacturer: Nutanix' match in the DMI info.

For example, a system based on Nutanix NX-T00-4NL3-G5 hardware includes this in the DMI output:

Manufacturer: Nutanix
Product Name: NX-T00-4NL3-G5

This could be resolved by also matching the product name for AHV:

Manufacturer: Nutanix
Product Name: AHV

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

1.25

Comment 1 Shaoyu Shang 2023-06-05 02:53:15 UTC
Checked this on our DELL hardware, didn't observed it:

# dmidecode | grep -A 10 "System Information" | grep -E "Manufacturer|Product Name"
        Manufacturer: Nutanix
        Product Name: AHV

Comment 2 Richard W.M. Jones 2023-06-05 08:56:14 UTC
(In reply to Shaoyu Shang from comment #1)
> Checked this on our DELL hardware, didn't observed it:
> 
> # dmidecode | grep -A 10 "System Information" | grep -E
> "Manufacturer|Product Name"
>         Manufacturer: Nutanix
>         Product Name: AHV

This is on baremetal or in a VM?

Comment 3 Shaoyu Shang 2023-06-05 09:20:17 UTC
(In reply to Richard W.M. Jones from comment #2)
> (In reply to Shaoyu Shang from comment #1)
> > Checked this on our DELL hardware, didn't observed it:
> > 
> > # dmidecode | grep -A 10 "System Information" | grep -E
> > "Manufacturer|Product Name"
> >         Manufacturer: Nutanix
> >         Product Name: AHV
> 
> This is on baremetal or in a VM?

This is from RHEL9 guest VM. This RHEL9 VM in running on Nutanix AHV, and the Nutanix AHV is running on DELL servers.

Comment 4 Shaoyu Shang 2023-06-05 09:42:58 UTC
To be more clearly, this is the outputs from AHV which is running on my DELL hardware:
  # dmidecode | grep -A 10 "System Information" | grep -E "Manufacturer|Product Name"
          Manufacturer: Dell Inc.
          Product Name: PowerEdge R740xd

And this is the outputs in the RHEL9 guest VM which is running on AHV:
  # dmidecode | grep -A 10 "System Information" | grep -E "Manufacturer|Product Name"
          Manufacturer: Nutanix
          Product Name: AHV
  
  # virt-what 
  nutanix_ahv
  redhat
  kvm

@yeagersm, are you able to provide these outputs in your test bed?

Comment 5 Richard W.M. Jones 2023-06-05 09:48:56 UTC
My understanding of this bug is that Nutanix make hardware (news to me):

https://www.nutanix.com/products/hardware-platforms/specsheet
https://portal.nutanix.com/page/documents/details/?targetId=System-Specs-G4-Multinode%3ASystem-Specs-G4-Multinode

When virt-what is run on baremetal it sees "Manufacturer: Nutanix" and
thinks this is the Nutanix AHV hypervisor (which it is not).

There are still some things I'm confused over.  Does this Nutanix
hardware run AHV on top and then guests in that?  Does the Nutanix
hardware run anything directly without a hypervisor (containers? partitioned VMs?)

Comment 6 Shaoyu Shang 2023-06-05 10:20:12 UTC
Hi Richard,

> When virt-what is run on baremetal it sees "Manufacturer: Nutanix" and
> thinks this is the Nutanix AHV hypervisor (which it is not).
In my DELL hardware, run "virt-what" in the AHV didn't return any value.


> There are still some things I'm confused over.  Does this Nutanix
> hardware run AHV on top and then guests in that?  
Yes, we can install Nutanix AHV on any qualified hardware include the Nutanix hardware, and then we can install RHEL guest VMs on the AHV.

AHV is a el7 based KVM hypervisor.


> Does the Nutanix hardware run anything directly without a hypervisor (containers? partitioned
> VMs?)
I'm not quiet sure, but the Nutanix hardware is still x86 based servers.

Comment 7 Scott Yeager 2023-06-06 05:29:11 UTC
> @yeagersm, are you able to provide these outputs in your test bed?

Yes, the only output seen is:

nutanix_ahv

> When virt-what is run on baremetal it sees "Manufacturer: Nutanix" and thinks this is the Nutanix AHV hypervisor (which it is not).

That is correct.

> Does this Nutanix hardware run AHV on top and then guests in that?

Not necessarily. As Shaoyu mentioned, it is x86 based server hardware. In the case I'm working with, there is no mention of AHV in the DMI data, but there are plenty of references to physical hardware components (SuperMicro mainboard and PSU, Intel ethernet and Xeon CPU). It does seem that these systems ship with some "factory installed software" which might include AHV. Otherwise, they appear to be standard systems that can run any OS on the bare metal.

Comment 9 Richard W.M. Jones 2023-06-07 09:15:25 UTC
Fixed upstream in:
http://git.annexia.org/?p=virt-what.git;a=commitdiff;h=eeb7d8a1e7c73fc9c5b4e987d92a04136d61b07d

Note this needs QA ACK from someone before it can be added to RHEL.  If you
(Scott) are able to QA a preview package that we will build then that
could help.

Comment 10 Richard W.M. Jones 2023-06-08 12:04:37 UTC
Scott, could you please try the proposed version here and report back
if this fixes the problem on the baremetal Nutanix hardware.  These
RPMs should be installable on either RHEL or CentOS 9:

https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=2305466

Comment 11 Richard W.M. Jones 2023-06-08 12:05:19 UTC
Sorry wrong link, it should be:
https://kojihub.stream.centos.org/koji/buildinfo?buildID=33583

Comment 12 Scott Yeager 2023-06-09 02:27:09 UTC
Thanks Richard. I'll arrange to test the preview version on the Nutanix hardware and report back with the result.

Comment 14 Richard W.M. Jones 2023-06-21 08:34:55 UTC
Scott, were you able to test the new package?  If you have problems downloading it,
or are unable to test it, please let us know.

Comment 15 Scott Yeager 2023-06-21 21:54:52 UTC
Hi Richard,

I'm working with the owner of the affected hardware to test the new version, since it's not under my control. Hoping to have that completed in the next day or two. Thanks.

Comment 18 Richard W.M. Jones 2023-07-19 07:45:33 UTC
If we can't test it this week I'll move the bug to RHEL 9.4.

Comment 19 YongkuiGuo 2023-07-19 07:49:39 UTC
Hi Scott,

Is there any progress on the verification?

Comment 20 Scott Yeager 2023-07-19 20:10:07 UTC
Hi, I am following up with the hardware owner about completing the test. Will post an update here if they confirm it can be done this week.

Comment 23 Richard W.M. Jones 2023-08-02 09:04:59 UTC
The last possible date to test this is 28th Aug, otherwise it'll get moved
to RHEL 9.4.

Comment 27 Richard W.M. Jones 2023-08-16 09:16:21 UTC
I moved this to 9.4 since I'm going on holiday for most of the rest of the month.

Comment 29 RHEL Program Management 2023-09-22 17:51:57 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 30 RHEL Program Management 2023-09-22 17:52:44 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


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