VMware Cloud Community
aa2017
Contributor
Contributor

Importing OVF file error

Trying to create a virtual appliance and Importing the OVF file gives me this error. After I changed the memory size to be 8192 it gave me the second error that is checksum. Any ideas guys what am I doing wrong? Also, the IP address and other details will be specified later when the virtual server is up and once I login or should I enter all that before itself, since it is going to be static.

pastedImage_0.png

pastedImage_1.png

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

<Envelope vmw:buildId="build-208167"

          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="opt.vmdk"

        ovf:id="file1"

        ovf:size="525178880" />

</References>

<DiskSection>

  <Info>Virtual disk information</Info>

  <Disk ovf:capacity="50"

        ovf:capacityAllocationUnits="byte * 2^30"

        ovf:diskId="vmdisk1"

        ovf:fileRef="file1"

        ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" />

</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="Citrix XenMobile Server">

  <Info>A virtual machine</Info>

  <Name>Citrix XenMobile Server</Name>

  <ProductSection ovf:class="vami" ovf:instance="XMS" ovf:required="false">

    <Info>VAMI Properties</Info>

    <Category>Networking Properties</Category>

    <Property ovf:key="gateway" ovf:userConfigurable="true" ovf:type="string">

      <Label>Default Gateway</Label>

      <Description>The default gateway address for this VM. Leave blank if DHCP is desired.</Description>

    </Property>

    <Property ovf:key="DNS" ovf:userConfigurable="true" ovf:type="string">

      <Label>DNS</Label>

      <Description>The domain name servers for this VM (comma separated). Leave blank if DHCP is desired.</Description>

    </Property>

    <Property ovf:key="ip0" ovf:userConfigurable="true" ovf:type="string">

      <Label>Network 1 IP Address</Label>

      <Description>The IP address for this interface. Leave blank if DHCP is desired.</Description>

    </Property>

    <Property ovf:key="netmask0" ovf:userConfigurable="true" ovf:type="string">

      <Label>Network 1 Netmask</Label>

      <Description>The netmask or prefix for this interface. Leave blank if DHCP is desired.</Description>

    </Property>

  </ProductSection>

  <ProductSection ovf:class="vm" ovf:required="false">

    <Info>VM specific properties</Info>

    <Property ovf:key="vmname" ovf:type="string" ovf:value="XMS"/>

  </ProductSection>

  <OperatingSystemSection ovf:id="99" vmw:osType="otherLinux64Guest">

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

    <Description>Linux</Description>

  </OperatingSystemSection>

  <VirtualHardwareSection ovf:transport="com.vmware.guestInfo" ovf:required="false">

    <Info>Virtual hardware requirements</Info>

    <System>

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

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

      <vssd:VirtualSystemIdentifier>Citrix XenMobile Server</vssd:VirtualSystemIdentifier>

      <vssd:VirtualSystemType>vmx-07</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>8192MB of memory</rasd:ElementName>

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

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

      <rasd:VirtualQuantity>8192</rasd:VirtualQuantity>

    </Item>

    <Item>

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

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

      <rasd:ElementName>scsi0</rasd:ElementName>

      <rasd:InstanceID>3</rasd:InstanceID>

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

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

    </Item>

    <Item>

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

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

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

      <rasd:Description>VmxNet3 ethernet adapter on "VM Network"</rasd:Description>

      <rasd:ElementName>ethernet0</rasd:ElementName>

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

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

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

    </Item>

    <Item>

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

      <rasd:ElementName>scsi0:0</rasd:ElementName>

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

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

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

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

    </Item>

  </VirtualHardwareSection>

</VirtualSystem>

</Envelope>

0 Kudos
1 Reply
continuum
Immortal
Immortal

>After I changed the memory size to be 8192 it gave me the second error that is checksum.

The checksum will no longer match if you modify the ovf-file.

Either you rebuild the OVA/OVF from scratch or you  import the vmdks with vmkfstools -i and create the vmx-file manually.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos