NsxtCluster Validator 'nsx-import-vms-location-validator' failed internally Failed to validate NSX Manager credentials due to internal error
search cancel

NsxtCluster Validator 'nsx-import-vms-location-validator' failed internally Failed to validate NSX Manager credentials due to internal error

book

Article ID: 450489

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

VCF Installer while importing existing NSX Cluster fails during validation stage with an error that reads, NsxtCluster <nsx manager fqdn>: Validator 'nsx-import-vms-location-validator' failed internally
Remediation: Check the logs and if this issue persists contact VMware support. 

Another error on similar validation check failure is reported as, NsxtCluster <nsx manager fqdn>: Failed to validate NSX Manager credentials due to internal error.
Remediation: Check the /var/log/vmware/vcf/operationsmanager/operationsmanager.log file for more information.

/var/log/vmware/vcf/operationsmanager/operationsmanager.log reports about the placement of the NSX manager virtual machine and states as an error.

YYYY-MM-DDTHH:MIN:SEC ERROR [vcf_om,####,####] [c.v.v.b.p.t.v.SimpleNativeValidator,precheck-validation5] Native validator with name 'import-nsx-nodes-password-validator' failed internally. Reference token: <Token ID>
java.lang.IllegalStateException: Cannot get RemoteEndpoint to the vCenter where the VM is located. This VM is not colocated with vCenter <vCenter FQDN> and the datasource is not yet configured, so MGMT vCenter is not present in the SDDC Manager inventory
        at com.vmware.vcf.baseliner.cross.utils.NativeValidatorDataUtil.getVcRemoteEndpointByVmColocation(NativeValidatorDataUtil.java:483)
        at com.vmware.vcf.baseliner.nsx.validator.ImportNsxNodesPasswordValidator.getHostVcRemoteEndpointForNsx(ImportNsxNodesPasswordValidator.java:220)
        at com.vmware.vcf.baseliner.nsx.validator.ImportNsxNodesPasswordValidator.validateSSHPassword(ImportNsxNodesPasswordValidator.java:103)
        at com.vmware.vcf.baseliner.nsx.validator.ImportNsxNodesPasswordValidator.runValidation(ImportNsxNodesPasswordValidator.java:77)
        at com.vmware.vcf.baseliner.platform.targetstate.validations.SimpleNativeValidator.validate(SimpleNativeValidator.java:44)
        at com.vmware.vcf.baseliner.platform.targetstate.validations.runner.NativeValidatorRunner.runCheck(NativeValidatorRunner.java:61)
        at com.vmware.vcf.baseliner.platform.targetstate.validations.runner.ExternalValidatorRunnerService.runValidator(ExternalValidatorRunnerService.java:129)
        at com.vmware.vcf.baseliner.platform.targetstate.validations.validators.ExternalValidationValidator.runAssignedCheck(ExternalValidationValidator.java:255)
        at com.vmware.vcf.baseliner.platform.targetstate.validations.validators.ExternalValidationValidator.lambda$submitAssignedCheck$4(ExternalValidationValidator.java:207)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
        at com.vmware.vcf.common.tracing.TraceRunnable.run(TraceRunnable.java:63)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1583)

YYYY-MM-DDTHH:MIN:SEC DEBUG [vcf_om,####,##] [c.v.e.s.c.v.util.ResponseUtil,pool-2-thread-14] Number of failed validations: 2
YYYY-MM-DDTHH:MIN:SEC DEBUG [vcf_om,####,##] [c.v.e.s.c.v.util.ResponseUtil,pool-2-thread-14] Build validation response: {"errorCode":"BASELINER_ENTITY_RESOURCE_STATE_VALIDATION.error","arguments":["nsx-import-rs","<nsx_fqdn>","NsxtCluster"],"context":{"severity":"ERROR","validation.taskId":"##-##-##-##"},"message":"Entity resource state validation with resource state definition id nsx-import-rs for entity <nsx_fqdn> of type NsxtCluster failed"}

YYYY-MM-DDTHH:MIN:SEC DEBUG [vcf_om,####,##] [c.v.e.s.c.v.util.ResponseUtil,pool-2-thread-14] Build validation response: {"errorCode":"BASELINER_ENTITY_RESOURCE_STATE_VALIDATION.info","arguments":["dvs-resource","us1-production","dvs"],"context":{"severity":"INFO","validation.taskId":"##-##-##-##"},"message":"Entity resource state validation with resource state definition id dvs-resource for entity us1-production of type dvs succeeded"}
YYYY-MM-DDTHH:MIN:SEC DEBUG [vcf_om,####,##] [c.v.e.s.c.v.util.ResponseUtil,pool-2-thread-14] Build validation response: {"errorCode":"BASELINER_TARGET_STATE_VALIDATION.info","arguments":["dvs"],"context":{"severity":"INFO","validation.taskId":"##-##-##-##"},"message":"Target state validation for target state with id dvs is successful"}
YYYY-MM-DDTHH:MIN:SEC DEBUG [vcf_om,####,##] [c.v.e.s.c.v.util.ResponseUtil,pool-2-thread-14] Build validation response: {"errorCode":"BASELINER_TARGET_STATE_VALIDATION.error","arguments":["import-root"],"context":{"severity":"ERROR","validation.taskId":"##-##-##-##"},"message":"Target state validation for target state with id import-root failed"}

Environment

VCF 9

Cause

The NSX VM is not colocated with vCenter, hence, the validation refers to those virtual machines that should be managed by the same vCenter that is involved during deployment and marks as an error failing the installer operation.

Resolution

For the import to be successful, the following constraints regarding the NSX Manager appliance VMs must be met:

The VMs for all nodes in the NSX Manager cluster must reside in one of two locations:

  • The specific vCenter Server instance that is being imported.
  • The VCF Management Domain vCenter Server.

Additional Information