Invalid parameter: Ovftool pre-verification failed for deployment of VM xxx-xx-NSXM01 on VC xxx-xx-vc01.example.com with message Local command /usr/bin/ovftool -- skipManifestCheck -- powerOn -- diskMode=thin -- acceptAllEulas -- allowExtraConfig --ipProtocol=IPv4 -- ipAllocationPolicy=fixedPolicy -- targetSSLThumbprint=21:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:41 -- verifyOnly -- -- prop:nsx_role=NSX Manager --prop:nsx_ip_0=xx.xx.xx.xx -- prop:nsx_netmask_0=xx.xx.xx.xx -- prop:nsx_gateway_O=xx.xx.xx.xx -- network=dvLAN_ephemeral -- deploymentOption=medium -- X:logFile=/var/log/vmware/vcf/bringup/nsxt-manager-ovfxxxxxxxxxxxxxxxxxxxx.log -- X:logLevel=info -- prop:nsx_cli_audit_username=audit -- prop:nsx_cli_audit_passwd_O =**************** -- datastore=vsanDatastore -- name=xxxxx-NSXM01 --prop:nsx_hostname=xxxxx-NSXM01.example.com -- prop:nsx_dns1_0=xx.xx.xx.xx -- prop:nsx_ntp_0=ntp1_servername -- prop:nsx_passwd_0 =***prop:nsx_allowSSHRootLogin=True /mnt/iso/sddc-foundation-bundle-5.2.1.0-24307856/nsxt_ova/nsx-unified-appliance-4.2.1.0.0.24302016.ova vi://[email protected] :*** datacenter _name/host/cluster_name/Resources failed with exit value 1 LocalProcess Output: YYYY-MM-DD HH:MM:SS - Opening OVA source: /mnt/iso/sddc-foundation-bundle-5.2.1.0-24307856/nsxt_ova/nsx-unified-appliance-4.2.1.0.0.24302016.ova LocalProcess Output:YYYY-MM-DD HH:MM:SS - The manifest does not validate LocalProcess Output: YYYY-MM-DD HH:MM:SS - Error: Locator does not refer to an object:vi://administrator%[email protected]:443datacenter _name/host/cluster_name/Resources LocalProcess Output: YYYY-MM-DD HH:MM:SS - Warning: LocalProcess Output: 2YYYY-MM-DD HH:MM:SS - - The manifests present but user flag causing to skip it LocalProcess
/var/log/vmware/vcf/bringup/vcf-bringup.log:YYYY-MM-DD HH:MM:SS- Completed with errorscom.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Invalid parameter: Ovftool pre-verification failed for deployment of VM xxx-xx-NSXM01 on VC xxx-xx-vc01.example.com with message Local command /usr/bin/ovftool -- skipManifestCheck -- powerOn -- diskMode=thin -- acceptAllEulas -- allowExtraConfig --ipProtocol=IPv4 -- ipAllocationPolicy=fixedPolicy -- targetSSLThumbprint=21:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:41 -- verifyOnly -- -- prop:nsx_role=NSX Manager --prop:nsx_ip_0=xx.xx.xx.xx -- prop:nsx_netmask_0=xx.xx.xx.xx -- prop:nsx_gateway_O=xx.xx.xx.xx -- network=dvLAN_ephemeral -- deploymentOption=medium -- X:logFile=/var/log/vmware/vcf/bringup/nsxt-manager-ovfxxxxxxxxxxxxxxxxxxxx.log --X:logLevel=info -- prop:nsx_cli_audit_username=audit -- prop:nsx_cli_audit_passwd_O =**************** -- datastore=vsanDatastore -- name=xxxxx-NSXM01 --prop:nsx_hostname=xxxxx-NSXM01.example.com -- prop:nsx_dns1_0=xx.xx.xx.xx -- prop:nsx_ntp_0=ntp1_servername -- prop:nsx_passwd_0 =**************** --prop:nsx_cli_passwd_0=**************** --prop:nsx_isSSHEnabled=True --prop:nsx_allowSSHRootLogin=True /mnt/iso/sddc-foundation-bundle-5.2.1.0-24307856/nsxt_ova/nsx-unified-appliance-4.2.1.0.0.24302016.ova vi://[email protected]:**********************@vCenter_FQDN/ datacenter_name/host/cluster_name/Resources failed with exit value 1
Leading or trailing spaces were present in name field that is enclosed within the double quotes in the json file.
The precheck determines the spaces as invalid characters and hence the deployment of the NSX manager fails.
Follow the below steps to remove all the spaces in the naming fields ( hostname, association, clusterName, name, dvsName, datastoreName, etc) within the quotes and continue the VCF deployment:
Remove any unnecessary spaces in the JSON file.
Ensure that all IP addresses and FQDNs are enclosed in double quotes.
Copy the modified JSON file to the Cloud Builder appliance at the following location: /home/admin
Note down the bring-up execution ID: psql -h localhost -U postgres -d bringup -c "select id from execution where name like 'Bringup%';"
Execution ID can also be noted from /var/log/vmware/vcf/bringup/vcf-bringup.log
Run the API to retry the workflow with the same execution ID: curl -k -u admin:<password> -X PATCH https://localhost/v1/sddcs/<execution_id> -H "Content-Type: application/json" -d@/home/admin/File_name.json
This will restart the Bring-up process and progress can be tracked via the Cloud Builder UI.
Refer the KB for more information: Failed bringup via the Cloud Builder - Process to restart the workflow via API