I have run across a problem using the below ovftool versions when uploading a VMX to Virtual Center 6.
VMware ovftool 3.5.2 (build-1880279) <- windows Vmware workstation 10
ovftool --X:logFile=ovftool.log --X:logLevel=verbose --noSSLVerify=true --acceptAllEulas --name=servername --datastore=datastoreName --diskMode=thick --network=networkName --vmFolder=Packer output\packer-centos-6.7-v1.vmx vi://user:password@<IPADDRESS>/<DC>/host/<CLUSTER>/Resources/<RESOURCE GROUP>
errors -
windows verbose logging:
2016-01-07T10:10:05.939-05:00 [20544 verbose 'Default'] OvfTool Environment:
--> /X:connectionReconnectCount = "5"
--> /X:connectionReconnectDelay = "5000"
--> /X:connectionReconnectDelayDouble = "true"
--> /X:connectionRetryCount = "10"
--> /X:httpTimeout = "0"
--> /X:imageReadSize = "262144"
--> /X:logFile = "ovftool.log"
--> /X:logLevel = "verbose"
--> /X:maxNumberOfTermSignals = "5"
--> /X:maxRedirects = "256"
--> /X:maximalDeltaConfSize = "8"
--> /X:maximalDeltaTreeSize = "6"
--> /X:progressSmoothing = "60"
--> /X:useMacNaming = "false"
--> /X:vCloudEnableGuestCustomization = "false"
--> /X:vCloudKeepAliveTimeout = "300"
--> /X:vCloudKeepTemplate = "true"
--> /X:vCloudTimeout = "3600"
--> /X:vimSessionTimeout = "600"
--> /acceptAllEulas = "true"
--> /authdPortSource = "902"
--> /authdPortTarget = "902"
--> /datastore = "datastoreName"
--> /diskMode = "thick"
--> /fencedMode = "bridged"
--> /name = "servername"
--> /network = "network name"
--> /noSSLVerify = "true"
--> /prgPath = "C:\Program Files (x86)\VMware\VMware Workstation\OVFTool"
--> /source = "output\packer-centos-6.7-v1.vmx"
--> /target = "vi://user:pwd@<IPADDRESS>/<DC>/host/<CLUSTER>/Resources/<RESOURCE GROUP>"
--> /vCloudTemplate = "false"
--> /vmFolder = "Packer"
-->
-->
2016-01-07T10:10:05.952-05:00 [20544 verbose 'Default'] Done initializing libs
2016-01-07T10:10:05.952-05:00 [20544 verbose 'Default'] Determining source
2016-01-07T10:10:05.952-05:00 [20544 verbose 'Default'] Determining target
2016-01-07T10:10:05.995-05:00 [20544 verbose 'HttpConnectionPool-000000'] HttpConnectionPoolImpl created. maxPoolConnections = 20; idleTimeout = 900000000; maxOpenConnections = 20; maxConnectionAge = 0
2016-01-07T10:10:06.001-05:00 [20544 verbose 'Default'] Getting http page: https://<IP ADDRESS>/sdk/vimServiceVersions.xml
2016-01-07T10:10:06.001-05:00 [20544 verbose 'Default'] Proxy host
2016-01-07T10:10:06.086-05:00 [19804 verbose 'Default'] CURL: header data removed
2016-01-07T10:10:06.110-05:00 [19804 verbose 'Default'] CURL: header data removed
2016-01-07T10:10:06.110-05:00 [19804 verbose 'Default'] CURL: header data removed
2016-01-07T10:10:06.110-05:00 [19804 verbose 'Default'] CURL: header data removed
2016-01-07T10:10:06.110-05:00 [19804 verbose 'Default'] CURL: header data removed
2016-01-07T10:10:06.110-05:00 [19804 verbose 'Default'] CURL: header data removed
2016-01-07T10:10:06.110-05:00 [19804 verbose 'Default'] CURL: header data removed
2016-01-07T10:10:06.110-05:00 [19804 verbose 'Default'] CURL: header data removed
2016-01-07T10:10:06.111-05:00 [20544 verbose 'Default'] [ViConnection] Using vim API version: 6.0
2016-01-07T10:10:06.120-05:00 [20544 info 'Default'] CoreDump: Writing minidump
2016-01-07T10:10:06.257-05:00 [20544 panic 'Default']
-->
--> Panic: Win32 exception: Access Violation (0xc0000005)
--> Read (0) at address 00000000
--> rip: 0f441a0d rsp: 003af138 rbp: 003af238
--> rax: 003af458 rbx: 00000000 rcx: 03565410
--> rdx: 003af2cc rdi: 00000000 rsi: 00000000
Any help is appreciated.
UPDATE:
i've updated the ovftool from 3.5 to 4.1 and it works