resize.sh -l -v --user administrator@######.local --password "##########" --edge-cluster <cluster_name>
(in this example we are running with the -l option which lists the form factor of a specified cluster)
2025-03-10T13:08:22.423Z [DEBUG connectionpool.py::_make_request::433::MainThread] http://localhost:80 "GET /v1/credentials?resourceType=NSXT_MANAGER HTTP/1.1" 200 None2025-03-10T13:08:22.424Z [INFO vcf_creds.py::init::446::MainThread] workload_name = sap-wcs-012025-03-10T13:08:22.424Z [INFO resize.py::_getServerCredentials::2138::MainThread] Credential retrieval completed.2025-03-10T13:09:22.637Z [ERROR util_log.py::logException::42::MainThread] Exception: Unable to connect to vCenter ###.###.###.###
..............2025-03-10T13:09:22.638Z [ERROR util_log.py::logException::48::MainThread] bt: self.vcConn = VcConnection(self.creds.vcCred.ipAddr,2025-03-10T13:09:22.638Z [ERROR util_log.py::logException::48::MainThread] bt: File "/home/vcf/resizer/vcf_utils/vc_connection.py", line 103, in init2025-03-10T13:09:22.638Z [ERROR util_log.py::logException::48::MainThread] bt: raise Exception("Unable to connect to vCenter %s" % vCenterAddr)2025-03-10T13:09:22.638Z [ERROR resize.py::init::1983::MainThread] ! Did not complete requested operation2025-03-10T13:09:22.638Z [ERROR resize.py::_stopNow::1456::MainThread] Resizing utility is stopping now.
curl -v https://<vCenter_FQDN>
root@########: /home/vcf/resizer #Uses proxy env variable no_proxy = localhost, 127.0.0.1, domain.localTrying <PROXY_IP:PROXY_PORT>...Connected to <PROXY_IP:PROXY_PORT>CONNECT tunnel: HTTP/1.1 negotiation.................CONNECT tunnel failed, response 503closing connectionFailed to establish a tunnel to <VCENTER_FQDN>HTTP/1.1 503 CONNECT tunnel failed, response 503root@#########: /home/vcf/resizer #
VCF 5.x
Run: printenv | grep -i proxy
http_proxy=http://<proxy_IP>:<proxy_port> <---!https_proxy=http://<proxy_IP>:<proxy_port> <---!no_proxy=localhost,###.###.###.###,domain.local
unset https_proxyunset http_proxy