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.
Can reproduce the bug on rhel7 with builds:
libvirt-4.5.0-10.el7_6.4.x86_64
qemu-kvm-rhev-2.12.0-18.el7_6.3.x86_64
+++ This bug was initially created as a clone of Bug #1677608 +++
Description of problem:
Libvirt cannot get disk info of the guest with sata disk installed on VMware
Version-Release number of selected component (if applicable):
libvirt-4.5.0-21.module+el8+2777+e17f6250.x86_64
qemu-kvm-2.12.0-61.module+el8+2786+5afd5ae3.x86_64
How reproducible:
100%
Steps to reproduce:
1.Prepare a guest with sata disk on ESX6.5 and make sure the guest can boot normally,pls refer to screenshot 1
2. Check the guest's xml info
# virsh -c vpx://root.73.141/data/10.73.196.89/?no_verify=1 dumpxml esx6.5-rhel7.6-sata
Enter root's password for 10.73.73.141:
<domain type='vmware' xmlns:vmware='http://libvirt.org/schemas/domain/vmware/1.0'>
<name>esx6.5-rhel7.6-sata</name>
<uuid>422c3051-9921-378a-b991-d9ec680abd3e</uuid>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>1</vcpu>
<cputune>
<shares>1000</shares>
</cputune>
<os>
<type arch='x86_64'>hvm</type>
</os>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<interface type='bridge'>
<mac address='00:50:56:ac:94:8c'/>
<source bridge='VM Network'/>
<model type='vmxnet3'/>
</interface>
<video>
<model type='vmvga' vram='8192' primary='yes'/>
</video>
</devices>
<vmware:datacenterpath>data</vmware:datacenterpath>
<vmware:moref>vm-663</vmware:moref>
</domain>
Actual results:
As above description
Expected results:
Libvirt can get disk info of the guest with sata disk installed on VMware
Additional info:
1.The bug can reproduce on rhel7
--- Additional comment from liuzi on 2019-02-15 11:00 UTC ---
(In reply to liuzi from comment #0)
> Can reproduce the bug on rhel7 with builds:
> libvirt-4.5.0-10.el7_6.4.x86_64
> qemu-kvm-rhev-2.12.0-18.el7_6.3.x86_64
>
> +++ This bug was initially created as a clone of Bug #1677608 +++
>
> Description of problem:
> Libvirt cannot get disk info of the guest with sata disk installed on VMware
>
> Version-Release number of selected component (if applicable):
> libvirt-4.5.0-21.module+el8+2777+e17f6250.x86_64
> qemu-kvm-2.12.0-61.module+el8+2786+5afd5ae3.x86_64
No relationship with qemu-kvm here, since the hypervisor is vmware.
>
> How reproducible:
> 100%
>
> Steps to reproduce:
> 1.Prepare a guest with sata disk on ESX6.5 and make sure the guest can boot
> normally,pls refer to screenshot 1
>
> 2. Check the guest's xml info
> # virsh -c vpx://root.73.141/data/10.73.196.89/?no_verify=1 dumpxml
> esx6.5-rhel7.6-sata
> Enter root's password for 10.73.73.141:
> <domain type='vmware'
> xmlns:vmware='http://libvirt.org/schemas/domain/vmware/1.0'>
> <name>esx6.5-rhel7.6-sata</name>
> <uuid>422c3051-9921-378a-b991-d9ec680abd3e</uuid>
> <memory unit='KiB'>2097152</memory>
> <currentMemory unit='KiB'>2097152</currentMemory>
> <vcpu placement='static'>1</vcpu>
> <cputune>
> <shares>1000</shares>
> </cputune>
> <os>
> <type arch='x86_64'>hvm</type>
> </os>
> <clock offset='utc'/>
> <on_poweroff>destroy</on_poweroff>
> <on_reboot>restart</on_reboot>
> <on_crash>destroy</on_crash>
> <devices>
> <interface type='bridge'>
> <mac address='00:50:56:ac:94:8c'/>
> <source bridge='VM Network'/>
> <model type='vmxnet3'/>
> </interface>
> <video>
> <model type='vmvga' vram='8192' primary='yes'/>
> </video>
> </devices>
> <vmware:datacenterpath>data</vmware:datacenterpath>
> <vmware:moref>vm-663</vmware:moref>
> </domain>
>
> Actual results:
> As above description
>
> Expected results:
> Libvirt can get disk info of the guest with sata disk installed on VMware
>
> Additional info:
> 1.The bug can reproduce on rhel7
>
> --- Additional comment from liuzi on 2019-02-15 11:00 UTC ---
Please provide the vmware vm config .vmx file here. Use domxml-from-native and domxml-to-native to convert the native config and libvirt xml, then compare the result.