This is a known issue, please use the below workarounds for the specific workflow failure.Workaround:
Add ESXi host(s) to a NSX-T cluster
- Open an SSH to the SDDC Manager VM and change to the root user:
su -
- With the below command, fetch all the ESXI hosts from SDDC Manager inventory and output to esxi-host-inventory.json file :
curl -k https://{sddc-manager-ip}/inventory/extensions/vi/esxis -u ' : ' | json_pp > esxi-host-inventory.json
- Open esxi-host-inventory.json with a text editor and identify the host(s), which belong to the NSX-T cluster, which the host(s) are to be added.
- Identify the hosts to be added to the cluster.
- Rename the identified hostnames into lowercase and save the file.
- Run the below command to update ESXi hostnames to lowercase in SDDC Manager inventory.
curl -k -H "Content-Type: application/json" -X PUT -d @esxi-host-inventory.json https://{sddc-manager-ip}/inventory/extensions/vi/esxis -u 'UserName:Password'
- Execute the Add Host workflow.
After the workflow has been completed successfully, revert the hostname to the original name:
- Fetch all the ESXI from SDDC Manager inventory into a nsxt-host-revert.json file.
curl -k https://{sddc-manager-ip}/inventory/extensions/vi/esxis -u 'UserName:Password' | json_pp > esxi-host-inventory-revert.json
- Open esxi-host-inventory-revert.json with a text editor and identify the hosts for the NSX-T cluster, which have been added.
- Rename the ESXi hosts hostname to the original case and save the file.
- Run the command below to update SDDC Manager inventory:
curl -k -H "Content-Type: application/json" -X PUT -d @esxi-host-inventory-revert.json https://{sddc-manager-ip}/inventory/extensions/vi/esxis -u 'UserName:Password'
Remove ESXi host(s) to a NSX-T cluster
- Open an SSH to the SDDC Manager VM and change to the root user:
su -
- With the below command, fetch all the ESXI hosts from the SDDC Manager inventory and output to a deleteHost.json file:
curl -k https://{sddc-manager-ip}/inventory/extensions/vi/esxis -u 'UserName:Password' | json_pp > deleteHost.json
- Open deleteHost.json with a text editor and identify the host(s) to be removed.
- Rename the identified host(s) hostname(s) to the lowercase and save the file.
- Update the ESXi entries by executing the below command.
curl -k -H "Content-Type: application/json" -X PUT -d @deleteHost.json https://{sddc-manager-ip}/inventory/extensions/vi/esxis -u 'UserName:Password'
- Execute remove host workflow.
Add cluster to a NSX-Workload Domain
In this workflow, it's required to rename all hostnames which belongs to NSXT Workload domain to lowercase:
- Open an SSH to the SDDC Manager VM and change to the root user:
su -
- Using the command below, fetch all ESXi hosts from the SDDC Manager inventory to a nsxt-vi-hosts-lower.json file
curl -k https://{sddc-manager-ip}/inventory/extensions/vi/esxis -u 'UserName:Password' | json_pp > nsxt-vi-hosts-lower.json
- Open nsxt-vi-hosts-lower.json with a text editor and Identify all the ESXi hosts which belong to the NSX-T workload domain.
- Identify all the ESXi hosts to be selected during the add cluster workflow.
- Rename the identified ESXi hosts hostnames to lowercase and save the file.
- Update modified hostname in the SDDC Manager inventory by executing below command:
curl -H "Content-Type: application/json" -X PUT -d @nsxt-vi-hosts-lower. json https://{sddc-manager-ip}/inventory/extensions/vi/esxis -u 'UserName:Password'
- Execute the add cluster workflow
Rename all ESXi hostnames, which belongs to the NSXT Workload domain, to the original case:
- Fetch all ESXi hosts from the SDDC Manager inventory to a nsxt-vi-hosts-revert.json file:
curl -k https://{sddc-manager-ip}/inventory/extensions/vi/esxis -u 'UserName:Password' | json_pp > nsxt-vi-hosts-revert.json
- Open the nsxt-vi-hosts-revert.json with a text editor and identify all the hosts which belong to the NSX-T workload domain.
- Rename identified hostname to the original case and save it.
- Update modified hostname in SDDC Manager inventory by executing below command
curl -H "Content-Type: application/json" -X PUT -d @nsxt-vi-hosts-revert. json https://{sddc-manager-ip}/inventory/extensions/vi/esxis -u 'UserName:Password'
Remove cluster from a NSX-T Workload Domain
Rename hostnames to lowercase, where host belongs to the cluster, the user intends to delete
- Open an SSH to the SDDC Manager VM and change to the root user:
su -
- Using the command below, fetch all the ESXI hosts from the SDDC Manager inventory and output to nsxt-cluster-host.json:
curl -k https://{sddc-manager-ip}/inventory/extensions/vi/esxis -u 'UserName:Password' | json_pp > nsxt-cluster-host.json
- Open nsxt-cluster-host.json with a text editor and identify the hosts which belong to the NSX-T cluster that is intended to be deleted.
- Rename the identified ESXi hostnames to lower case and save the file.
- Update the hostnames in the SDDC Manager inventory by executing the below command:
curl -k -H "Content-Type: application/json" -X PUT -d @nsxt-cluster-host. json https://{sddc-manager-ip}/inventory/extensions/vi/esxis -u 'UserName:Password' Execute delete cluster workflow
Remove a NSX-T Workload Domain
Rename all hostnames ( which belongs to NSXT Workload domain) to lowercase
- Open an SSH to the SDDC Manager VM and change to the root user:
su -
- Using the command below, fetch all the ESXi hosts from inventory to nsxt-vi-hosts-lower.json file
curl -k https://{sddc-manager-ip}/inventory/extensions/vi/esxis -u 'UserName:Password' | json_pp > nsxt-vi-hosts-lower.json
- Open nsxt-vi-hosts-lower.json with a text editor and identify all the ESXi hosts which belong to the NSX-T workload domain.
- rename identified hostname to the lowercase and save it.
- Update modified hostname in VCF inventory by executing below command
curl -H "Content-Type: application/json" -X PUT -d @nsxt-vi-hosts-lower. json https://{sddc-manager-ip}/inventory/extensions/vi/esxis -u 'UserName:Password'
- Execute Remove VI workflow.