Error "Login to cloud with provided credentials failed" error when validating a vCD endpoint.
book
Article ID: 345715
calendar_today
Updated On:
Products
VMware Telco Cloud Automation
Issue/Introduction
Symptoms: Unable to register vCD endpoint
Log example: 2021-01-14 12:09:49.875 UTC [main-EventThread, , ] INFO c.v.v.h.a.a.entity.AmqpConfiguration- Setting amqp secure to false 2021-01-14 12:09:50.056 UTC [main-EventThread, , ] ERROR c.v.v.h.s.v.VcdInventoryService- Notifications are not enabled in VCD: https://vim-portal.nfv.x.net/api 2021-01-14 12:09:50.057 UTC [main-EventThread, , ] ERROR c.v.v.h.s.v.VcdInventoryService- error starting RMQ ..Notifications are not enabled in VCD: https://vim-portal.nfv.x.net/api 2021-01-14 12:09:50.057 UTC [main-EventThread, , ] INFO c.v.v.h.s.v.VcdInventoryService- VcdInventoryService Startup completed.
Environment
1.x
Cause
AMQP Brokers - Notifications are not enabled in vCD
TCA-CP mongo DB not in sync with the vCD DB.
Resolution
Enable AMQP Brokers - Notifications
Log into vCD UI, go to Extensibility, and enable the AMQP Brokers - Notifications.
Validate TCA-CP DB sync:
SSH to the TCA-CP.
Query the org count: mongo hybridity > db.Org.count()
If the cout is 0, the DBs are not synched. Proceed with the next step.
Reset the VcdInventoryRefreshStatus table: mongo hybridity db.VcdInventoryRefreshStatus.drop()
Restart the TCA Application service:
Go to TCA-Manager UI > Appliance configuration > Application service
Confirm the count has increased
SSH to the TCA-CP.
Query the org count: mongo hybridity > db.Org.count()
Try validating the vCD endpoint again through the TCA-M to complete the configuration.