VMware Cloud Community
etgoh
Contributor
Contributor

Error in uploading to vCloud using ovftool

Hi,

     I try to upload a physical server image to vcloud but it keep returning this error "Invalid response from Server"

>ovftool -o --net:"bridged=myNetwork" --ipAllocationPolicy=transientPolicy winphysical.ovf "vcloud://username:password@s1.myvcloud.net/?org=MyOrg&vapp=myTest&vdc=MyVDC&catalog=MyCatalog"
Opening OVF source: winphysical.ovf
The manifest validates
Opening vCloud target: vcloud://username@s1.myvcloud.net:443/
Error: Invalid response from server
Completed with errors

The ovftool version is 3.01 and the vcloud is 1.5.

I have also attahed the ovf file.

Thank you.
Regards,

ET Goh

0 Kudos
2 Replies
admin
Immortal
Immortal

Can you try without the --ipAllocationPolicy option?

The error message indicates that OVF Tool received a HTTP response that it did not understand (or that contained an error).

To debug what went wrong in vCloud you have to enable logging in OVF Tool or take a look at the vCloud cell's log.

To enable logging in OVF Tool use these options:

ovftool --X:logToConsole

ovftool --X:logFile=my.log

ovftool --X:logLevel=trivia

cf.

ovftool --help debug

0 Kudos
etgoh
Contributor
Contributor

Thanks. I turn on the log and it is helpful for my troubleshooting since I dont have the access to the vCloud infrastracture. End up the service provider is running out of cpu cycles and after they added more cpu my problem goes away.

0 Kudos