Error when trying to rotate the svc-nsx-VC-FQDN service account on SDDC Manager
search cancel

Error when trying to rotate the svc-nsx-VC-FQDN service account on SDDC Manager

book

Article ID: 391549

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

Error when trying to rotate the svc-nsx-VC-FQDN service account on SDDC Manager -

"NSX is integrated with vLCM feature of vSphere system. Cannot disable two way authentication and service account creation functionality"

Environment

VCF 5.1.1

Cause

This error and entry appears in the NSX Manager /var/log/nsx-audit.log at the time of the rotation attempt -

 

Operation status="failure"

"credential_type":"UsernamePasswordLoginCredential"},
"create_service_account":false,
"set_as_oidc_provider":true,
"access_level_for_oidc":"FULL",
"reverse_proxy_https_port":443,
"multi_nsx":false,

 

The value for create_service_account being set to false is causing the issue observed, it needs to be set to true.

Resolution

On the NSX Manager UI -  toggle the create_service_account value to true (yes) as follows:

  • On the NSX Manager UI go to > System > System Overview > Configuration > Fabric > Compute Managers
  • Select vCenter entry
  • Select EDIT
  • "Edit Compute Manager" appears
  • Currently - "Create Service Account" is toggled to "No"
  • Please toggle it to "Yes", click SAVE

Rotation of the svc-nsx-VC-FQDN service account on SDDC Manager is now expected to succeed.

Additional Information