Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1598348

Summary: RFE: Support fetching <genid> from VMware guests
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Richard W.M. Jones <rjones>
Component: libvirtAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED WONTFIX QA Contact: mxie <mxie>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: ---CC: awels, berrange, cww, dyuan, fjin, hhan, jferlan, jsuchane, juzhang, knoel, lersek, lmen, marcandre.lureau, mbaissac, mtessun, mxie, mzhan, rhod, rjones, tzheng, virt-bugs, virt-maint, xfu, xuzhang, yisun
Target Milestone: rcKeywords: FutureFeature, Reopened, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: vmgenid-libvirt Environment:
Last Closed: 2021-12-31 07:26:18 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, 1591628    
Bug Blocks: 910269, 1477664, 1118825, 1159981    

Description Richard W.M. Jones 2018-07-05 07:48:30 UTC
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

Comment 2 Daniel Berrangé 2018-07-05 07:59:59 UTC
Hmm, genid should be a UUID, which means 16 unsigned bytes.  I guess vm.genid and vm.genidX are 8 byte signed integers which are supposed to be combined to form the full 16 byte UUID.

Comment 6 RHEL Program Management 2021-02-15 07:40:10 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 7 Richard W.M. Jones 2021-02-15 09:07:54 UTC
I'm sorry, this bug was closed in error by the "stale bugs" process.

Comment 11 RHEL Program Management 2021-12-31 07:26:18 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.