CARR does not replace Host certificates.
search cancel

CARR does not replace Host certificates.

book

Article ID: 417658

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • carr.log says "Invalid vCenter name: <VC_NAME> or cluster name: <CLUSTER_NAME> provided in the input config file."
  • vcenter_name and vcenter_cluster_name in validation_config.yaml should respectively match display_name of Compute Manager and display_name of Compute Collection.
    • GET api/v1/fabric/compute-managers
      curl example:
      curl -k -u 'admin' https://<NSX_MANAGER_HOST>/api/v1/fabric/compute-managers
    • GET api/v1/fabric/compute-collections
      curl example:
      curl -k -u 'admin' https://<NSX_MANAGER_HOST>/api/v1/fabric/compute-collections

Cause

vcenter_name and vcenter_cluster_name in validation_config.yaml should match display_name of Compute Manager and display_name of Compute Collection.

Resolution

Edit validation_config.yaml to match display_name of Compute Manager and display_name of Compute Collection.

Example: 

GET api/v1/fabric/compute-managers

  "results" : [ {
    "server" : "<VC_FQDN_OR_IP>",
     ...
  }
  ...
  "display_name": "VC_DISPLAY_NAME"

GET api/v1/fabric/compute-collections

  "results" : [ {
    "display_name" : "VC_CLUSTER_NAME",
    ...
  }]

validation_config.yaml

HOST:
  validate: True
  clusters:
    - vcenter_name: VC_DISPLAY_NAME
      vcenter_cluster_name: VC_CLUSTER_NAME

validation_config.yaml API GUI
vcenter_name display_name in GET api/v1/fabric/compute-managers Compute Manager column at System > Fabric > Compute Managers
vcenter_cluster_name display_name in GET api/v1/fabric/compute-collections Clusters column at System > Fabric Hosts

Additional Information

Using Certificate Analyzer, Results and Recovery (CARR) Script to fix certificate related issues in NSX