ACDSystemsFelix
Contributor
Contributor

"A required disk image was missing" warning message when deploy OVA on VM vSphere 7.0

When I deploy an OVA file to create new virtual machine on VMWare vSphere 7.0, I got an warning message "A required disk image was missing" in setup wizard.

pastedImage_0.png

Anybody can help me to solve this problem? or give me or suggestion?

5 Replies
a_p_
Leadership
Leadership

Please attach the VM's OVF file to your next reply, and also post a complete list of files in the OVA.

What I can think of is that the exported VM had an ISO image attached, which is not included in the OVA.

André

0 Kudos
ACDSystemsFelix
Contributor
Contributor

Thanks for your replying.

OVF file is attached.

pastedImage_0.png

Please help me to review and let me know what is the problem.

0 Kudos
a_p_
Leadership
Leadership

There's a .nvram file (file2) referenced in the .ovf file that's missing in the file listing.

If you don't have this file, you may try to delete the 2 lines with references to "file2" to see whether this works.

Note that in case you are going to modify file, you need move the .mf (signature) file out of the folder.

André

ACDSystemsFelix
Contributor
Contributor

Thanks for your reply.

I analyzed the OVA file again. And found it is included the ".ovf" file, ".vmdk" file and ".nvram" file in the OVA package. but the ".nvram" didn't list in the Files list when I deploy a virtual Machine from an OVA file .

pastedImage_0.png

File list in the OVA package:

pastedImage_1.png

I don't understand what is the reason.

Anybody can help me to fix this problem?

==========================================================================

======= the .ovf content from the OVA package =====================================

<?xml version="1.0" encoding="UTF-8"?>

<!--Generated by VMware ESX Server, User: root, UTC time: 2015-04-27T09:22:08.441313Z-->

