VMware Cloud Community
ncekic
Contributor
Contributor

OVFTOOL Locator does not refer to an objecr

Hey Community,

i´try to use ovftool to deploy an OVA appliance inside the vcenter. I get an error:

Error: Locator does not refer to an object: vi://administrator%40vsphere.local@myvcenter.domain.com:443/test/vm/template/vmware/

Here is my command:

ovftool --acceptAllEulas -ds=DATASTORE_A_001 --net:"vxw-dvs-111-virtualwire-10-sid-100067-LS-A0-1-VMware" --deploymentOption=tiny --diskMode=thin "C:\tmp\test_OVA.ova" vi://myvcenter.domain.com/test/vm/template/vmware

I have also tried to post the vi://.... in " " but that also don´t work. Also tried to use an admin user without @. No success. Even if i try to connect over the ovftool to the vcenter i get the above named error. Command: ovftool vi://administrator%40vsphere.local@myvcenter.domain.com/test/vm/template/vmware

Any idea whats the problem????

Also if i want to post in the command, DNS, Gateway, IP i do not have all informations. The "ClassID" and the "InstanceID" are missing when i execute:

ovftool "C:\tmp\test_OVA.ova"

The command should be like this i need

ovftool.exe --acceptAllEulas -ds="datastore1" \

--net:"Isolated Network"="DMZ" \

--prop:"vami.gateway.vSphere_Data_Protection_5.8"="10.0.2.1" \

--prop:"vami.DNS.vSphere_Data_Protection_5.8"="10.0.1.254" \

--prop:"vami.ip0.vSphere_Data_Protection_5.8"="10.0.2.150" \

--prop:"vami.netmask0.vSphere_Data_Protection_5.8"="255.255.255.0" \

\\nas\data\nfs\VMWare\vSphereDataProtection-5.8.ova \

vi://vcsa.domain.com/datacentername/host/clustername

I only get this informations when executing: ovftool "C:\tmp\test_OVA.ova"

OVF version:   1.0

VirtualApp:    false

Name:          Ops-Manager

Version:       2.3-build.258

Vendor:        Pivotal

Annotation:  Ops Manager for Pivotal Cloud Foundry

             installs and manages PCF products and services.

Download Size:  3.96 GB

Deployment Sizes:

  Flat disks:   160.00 GB

  Sparse disks: Unknown

Networks:

  Name:        Network 1

  Description: Logical network used by this appliance.

Virtual Machines:

  Name:               FAKE_FILENAME

  Operating System:   otherguest

  Virtual Hardware:

    Families:         vmx-09

    Number of CPUs:   1

    Cores per socket: 1

    Memory:           8.00 GB

    Disks:

      Index:          0

      Instance ID:    5

      Capacity:       160.00 GB

      Disk Types:     SCSI-lsilogic

    NICs:

      Adapter Type:   E1000

      Connection:     Network 1

Properties:

  Key:         ip0

  Label:       IP Address

  Type:        string

  Description: The IP address for the Ops Manager. Leave blank if DHCP is

               desired.

  Key:         netmask0

  Label:       Netmask

  Type:        string

  Description: The netmask for the Ops Manager's network. Leave blank if DHCP

               is desired.

  Key:         gateway

  Label:       Default Gateway

  Type:        string

  Description: The default gateway address for the Ops Manager's network. Leave

               blank if DHCP is desired.

  Key:         DNS

  Label:       DNS

  Type:        string

  Description: The domain name servers for the Ops Manager (comma separated).

               Leave blank if DHCP is desired.

  Key:         ntp_servers

  Label:       NTP Servers

  Type:        string

  Description: Comma-delimited list of NTP servers

  Key:         admin_password

  Label:       Admin Password

  Type:        password

  Description: This password is used to SSH into the Ops Manager. The username

               is 'ubuntu'. One or both of Admin Password and SSH Key is

               required.

  Key:         public_ssh_key

  Label:       Public SSH Key

  Type:        string

  Description: The Public SSH Key is used to allow SSHing into the Ops Manager

               with your private ssh key. The username is 'ubuntu'. One or both

               of Admin Password and SSH Key is required.

  Key:         custom_hostname

  Label:       Custom Hostname

  Type:        string

  Description: This will be set as the hostname on the VM. Default:

               'pivotal-ops-manager'.

Tags (2)
0 Kudos
0 Replies