When you deploy a new virtual service, the virtual service fails to deploy with the following error message: 'Cloud configuration failed'
The error message can be seen as follows:
You will see the following event in the Virtual Service Events tab:
vCenter/vSphere
> On the controller UI under Infrastructure>Clouds, you will see the following error:
> On the controller bash, you will see the following logs in cloudconnectorgo.INFO under /var/lib/avi/log:
2026-05-xxT11:xx:xx.134Z ERROR vcenter/vcenter_agent.go:99 ServerFaultCode: Cannot complete login due to an incorrect user name or password.
This error is caused due to incorrect username or password configured for the vCenter cloud under Infrastructure>Clouds.
> Please follow the below CLI steps to correct the credentials for the cloud:
[admin:10-x-x-x]: > configure cloud <cloud_name>
[admin:10-91-6-253]: cloud> vcenter_configuration
[admin:10-x-x-x]: cloud:vcenter_configuration> username <username>
[admin:10-x-x-x]: cloud:vcenter_configuration> password <password>
[admin:10-x-x-x]: cloud:vcenter_configuration> save
[admin:10-x-x-x]: cloud> save
> You can also verify if the credentials are correct using the following command:
[admin:10-x-x-x]: verifylogin vcenter host <vcenter-url or IP> username "username" password "password"
If you get the following output, the credentials are correct:
+------+------+-------------------+
| Uuid | Name | Managed Object Id |
+------+------+-------------------+
| - | - | datacenter-3 |
+------+------+-------------------+