This is a known issue affecting VMware Cloud Foundation 3.5.x. This issue is resolved in VMware Cloud Foundation 3.7.Workaround:
Use the following steps to workaround this issue:
- In vsphere client, go to the Networking view.
- Expand the new vCenter Server, expand the Datacenter, right-click the Distibuted Switch, select Add and manage hosts.
- Select Manage host network, click NEXT.
- Click the Attached hosts button, select all affected hosts, click OK.
- Click NEXT.
- For each affected host, select one uplink (the lowest numbered one that is not named vmnic1) and then click the Unassign adapter link.
- Click NEXT.
- Click NEXT.
- Click NEXT.
- Click FINISH.
- In the NSX Manager UI, go to Dashboard, click on Hosts.
- If the failed task was "Join vSphere hosts to NSX-T Fabric", stay on the Hosts tab and check the box next to one of the affected hosts. Click the Actions dropdown and choose Configure as Transport Node.
Note: If the failed task was "Attach pnics and vmknics to nvds", skip to Step 24.
- Enter the host's FQDN in the Name field.
- Check the box next to the overlay transport zone in the list of Available Transport Zones. Click the right arrow button to move the overly transport zone into the Selected list.
- Click on the N-VDS tab.
- Click the dropdown next to N-VDS Name and select the available N-VDS.
- Click the dropdown next to NIOC Profile and select nsx-default-nioc-hostswitch-profile.
- Click the dropdown next to Uplink Profile and select nsx-default-uplink-hostswitch-profile.
- Click the dropdown next to IP Assignment and select Use DHCP.
- Click the dropdown next to Physical NICs and choose the NIC that was unassigned in Step 6.
- Click the ADD button.
- Repeat Steps 12 through 21 for any other affected hosts.
- Click the RESTART TASK button next to the failed workflow in SDDC Manager.
Note: It is very likely that the "Attach pnics and vmknics to nvds" will fail as well. Refer to the following section to resolve that issue.
- If the failed task was "Attach pnics and vmknics to nvds", go to the Transport Nodes tab. Check the box next to one of the affected hosts. Click the EDIT button.
- Click on the N-VDS tab.
- Click the dropdown next to Physical NICs and choose the NIC that was unassigned in Step 6.
- Click the ADD button.
- Repeat Steps 24 through 27 for any other affected hosts
- Expand the Tasks pane in the SDDC Manager UI. Click on the Creating domain <domain name> task.
Note: A URL similar to the following is displayed in the browser:
https://sddc-manager.vcf.corp.local/ui/sddc-manager/administration/details/vrealize/vrealize-operations(monitoring-panel:monitoring/tasks/subtasks/a914be10-2fd1-11e9-979a-49712d01d7cc)
Note: In this example, a914be10-2fd1-11e9-979a-49712d01d7cc is the workflow id value.
- Log in to the SDDC Manager VM as the vcf user and then issue the su - command to switch to the root user.
- Issue a command similar to the following to create a json file with the workflow input:
curl -s http://localhost/domainmanager/internal/vault/a914be10-2fd1-11e9-979a-49712d01d7cc -XGET | json_pp > /tmp/add_vi_with_nsxt_input.json
Note: Replace a914be10-2fd1-11e9-979a-49712d01d7cc with the workflow id value obtained in Step 29.
- Open /tmp/add_vi_with_nsxt_input.json with a text editor.
- Fine the stanza that begins with MigrateFromVdsToNvds____10__listOfHosts. In this stanza, there will be a com.vmware.evo.sddc.common.plugin.model.contract.nsxt.HostInfo sub-stanza for each host. Update the vmnic# values in each host stanza as appropriate.
- Save and close the file.
- Issue a command similar to the following to update the input parameters to the workflow:
curl -s http://localhost/domainmanager/internal/vault/a914be10-2fd1-11e9-979a-49712d01d7cc -XPUT -H "Content-type: text/plain" -d @/tmp/add_vi_with_nsxt_input.json
Note: Replace a914be10-2fd1-11e9-979a-49712d01d7cc with the workflow id value obtained in Step 29.
- Click the RESTART TASK button next to the failed workflow in SDDC Manager.