Closed jdwannam closed 1 week ago
When I run the code listed at the bottom of the VCF import lab deployment script, I get the following error:
usage: vcf_brownfield.py convert [-h] --vcenter VCENTER_ADDRESS --sso-user SSO_USERNAME [--sso-password SSO_PASSWORD] [--vcenter-root-password VCENTER_ROOT_PASSWORD] [--local-admin-password LOCAL_ADMIN_PASSWORD] [--backup-password BACKUP_PASSWORD] [--domain-name DOMAIN_NAME] [--suppress-warnings] [--accept-trust] --nsx-deployment-spec-path NSX_DEPLOYMENT_SPEC_PATH vcf_brownfield.py convert: error: the following arguments are required: --nsx-deployment-spec-path
I've tried giving it an empty path or pointing to a dummy file but it does not pass validation.
Also I've noticed that the sddc manager UI never comes up, it's always "VMware Cloud Foundation is initializing..."
[11-18-2024_10:21:08] Connecting to Management vCenter Server vcenter.home.local ... [11-18-2024_10:21:10] Deploying Nested ESXi VM esxi-01 ... [11-18-2024_10:21:23] Adding vmnic2/vmnic3 to Nested ESXi VMs ... [11-18-2024_10:21:35] Updating vCPU Count to 6 & vMEM to 24 GB ... [11-18-2024_10:21:36] Updating vSAN Cache VMDK size to 8 GB & Capacity VMDK size to 100 GB ... [11-18-2024_10:21:42] Powering On VM... [11-18-2024_10:21:42] Deploying Nested ESXi VM esxi-02 ... [11-18-2024_10:21:51] Adding vmnic2/vmnic3 to Nested ESXi VMs ... [11-18-2024_10:22:02] Updating vCPU Count to 6 & vMEM to 24 GB ... [11-18-2024_10:22:03] Updating vSAN Cache VMDK size to 8 GB & Capacity VMDK size to 100 GB ... [11-18-2024_10:22:09] Powering On VM... [11-18-2024_10:22:09] Deploying Nested ESXi VM esxi-03 ... [11-18-2024_10:22:19] Adding vmnic2/vmnic3 to Nested ESXi VMs ... [11-18-2024_10:22:30] Updating vCPU Count to 6 & vMEM to 24 GB ... [11-18-2024_10:22:31] Updating vSAN Cache VMDK size to 8 GB & Capacity VMDK size to 100 GB ... [11-18-2024_10:22:37] Powering On VM... [11-18-2024_10:22:37] Deploying Nested ESXi VM esxi-04 ... [11-18-2024_10:22:47] Adding vmnic2/vmnic3 to Nested ESXi VMs ... [11-18-2024_10:22:57] Updating vCPU Count to 6 & vMEM to 24 GB ... [11-18-2024_10:22:59] Updating vSAN Cache VMDK size to 8 GB & Capacity VMDK size to 100 GB ... [11-18-2024_10:23:05] Powering On VM... [11-18-2024_10:23:05] Creating vApp Nested-VCF-Import-Lab-ALCNdBJR ... [11-18-2024_10:23:06] Moving Nested ESXi VMs into Nested-VCF-Import-Lab-ALCNdBJR vApp ... [11-18-2024_10:23:11] Moving Nested-VCF-Import-Lab-ALCNdBJR to VM Folder vcf-deployment-testing ... [11-18-2024_10:23:12] Disconnecting from vcenter.home.local ... [11-18-2024_10:23:12] Waiting for esxi-01 to be ready on network ... [11-18-2024_10:24:15] Connecting to ESXi bootstrap node ... [11-18-2024_10:24:15] Updating the ESXi host VSAN Policy to allow Force Provisioning ... [11-18-2024_10:24:16] Creating a single node VSAN Cluster [11-18-2024_10:24:25] Querying ESXi host disks to create VSAN Diskgroups ... [11-18-2024_10:24:25] Tagging Capacity Disk ... [11-18-2024_10:24:25] Creating VSAN Diskgroup ... [11-18-2024_10:24:30] Disconnecting from ... [11-18-2024_10:24:31] Creating VCSA JSON Configuration file for deployment ... [11-18-2024_10:24:31] Deploying VCSA to Nested ESXi VM ... [11-18-2024_10:24:31] ... this will take a while, go grab a drink π΅πΊπ· [11-18-2024_10:54:25] Connecting to the new VCSA ... [11-18-2024_10:54:26] Creating Datacenter Datacenter ... [11-18-2024_10:54:26] Creating VSAN Cluster Cluster ... [11-18-2024_10:54:28] Adding ESXi host esxi-01.home.local to Cluster ... [11-18-2024_10:54:39] Adding ESXi host esxi-02.home.local to Cluster ... [11-18-2024_10:54:50] Adding ESXi host esxi-03.home.local to Cluster ... [11-18-2024_10:55:02] Adding ESXi host esxi-04.home.local to Cluster ... [11-18-2024_10:55:14] Enabling VSAN & disabling VSAN Health Check ... [11-18-2024_10:55:16] Querying ESXi host disks to create VSAN Diskgroups ... [11-18-2024_10:55:16] Creating VSAN DiskGroup for esxi-02.home.local ... [11-18-2024_10:55:48] Querying ESXi host disks to create VSAN Diskgroups ... [11-18-2024_10:55:48] Creating VSAN DiskGroup for esxi-03.home.local ... [11-18-2024_10:56:20] Querying ESXi host disks to create VSAN Diskgroups ... [11-18-2024_10:56:20] Creating VSAN DiskGroup for esxi-04.home.local ... [11-18-2024_10:56:52] Disconnecting from new VCSA ... [11-18-2024_10:56:52] Connecting to the new VCSA ... [11-18-2024_10:56:53] Deploying SDDC Manager VM sddcm ... [11-18-2024_11:05:25] Powering On VM ... [11-18-2024_11:05:25] Disconnecting from new VCSA ... [11-18-2024_11:05:25] Connecting to the new VCSA ... [11-18-2024_11:05:26] Creating VDS VDS ... [11-18-2024_11:05:27] Creating VDS Management Network Portgroup [11-18-2024_11:05:31] Adding esxi-01.home.local to VDS ... [11-18-2024_11:05:34] Adding esxi-02.home.local to VDS ... [11-18-2024_11:05:38] Adding esxi-03.home.local to VDS ... [11-18-2024_11:05:43] Adding esxi-04.home.local to VDS ... [11-18-2024_11:05:47] Reconfiguring VMs to Distributed Portgroup ... [11-18-2024_11:05:52] Migrating VMkernel network to VDS ... WARNING: PowerCLI scripts should not use the 'VirtualSwitch' property of VmwareVDPortgroup type. The property will be removed in a future release. [11-18-2024_11:06:24] Removing VSS from ESXi hosts ... [11-18-2024_11:06:51] Disconnecting from new VCSA ... [11-18-2024_11:06:51] Connecting to the new VCSA ... [11-18-2024_11:06:52] Clearing default VSAN Health Check Alarms, not applicable in Nested ESXi env ... [11-18-2024_11:07:02] Disconnecting from new VCSA ... [11-18-2024_11:07:02] Connecting to new vCenter Server vcsa ... [11-18-2024_11:07:02] Copying D:\Downloads\vcf-brownfield-import-5.2.1.0-24307788.tar.gz to vCenter Server vcsa under /root ... [11-18-2024_11:07:11] Copying D:\Downloads\vcf-brownfield-import-5.2.1.0-24307788.tar.gz to SDDC Manager sddcm under /home/vcf ... [11-18-2024_11:07:22] Disconnecting from vcenter.home.local ... [11-18-2024_11:07:22] SSH to SDDC Manager sddcm using `vcf` account and run the following command in VCF Import Tool Directory: [11-18-2024_11:07:22] [11-18-2024_11:07:22] python3 vcf_brownfield.py convert --vcenter 'vcsa.home.local' --sso-user 'administrator@vsphere.local' --domain-name 'randomhack-mgmt' --skip-nsx-deployment --sso-password 'VMware1!' --vcenter-root-password 'VMware1!' --local-admin-password 'VMware1!VMware1!' --backup-password 'VMware1!VMware1!' --accept-trust --suppress-warnings [11-18-2024_11:07:22] [11-18-2024_11:07:22] VMware Cloud Foundation (VCF) Import Lab Deployment Complete! [11-18-2024_11:07:22] StartTime: 11/18/2024 22:21:06 [11-18-2024_11:07:22] EndTime: 11/18/2024 23:07:22 [11-18-2024_11:07:22] Duration: 46.27 minutes
As of VCF 5.2.1, the ability to exclude NSX is no longer supported, hence why you're seeing error requiring the specification
When I run the code listed at the bottom of the VCF import lab deployment script, I get the following error:
I've tried giving it an empty path or pointing to a dummy file but it does not pass validation.
Also I've noticed that the sddc manager UI never comes up, it's always "VMware Cloud Foundation is initializing..."