Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server vcenter is not connected #13

Open
B3DTech opened this issue Jul 6, 2020 · 1 comment
Open

Server vcenter is not connected #13

B3DTech opened this issue Jul 6, 2020 · 1 comment

Comments

@B3DTech
Copy link

B3DTech commented Jul 6, 2020

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 ...

Any thoughts on why it's not connected?

@lamw
Copy link
Owner

lamw commented Aug 8, 2020

The NSX-T Edge OVA is probably "blocked" by Windows. Right click on the file and click unblock and it should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants