Hi everyone,
When I tried to launch the deploy command without indicating the host domain (scivsd05), the following error was launched:
ovftool "X:logToConsole" "datastore=myds" "network=mynet" "machineOutput" --name="test13" test.ova "vi://user:pass@vcenter.domain.lan/<mydc>/host/<mycluster>/scivsd05"
2014-12-02T16:11:24.881+01:00 verbose Curl_perform error code 6 (Couldn't resolve host name)
2014-12-02T16:11:24.882+01:00 verbose CURL error buffer: Could not resolve host: scivsd05 (Domain name not found)
2014-12-02T16:11:24.882+01:00 verbose Connection error during upload
2014-12-02T16:11:24.882+01:00 verbose Connection error, sleep then retry (10 remaining)
If I indicate the host domain, then an "Locator does not refer to an object" error is launched:
ovftool "X:logToConsole" "datastore=myds" "network=mynet" "machineOutput" --name="test13" test.ova "vi://user:pass@vcenter.domain.lan/<mydc>/host/<mycluster>/scivsd05.domain.lan"
+ <Type>ovftool.locator.object</Type>
+ Locator does not refer to an object: vi://userr@vcenter.domain.lan:443/<mydc>/host/<mycluster>/scivsd05.domain.lan
+ vi://userr@vcenter.domain.lan:443/<mydc>/host/<mycluster>//scivsd05.domain.lan
The name resolution for the ESXi host "scivsd05.domain.lan" is correct from both machines, the vCenter machine and the machine where OVFTool is installed.
Any idea? Thanks in advance!
When I tried to launch the deploy command without indicating the host domain (scivsd05), the following error was launched:
ovftool "X:logToConsole" "datastore=myds" "network=mynet" "machineOutput" --name="test13" test.ova "vi://user:pass@vcenter.domain.lan/<mydc>/host/<mycluster>/scivsd05"
2014-12-02T16:11:24.881+01:00 verbose Curl_perform error code 6 (Couldn't resolve host name)
2014-12-02T16:11:24.882+01:00 verbose CURL error buffer: Could not resolve host: scivsd05 (Domain name not found)
2014-12-02T16:11:24.882+01:00 verbose Connection error during upload
2014-12-02T16:11:24.882+01:00 verbose Connection error, sleep then retry (10 remaining)
If I indicate the host domain, then an "Locator does not refer to an object" error is launched:
ovftool "X:logToConsole" "datastore=myds" "network=mynet" "machineOutput" --name="test13" test.ova "vi://user:pass@vcenter.domain.lan/<mydc>/host/<mycluster>/scivsd05.domain.lan"
+ <Type>ovftool.locator.object</Type>
+ Locator does not refer to an object: vi://userr@vcenter.domain.lan:443/<mydc>/host/<mycluster>/scivsd05.domain.lan
+ vi://userr@vcenter.domain.lan:443/<mydc>/host/<mycluster>//scivsd05.domain.lan
The name resolution for the ESXi host "scivsd05.domain.lan" is correct from both machines, the vCenter machine and the machine where OVFTool is installed.
Any idea? Thanks in advance!