When attempting to apply transport node profile to an NSX prepared cluster that is enabled with vSphere Lifecycle Manager (vLCM), the process may fail with the following symptoms:
Pushing NSX depot(s) on Compute Manager failed with error: org.springframework.web.client.HttpClientErrorException$Unauthorized: 401 Unauthorized.NSX is integrated with vLCM feature of vSphere system. Cannot disable two way authentication and service account creation functionality. (Error code: 26707).VMware NSX
This issue occurs because Enable Trust and Create Service Account are mandatory security configurations for NSX integration with vLCM. The "Unauthorized" error typically stems from an authentication drift or stale credentials between the NSX Manager and the vCenter Server, preventing the automated deployment of NSX components.
To resolve this issue, force a refresh of the authentication trust by re-entering the compute manager credentials:
[email protected]) and Password.The status should now transition to Prepared as the NSX depot is successfully pushed to the hosts.