Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2000506

Summary: RFE: Support fetching <genid> from VMware guests
Product: Red Hat Enterprise Linux 9 Reporter: Vera <vwu>
Component: libvirtAssignee: Michal Privoznik <mprivozn>
libvirt sub component: General QA Contact: Vera <vwu>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: berrange, cww, dyuan, fjin, hhan, jdenemar, jferlan, jsuchane, juzhang, knoel, lersek, lmen, marcandre.lureau, mbaissac, mprivozn, mtessun, mxie, mzhan, rhod, rjones, tzheng, virt-bugs, virt-maint, xfu, xuzhang, yisun
Version: 9.0Keywords: FutureFeature, TestOnly, Upstream
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-7.6.0 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1598348 Environment:
Last Closed: 2023-02-16 22:24:28 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1118834, 1149445, 1159983, 1591628, 1598348    
Bug Blocks: 910269, 1118825, 1159981, 1477664    

Description Vera 2021-09-02 09:53:54 UTC
+++ This bug was initially created as a clone of Bug #1598348 +++

Description:

VMware supports genid in its vmx metadata files, eg:

vm.genid = "7344585841658099715"
vm.genidX = "-8483171368186442967"

However the <genid> tag does not appear when dumping the XML of this guest>

# virsh -c vpx://root@xx/data/10.73.72.61/?no_verify=1 dumpxml esx6.0-win2012r2-x86_64 
Enter root's password for xx: 
<domain type='vmware' xmlns:vmware='http://libvirt.org/schemas/domain/vmware/1.0'>
  <name>esx6.0-win2012r2-x86_64</name>
  <uuid>564d5c84-172a-0ecd-05c9-14003ce70ae3</uuid>
[etc]

We expect to see <genid> here, as described here:

https://libvirt.org/formatdomain.html#elementsMetadata

--- Additional comment from Red Hat Bugzilla Rules Engine on 2018-07-05 07:49:40 UTC ---


The bug exists on the RHEL9 with libvirt-7.6.0-2.el9.x86_64.

Comment 2 John Ferlan 2021-09-03 16:36:39 UTC
Removing ITR, it's a side effect of cloning bugs... Removing Triaged keyword and assigned directly to Michal since he owns the cloned from bug and will need to handle for RHEL9.

I'm guessing this would already be fixed in 9-Beta, so one could set TestOnly keyword and go directly to ON_QA with whatever patch resolved the issue for 8.5.0

Comment 4 Michal Privoznik 2021-09-06 08:52:12 UTC
(In reply to John Ferlan from comment #2)
> I'm guessing this would already be fixed in 9-Beta, so one could set
> TestOnly keyword and go directly to ON_QA with whatever patch resolved the
> issue for 8.5.0

Indeed. Doing so now.

Comment 5 Vera 2021-09-15 06:20:19 UTC
Verified with the build:
libvirt-7.7.0-1.el9.x86_64


# virsh -c vpx://root.198.169/data/10.73.199.217/?no_verify=1  dumpxml esx7.0-win2019-x86_64
Enter root's password for 10.73.198.169: 
<domain type='vmware' xmlns:vmware='http://libvirt.org/schemas/domain/vmware/1.0'>
  <name>esx7.0-win2019-x86_64</name>
  <uuid>4203fb76-a391-6c63-86cf-7e6a25f6285a</uuid>
  <genid>5cc07933-0fbb-e06c-be9b-a908c5f8121b</genid>
......

The issue has been fixed.

Moving the bug from ON_QA to Verified.

Comment 12 Vera 2022-03-21 08:36:05 UTC
Verified with libvirt-8.0.0-7.el9_0.x86_64

# virsh -c vpx://root.198.169/data/10.73.199.217/?no_verify=1  dumpxml esx7.0-win2019-x86_64
Enter root's password for 10.73.198.169: 
<domain type='vmware' xmlns:vmware='http://libvirt.org/schemas/domain/vmware/1.0'>
  <name>esx7.0-win2019-x86_64</name>
  <uuid>4203fb76-a391-6c63-86cf-7e6a25f6285a</uuid>
  <genid>5cc07933-0fbb-e06c-be9b-a908c5f8121b</genid>

.......

Comment 14 Yash Mankad 2023-02-16 22:24:28 UTC
Closing as CURRENTRELEASE as RHEL 9.0 GA'ed in May 2022