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 1679376 - Libvirt cannot get disk info of the guest with sata disk installed on VMware
Summary: Libvirt cannot get disk info of the guest with sata disk installed on VMware
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Pino Toscano
QA Contact: tingting zheng
URL:
Whiteboard:
Depends On: 1677608
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-21 02:48 UTC by liuzi
Modified: 2019-05-07 12:22 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1677608
Environment:
Last Closed: 2019-05-07 12:22:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
esx6.5-rhel7.6-sata.vmx (2.75 KB, text/plain)
2019-03-01 09:00 UTC, liuzi
no flags Details

Description liuzi 2019-02-21 02:48:55 UTC
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 ---

Comment 2 Han Han 2019-02-27 03:34:29 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.

Comment 3 liuzi 2019-03-01 09:00:57 UTC
Created attachment 1539752 [details]
esx6.5-rhel7.6-sata.vmx

Comment 4 Jaroslav Suchanek 2019-05-07 12:22:42 UTC
This will be addressed in the next major release.


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