"Error creating bean with name 'cassandraClient'" error when starting a Cloud Director Appliance
book
Article ID: 325632
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
Symptoms:
The Cloud director UI is inaccessible
The/opt/vmware/vcloud-director/logs/cell.log shows the appliance is stuck on startup at 77%.
Within /opt/vmware/vcloud-director/logs/cell-runtime.log, the below error is seen:
Error in module: "com.vmware.vcloud.statsfeeder-application"; Bean: cassandraClient, Message: Error creating bean with name 'cassandraClient': Invocation of init method failed; nested exception is com.datastax.driver.core.exceptions.AuthenticationException: Authentication error on host /#.#.#.#:9042: Unable to perform authentication: Cannot achieve consistency level LOCAL_ONE
Environment
VMware Cloud Director 10.x
Cause
The issue happens when the cassandra service is in an inactive state which prevents the appliance node from fully starting up.
Resolution
To resolve the issue, follow the steps below:
1. Check the status of the Cassandra node(s): sudo service cassandra status 2. Start the Cassandra services in order to allow the VCD appliance to start up: sudo service cassandra start 3. Start the VCD Appliance after Cassandra is online: service vmware-vcd start