<Envelope vmw:buildId="build-15843807" xmlns="http://schemas.dmtf.org/ovf/envelope/1" xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vmw="http://www.vmware.com/schema/ovf" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <References>

    <File ovf:href="WGCentOS7BaseV22-disk1.vmdk" ovf:id="file1" ovf:size="1302945792"/>

    <File ovf:href="WGCentOS7BaseV22-file1.nvram" ovf:id="file2" ovf:size="8684"/>

  </References>

  <DiskSection>

    <Info>Virtual disk information</Info>

    <Disk ovf:capacity="64" ovf:capacityAllocationUnits="byte * 2^30" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" ovf:populatedSize="2990931968"/>

  </DiskSection>

  <NetworkSection>

    <Info>The list of logical networks</Info>

    <Network ovf:name="VM Network">

      <Description>The VM Network network</Description>

    </Network>

  </NetworkSection>

  <VirtualSystem ovf:id="ACDSeeWorkgroupBaseV2">

    <Info>A virtual machine</Info>

    <Name>ACDSeeWorkgroupBaseV2</Name>

    <OperatingSystemSection ovf:id="107" ovf:version="7" vmw:osType="centos7_64Guest">

      <Info>The kind of installed guest operating system</Info>

    </OperatingSystemSection>

    <VirtualHardwareSection>

      <Info>Virtual hardware requirements</Info>

      <System>

        <vssd:ElementName>Virtual Hardware Family</vssd:ElementName>

        <vssd:InstanceID>0</vssd:InstanceID>

        <vssd:VirtualSystemIdentifier>ACDSeeWorkgroupBaseV2</vssd:VirtualSystemIdentifier>

        <vssd:VirtualSystemType>vmx-17</vssd:VirtualSystemType>

      </System>

      <Item>

        <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>

        <rasd:Description>Number of Virtual CPUs</rasd:Description>

        <rasd:ElementName>2 virtual CPU(s)</rasd:ElementName>

        <rasd:InstanceID>1</rasd:InstanceID>

        <rasd:ResourceType>3</rasd:ResourceType>

        <rasd:VirtualQuantity>2</rasd:VirtualQuantity>

      </Item>

      <Item>

        <rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>

        <rasd:Description>Memory Size</rasd:Description>

        <rasd:ElementName>4096MB of memory</rasd:ElementName>

        <rasd:InstanceID>2</rasd:InstanceID>

        <rasd:ResourceType>4</rasd:ResourceType>

        <rasd:VirtualQuantity>4096</rasd:VirtualQuantity>

      </Item>

      <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="35"/>

      </Item>

      <Item>

        <rasd:Address>0</rasd:Address>

        <rasd:Description>SCSI Controller</rasd:Description>

        <rasd:ElementName>SCSI Controller 0</rasd:ElementName>

        <rasd:InstanceID>4</rasd:InstanceID>

        <rasd:ResourceSubType>VirtualSCSI</rasd:ResourceSubType>

        <rasd:ResourceType>6</rasd:ResourceType>

        <vmw:Config ovf:required="false" vmw:key="slotInfo.pciSlotNumber" vmw:value="160"/>

      </Item>

      <Item ovf:required="false">

        <rasd:Address>0</rasd:Address>

        <rasd:Description>USB Controller (EHCI)</rasd:Description>

        <rasd:ElementName>USB Controller</rasd:ElementName>

        <rasd:InstanceID>5</rasd:InstanceID>

        <rasd:ResourceSubType>vmware.usb.ehci</rasd:ResourceSubType>

        <rasd:ResourceType>23</rasd:ResourceType>

        <vmw:Config ovf:required="false" vmw:key="slotInfo.pciSlotNumber" vmw:value="32"/>

        <vmw:Config ovf:required="false" vmw:key="slotInfo.ehciPciSlotNumber" vmw:value="33"/>

        <vmw:Config ovf:required="false" vmw:key="autoConnectDevices" vmw:value="false"/>

        <vmw:Config ovf:required="false" vmw:key="ehciEnabled" vmw:value="true"/>

      </Item>

      <Item>

        <rasd:Address>1</rasd:Address>

        <rasd:Description>IDE Controller</rasd:Description>

        <rasd:ElementName>VirtualIDEController 1</rasd:ElementName>

        <rasd:InstanceID>6</rasd:InstanceID>

        <rasd:ResourceType>5</rasd:ResourceType>

      </Item>

      <Item>

        <rasd:Address>0</rasd:Address>

        <rasd:Description>IDE Controller</rasd:Description>

        <rasd:ElementName>VirtualIDEController 0</rasd:ElementName>

        <rasd:InstanceID>7</rasd:InstanceID>

        <rasd:ResourceType>5</rasd:ResourceType>

      </Item>

      <Item ovf:required="false">

        <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>

        <rasd:ElementName>VirtualVideoCard</rasd:ElementName>

        <rasd:InstanceID>8</rasd:InstanceID>

        <rasd:ResourceType>24</rasd:ResourceType>

        <vmw:Config ovf:required="false" vmw:key="useAutoDetect" vmw:value="true"/>

        <vmw:Config ovf:required="false" vmw:key="videoRamSizeInKB" vmw:value="16384"/>

        <vmw:Config ovf:required="false" vmw:key="enable3DSupport" vmw:value="false"/>

        <vmw:Config ovf:required="false" vmw:key="use3dRenderer" vmw:value="automatic"/>

        <vmw:Config ovf:required="false" vmw:key="graphicsMemorySizeInKB" vmw:value="262144"/>

      </Item>

      <Item ovf:required="false">

        <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>

        <rasd:ElementName>VirtualVMCIDevice</rasd:ElementName>

        <rasd:InstanceID>9</rasd:InstanceID>

        <rasd:ResourceSubType>vmware.vmci</rasd:ResourceSubType>

        <rasd:ResourceType>1</rasd:ResourceType>

        <vmw:Config ovf:required="false" vmw:key="slotInfo.pciSlotNumber" vmw:value="34"/>

        <vmw:Config ovf:required="false" vmw:key="allowUnrestrictedCommunication" vmw:value="false"/>

      </Item>

      <Item ovf:required="false">

        <rasd:AddressOnParent>0</rasd:AddressOnParent>

        <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>

        <rasd:ElementName>CD-ROM 1</rasd:ElementName>

        <rasd:InstanceID>10</rasd:InstanceID>

        <rasd:Parent>3</rasd:Parent>

        <rasd:ResourceSubType>vmware.cdrom.atapi</rasd:ResourceSubType>

        <rasd:ResourceType>15</rasd:ResourceType>

        <vmw:Config ovf:required="false" vmw:key="connectable.allowGuestControl" vmw:value="true"/>

      </Item>

      <Item>

        <rasd:AddressOnParent>0</rasd:AddressOnParent>

        <rasd:ElementName>Hard Disk 1</rasd:ElementName>

        <rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource>

        <rasd:InstanceID>11</rasd:InstanceID>

        <rasd:Parent>4</rasd:Parent>

        <rasd:ResourceType>17</rasd:ResourceType>

        <vmw:Config ovf:required="false" vmw:key="backing.writeThrough" vmw:value="false"/>

      </Item>

      <Item>

        <rasd:AddressOnParent>7</rasd:AddressOnParent>

        <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>

        <rasd:Connection>VM Network</rasd:Connection>

        <rasd:Description>VmxNet3 ethernet adapter on &quot;VM Network&quot;</rasd:Description>

        <rasd:ElementName>Ethernet 1</rasd:ElementName>

        <rasd:InstanceID>12</rasd:InstanceID>

        <rasd:ResourceSubType>VmxNet3</rasd:ResourceSubType>

        <rasd:ResourceType>10</rasd:ResourceType>

        <vmw:Config ovf:required="false" vmw:key="slotInfo.pciSlotNumber" vmw:value="192"/>

        <vmw:Config ovf:required="false" vmw:key="wakeOnLanEnabled" vmw:value="false"/>

        <vmw:Config ovf:required="false" vmw:key="connectable.allowGuestControl" vmw:value="true"/>

      </Item>

      <vmw:Config ovf:required="false" vmw:key="cpuHotAddEnabled" vmw:value="false"/>

      <vmw:Config ovf:required="false" vmw:key="cpuHotRemoveEnabled" vmw:value="false"/>

      <vmw:Config ovf:required="false" vmw:key="memoryHotAddEnabled" vmw:value="false"/>

      <vmw:Config ovf:required="false" vmw:key="firmware" vmw:value="bios"/>

      <vmw:Config ovf:required="false" vmw:key="cpuAllocation.shares.shares" vmw:value="2000"/>

      <vmw:Config ovf:required="false" vmw:key="cpuAllocation.shares.level" vmw:value="normal"/>

      <vmw:Config ovf:required="false" vmw:key="tools.syncTimeWithHost" vmw:value="false"/>

      <vmw:Config ovf:required="false" vmw:key="tools.afterPowerOn" vmw:value="true"/>

      <vmw:Config ovf:required="false" vmw:key="tools.afterResume" vmw:value="true"/>

      <vmw:Config ovf:required="false" vmw:key="tools.beforeGuestShutdown" vmw:value="true"/>

      <vmw:Config ovf:required="false" vmw:key="tools.beforeGuestStandby" vmw:value="true"/>

      <vmw:Config ovf:required="false" vmw:key="tools.toolsUpgradePolicy" vmw:value="manual"/>

      <vmw:Config ovf:required="false" vmw:key="powerOpInfo.powerOffType" vmw:value="soft"/>

      <vmw:Config ovf:required="false" vmw:key="powerOpInfo.resetType" vmw:value="soft"/>

      <vmw:Config ovf:required="false" vmw:key="powerOpInfo.suspendType" vmw:value="soft"/>

      <vmw:Config ovf:required="false" vmw:key="nestedHVEnabled" vmw:value="false"/>

      <vmw:Config ovf:required="false" vmw:key="vPMCEnabled" vmw:value="false"/>

      <vmw:Config ovf:required="false" vmw:key="virtualICH7MPresent" vmw:value="false"/>

      <vmw:Config ovf:required="false" vmw:key="virtualSMCPresent" vmw:value="false"/>

      <vmw:Config ovf:required="false" vmw:key="flags.vvtdEnabled" vmw:value="false"/>

      <vmw:Config ovf:required="false" vmw:key="flags.vbsEnabled" vmw:value="false"/>

      <vmw:Config ovf:required="false" vmw:key="bootOptions.efiSecureBootEnabled" vmw:value="false"/>

      <vmw:Config ovf:required="false" vmw:key="powerOpInfo.standbyAction" vmw:value="checkpoint"/>

      <vmw:ExtraConfig ovf:required="false" vmw:key="nvram" vmw:value="ovf:/file/file2"/>

      <vmw:ExtraConfig ovf:required="false" vmw:key="svga.autodetect" vmw:value="TRUE"/>

    </VirtualHardwareSection>

  </VirtualSystem>

</Envelope>                                 

0 Kudos
a_p_
Leadership
Leadership

Did you already try to import the template with the four extracted files rather that from the OVA itself?

If this still doesn't work, follow remove the "file2" references from the OVF file (see my previous post) to see whether this works.

Btw. What's the reason for providing two different OVA/OVF files?

André

0 Kudos