Error: "Audit user credentials provided for NSX Manager Node nsx account is not valid." when creating a Workload Domain in VCF 9.1.1.x
search cancel

Error: "Audit user credentials provided for NSX Manager Node nsx account is not valid." when creating a Workload Domain in VCF 9.1.1.x

book

Article ID: 457392

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • Creating a Workload Domain fails on importing the vCenter
  • The pre-check fails with error: 
    NSX Manager root user credentials
    
    NSX Manager root user credentials
    Description: Check if provided root user credentials for NSX Manager is valid 
    Health Status: 1 objects with error
    
    Error Description:  Audit user credentials provided for NSX Manager Node <node_fqdn> is not valid. 
    Object Impact: Dynamic nsx.sv-#######.##NsxtCluster 
    Remediation:  Please provide the valid Audit user credentials for NSX Manager Node nsx.sv-#######.## and retry. 
  • In the logs under /var/log/vmware/vcf/operationsmanager/operationsmanager.log we can see errors: 
    threadId="precheck-validation2" class="c.v.v.b.n.v.ImportNsxNodesPasswordValidator" method="va
    lidateAuditPassword" line="143"] The provided NSX Audit credentials for NSX nsx.sv-######.## are incorrect
    com.vmware.vapi.std.errors.Unauthorized: Unauthorized (com.vmware.vapi.std.errors.unauthorized) (statusCode:403) => {
        messages = [],
        data =  => {error_message=The credentials were incorrect or the account specified has been locked., details=The specified user's password has expired., error_code=403, module_name=common-services},
        errorType = UNAUTHORIZED,
        challenge = <null>
    }
            at com.vmware.vapi.std.errors.Unauthorized._newInstance2(Unauthorized.java:253)

Environment

  • VCF Operations 9.1.1.x

Cause

  • The provided NSX Audit credentials for NSX account are incorrect

Resolution

  1.  Log in into your NSX Manager UI or CLI using the nsx account (referenced in the errors) to ensure the account is not locked, expired, or using a different password than expected. 
  2. Update credentials in the SDDC Manager --> Security / Password Management screen. Update or rotate the password for the NSX audit component to match the actual active password.

Note: If previously setup password over CLI, but after login the NSX Manager UI with audit user forced to change password again, this behavior is by design and aligns with global security compliance frameworks. Read more at Executing the authorized command "set user audit password" from the admin shell sets the account's last-changed date to Epoch 1970-01-01.