Quantcast
Channel: VMware Communities : Popular Discussions - Open Virtualization Format Tool
Viewing all articles
Browse latest Browse all 34499

OFV export trouble

$
0
0

hello, I am stuck.  Any help is much appreciated.

I am simply trying to export an OVF template from a vm (.vmx) in vCenter 4.1.0 using the OVF Tool.

 

The vm is located here:

<vcenter>/<datacenter>/vm/Build Server/sles11-sp1-x8664/yoshi

 

I can probe the object like this:

[root@r2d2 bin]# ovftool vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi

OVF version:   1.0

VirtualApp:    false

Name:          yoshi

 

Download Size:     Unknown

 

Deployment Sizes:

  Flat disks:     80.00 GB

  Sparse disks:   Unknown

Networks:

  Name:        CVO VM Network

  Description: The CVO VM Network network

 

Virtual Hardware:

  Family:       vmx-07

  Disk Types:   SCSI-lsilogic

Now, I am having problems specifying a target locator to export the ovf template.
I am trying to export the ovf template to the following location:
<vcenter>/<datacenter>/vm/templates/ovf-templates/yoshi.ovf

 

[root@r2d2 bin]# ovftool vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/templates/
Opening VI source: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/Build%20Server/sles11-sp1-x8664/yoshi
Error: Found wrong kind of object (Folder). Possible completions are:
  ovf-templates/
  build-servers/
  db-servers/
  RDI Upgrade Test Template
Completed with errors
[root@r2d2 bin]# ovftool vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/templates/ovf-templates
Opening VI source: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/Build%20Server/sles11-sp1-x8664/yoshi
Error: Found wrong kind of object (Folder). Possible completions are:
Completed with errors

 

[root@r2d2 bin]# ovftool vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/templates/ovf-templates/yoshi.ovf

Opening VI source: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/Build%20Server/sles11-sp1-x8664/yoshi

Error: Locator does not refer to an object: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/templates/ovf-templates/yoshi.ovf

Completed with errors

Can someone help identify the correct target locator?

I have also tried the following host path:

 

[root@r2d2 bin]# ovftool vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/host/R\&D

Opening VI source: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/Build%20Server/sles11-sp1-x8664/yoshi

Opening VI target: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/host/R&D

Error: No target datastore specified. Possible completions:

  DespinaLS

  DevVMs

  NFS Install

  VM template backup

  dominator-nfs-install

  nfs-ds1

  puffinSanMedia

  skillet-ds1

  skillet-ds2

Completed with errors

 

[root@r2d2 bin]# ovftool vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/host/R\&D/skillet-ds2

Opening VI source: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/Build%20Server/sles11-sp1-x8664/yoshi

Error: Locator does not refer to an object: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/host/R&D/skillet-ds2

Completed with errors

 

[root@r2d2 bin]# ovftool vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/host/R\&D?ds=[skillet-ds2]

Opening VI source: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/Build%20Server/sles11-sp1-x8664/yoshi

Error: Datacenter object not found

Completed with errors

[root@r2d2 bin]# ovftool vi:// <user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi vi:// <user>:<password>@helios.blue.roguewave.com/Corvallis/host/R\&D?ds=[skillet-ds2]ovfs
Opening VI source: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/Build%20Server/sles11-sp1-x8664/yoshi
Error: Datacenter object not found
Completed with errors
Any thoughts or suggestions are welcome.
Thanks,
Bryan

Viewing all articles
Browse latest Browse all 34499

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>