After Upgrading the Avi controller to 30.2.2, cloud status is failing with "Bad Gateway" Error
[admin:##-##-##-##]: > show cloud <cloud name> status
+-------+-----------------------------+
| Field | Value |
+-------+-----------------------------+
| state | CLOUD_STATE_FAILED
| reason| Head BAD Gateway
+-------+-----------------------------+
>> Adding new Vcenter/NSX cloud also fails with "Bad Gateway Error"
Other Possible Errors due to Proxy Configuration:
>> Cloud status is down with "HEAD <vcenter/NSX URL > Service Unavailable error"
Cloud: Vcenter/NSX cloud
Version: 30.2.1 & 30.2.2 & 30.2.3
From the controller CLI, verify if the any proxy configuration is present using below command.
Command: show systemconfiguration
[admin:##-##-##-##]: > show systemconfiguration | grep "proxy"
search for "proxy_configuration" string from the command output.
"proxy_configuration": {
"host": "abc.com",
"port": 443
}
Steps to remove proxy configuration:
>> Please run below commands to remove the proxy_configuration.
[admin:##-##-##-##]: > configure systemconfiguration
[admin:##-##-##-##]: systemconfiguration> no proxy_configuration
[admin:##-##-##-##]: systemconfiguration> save