Error "Login to cloud with provided credentials failed" error when validating a vCD endpoint.
search cancel

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

  1. Enable AMQP Brokers - Notifications
    1. Log into vCD UI, go to Extensibility, and enable the AMQP Brokers - Notifications.
  2. Validate TCA-CP DB sync:
    1. SSH to the TCA-CP.
    2. Query the org count:
      mongo hybridity
      > db.Org.count()

      If the cout is 0, the DBs are not synched. Proceed with the next step.

    3. Reset the VcdInventoryRefreshStatus table:
      mongo hybridity
      db.VcdInventoryRefreshStatus.drop()
  3. Restart the TCA Application service:
    1. Go to TCA-Manager UI > Appliance configuration >  Application service
  4. Confirm the count has increased
    1. SSH to the TCA-CP.
    2. Query the org count:
      mongo hybridity
      > db.Org.count()
  5. Try validating the vCD endpoint again through the TCA-M to complete the configuration.