Bug 1508874

Summary: virt-v2v: warning: ova disk has an unknown VMware controller type (20)
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ptoscano, rbalakri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-02 13:56:27 UTC Type: Bug
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:    
Bug Blocks: 1510801    
Attachments:
Description Flags
RHEL7_1_with_MAC.ovf none

Description Richard W.M. Jones 2017-11-02 12:31:37 UTC
Created attachment 1347013 [details]
RHEL7_1_with_MAC.ovf

Description of problem:

When converting an OVA supplied as a test case for another bug
(bug 1506572), virt-v2v prints this warning:

  virt-v2v: warning: ova disk has an unknown VMware controller type (20), 
  please report this as a bug supplying the *.ovf file extracted from the ova

The relevant OVF XML fragment is:

      <Item>
        <rasd:Address>0</rasd:Address>
        <rasd:Description>SATA Controller</rasd:Description>
        <rasd:ElementName>SATA controller 0</rasd:ElementName>
        <rasd:InstanceID>3</rasd:InstanceID>
        <rasd:ResourceSubType>vmware.sata.ahci</rasd:ResourceSubType>
        <rasd:ResourceType>20</rasd:ResourceType>
        <vmw:Config ovf:required="false" vmw:key="slotInfo.pciSlotNumber" vmw:value="33"/>
      </Item>

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

virt-v2v 1.37.31

How reproducible:

100%

Steps to Reproduce:
1. virt-v2v -i ova RHEL7_with_MAC.tar -o disk -os /var/tmp -of qcow2

I will attach the OVF to this bug.  The OVA file is too large
to attach.

Comment 1 Richard W.M. Jones 2017-11-02 13:05:02 UTC
Patch posted:
https://www.redhat.com/archives/libguestfs/2017-November/msg00002.html