Root account continuously becomes locked after changing the root password in Cloud Director Availability 4.x
book
Article ID: 315038
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
Symptoms:
After changing the root password on the Cloud Replication Management Appliance, you see the root account is constantly being locked due to invalid login attempts.
In the /opt/vmware/h4/manager/log/manager.log file on the Cloud Replication Management Appliance, you see entries similar to:
2021-03-04 00:08:46.263 ERROR - [e6e06aff-5597-####-####-########d7c-bx] [https-jsse-nio-8443-exec-8] c.v.h.c.controller.BaseErrorController : A request from 10.10.10.10 to /usage-meter/health failed with Full authentication is required to access this resource 401 2021-03-04 00:08:46.270 DEBUG - [7903b233-420b-####-####-########cc2-ai] [https-jsse-nio-8443-exec-9] c.v.h4.cloud.config.SecurityConfig$1 : Request is to process authentication... 2021-03-04 00:08:51.014 WARN - [7903b233-420b-####-####-########cc2-ai] [https-jsse-nio-8443-exec-9] c.v.h.c.system.AppliancePasswordHelper : Incorrect appliance password received! 2021-03-04 00:08:51.014 DEBUG - [7903b233-420b-####-####-########cc2-ai] [https-jsse-nio-8443-exec-9] c.v.h4.cloud.config.SecurityConfig$1 : Authentication request failed: org.springframework.security.authentication.BadCredentialsException: Login failed
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
Environment
VMware Cloud Director Availability 4.x
Cause
This issue can occur when the Cloud Director Availability credentials have not been updated in vCloud Usage Meter and it is still attempting to connect to Cloud Director Availability using the old credentials, locking the root account.
Resolution
To resolve this issue, update the Cloud Director Availability credentials in vCloud Usage Meter.
For more information, see the How do I add VMware Cloud Director Availability instance for metering section of the vCloud Usage Meter documentation.