Upgrading to VMware Telco Cloud Automation (TCA) fails if there are some misconfigurations / user errors within the Active Directory (AD).
This could also happen while a user is configuring AD for TCA 3.1.1.
3.1.1
TCA syncs users and groups locally (using Keycloak DB) to avoid making user-group-membership queries to an external AD.
During this sync, Keycloak would throw an error if any AD object is misconfigured.
eg: userPrincipalName for one user on the AD could be misconfigured.
Procedure 1
If you corrects the AD record the issue is resolved. This procedure is recommended when the issue is identified during TCA Upgrade.
Procedure 2
Note: This procedure is recommended for avoiding the problem altogether
Patch needs to be applied to TCA to ensure that you do not encounter this problem in the environment.
The strategy for the patch is to disable the sync and allow AD to be configured even if some accounts are misconfigured.
This patch changes the behaviour for TCA in the following manner:
TCA 3.1.1 GA (without Patch) |
TCA 3.1 GA (with Patch) |
AD configuration happens with Periodic Sync for AD objects |
AD configuration happens with no periodic sync |
Users are synced to TCA |
Users are not synced to TCA. They are queried on demand |
Groups are synced to TCA |
Groups are not synced to TCA. They are queried on demand |
Validation for ensuring that the Admin User Group exists |
No such validation exists. It is the responsibility of the user to ensure that the Admin User Group exists |
Misconfiguration of an AD user's attributes will be validated during login, and may cause login to fail.
Note: Consider taking a backup / snapshot of the TCA VM, this will help in reverting to the previous state if any issues are encountered while performing the patching operation.
Services that will be upgraded via the patch are:
Please follow the following steps to apply the patch for upgrading the above 2 services: