I've been trying to run through your script a half dozen times after a few false starts with configuration options on my end. But now that I think I have them all sorted out, a few times in a row I get to line 710 and it fails, which causes the rest of the script to error out.
[07-05-2020_11:17:25] Deploying the VCSA ...
[07-06-2020_12:21:58] Setting up NSX-T Edge to join NSX-T Management Plane ...
[07-06-2020_12:24:21] Successfully logged into NSX-T Manager pacific-nsx-3.b3d.lab ...
[07-06-2020_12:24:21] Retrieving NSX Manager Thumbprint ...
[07-06-2020_12:24:22] Accepting NSX Manager EULA ...
[07-06-2020_12:24:22] Disconnecting from NSX-T Manager ...
Get-OvfConfiguration: /Users/mdiorio/Documents/gitb3d/vghetto-vsphere-with-kubernetes-external-nsxt-automated-lab-deployment/vghetto-vsphere-with-kubernetes-external-nsxt-lab-deployment.ps1:710
Line |
710 | $nsxEdgeOvfConfig = Get-OvfConfiguration $NSXTEdgeOVA
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 7/6/2020 12:24:22 AM Get-OvfConfiguration Server vcenter.b3d.lab is not connected.
In the log file, I'm not seeing any errors:
[07-06-2020_12:24:21] Successfully logged into NSX-T Manager pacific-nsx-3.b3d.lab ...
[07-06-2020_12:24:21] Retrieving NSX Manager Thumbprint ...
[07-06-2020_12:24:22] Accepting NSX Manager EULA ...
[07-06-2020_12:24:22] Disconnecting from NSX-T Manager ...
[07-06-2020_12:24:22] Deploying NSX Edge VM pacific-nsx-edge-3a ...
[07-06-2020_12:24:22] Updating vCPU Count to 8 & vMEM to 32 GB ...
[07-06-2020_12:24:22] Powering On pacific-nsx-edge-3a ...
[07-06-2020_12:24:22] Creating vApp vGhetto-Nested-Project-Pacific-NSX-T-External-Lab-RnSGuJHy ...
[07-06-2020_12:24:22] Creating VM Folder Project-Pacific ...
[07-06-2020_12:24:22] Moving Nested ESXi VMs into vGhetto-Nested-Project-Pacific-NSX-T-External-Lab-RnSGuJHy vApp ...
[07-06-2020_12:24:22] Moving pacific-vcsa-3 into vGhetto-Nested-Project-Pacific-NSX-T-External-Lab-RnSGuJHy vApp ...
[07-06-2020_12:24:22] Moving pacific-nsx-3 into vGhetto-Nested-Project-Pacific-NSX-T-External-Lab-RnSGuJHy vApp ...
[07-06-2020_12:24:22] Moving NSX Edge VMs into vGhetto-Nested-Project-Pacific-NSX-T-External-Lab-RnSGuJHy vApp ...
[07-06-2020_12:24:22] Moving vGhetto-Nested-Project-Pacific-NSX-T-External-Lab-RnSGuJHy to VM Folder Project-Pacific ...
[07-06-2020_12:24:22] Disconnecting from vcenter.b3d.lab ...
[07-06-2020_12:24:22] Connecting to the new VCSA ...
[07-06-2020_12:24:27] Creating Datacenter Pacific-Datacenter ...
I've been trying to run through your script a half dozen times after a few false starts with configuration options on my end. But now that I think I have them all sorted out, a few times in a row I get to line 710 and it fails, which causes the rest of the script to error out.
In the log file, I'm not seeing any errors:
Any thoughts on why it's not connected?