Unable to deploy OVF in vCenter/vSphere Client

I wanted to import a VM in a vCenter managed vSphere 7 cluster, but during the deployment/import task an error occured!

I checked the the /var/log/vmware/vpxd.log, where I found the following line

Transfer failed: Invalid response code: 403, note that HTTP/s proxy is configured for the transfer.

So this brought me on track to check the proxy server configured ages ago in this vCenter. There were an old HTTP Proxy in place but I needed the new HTTPS capable proxy.

Because of problems in the past, setting proxy servers usinbg the GUI, I went straight to use the command line. I connect to vCenter Server via putty and went to:

/etc/sysconfig/proxy

And set up the new proxy server like this

HTTPS_PROXY="https://homelab.example.com:3128/"

Last but not least you need to restart the vCenter/VCSA to make use of the new proxy server config. You can do it by GUI and reboot the vCenter/VCSA VM or use the command line

service-control --stop --all && service-control --start --all

So after that changes and the reboot I was finally able to import/deploy a VM from an OVF.

Hinterlasse einen Kommentar

Webseite erstellt mit WordPress.com.

Nach oben ↑