A The Fleet lifecycle 'VSP component installation' task with ID #####-####-####-####-############ failed. Internal errors: Reference Token: O2BP9JA The Fleet lifecycle 'VSP component installation' task with ID #####-####-####-####-############ failed. Internal errors: A pre-validation prevented the bootstrap: From the IPv4 pool, found the following in-use IP address(es): <in-use_ip_list>, Failed to bootstrap VCFYYYY-MM-DDTHH:MM:SS DEBUG [vcf_dm,################################,####] [c.v.e.s.o.c.c.ContractParamBuilder,dm-exec-####] Contract task InstallVspComponentFleetLcmAction input: {"_executionUuid":"<execution-UUID>","componentSpec":{"deploymentType":"VspComponentSpec","sddcLcmId":"<LCM OP ID>","componentType":"VCFA","version":"9.1.0.0200.25556825","repository":{"downloadUrl":"https://VCF_Automation_FQDN/vmware/vcf/bundle/<bundle ID>/<bundle ID>/vcfa-bundle-9.1.0.0200.25556825.tar"},"fqdn":"VCF_Automation_FQDN","componentNamespace":"prelude","configSpec":{"size":"small","adminSystemPassword":"*****","VCD_MIGRATOR":{"deploymentType":"VspComponentSpec","sddcLcmId":"<LCM OP ID>","componentType":"VCD_MIGRATOR","version":"9.1.0.0200.25556825","repository":{"downloadUrl":"https://VCF_Automation_FQDN/vmware/vcf/bundle/<bundle ID>/<bundle ID>/vcd-migrator-9.1.0.0200.25556825.tgz"},"componentNamespace":"vcd-migrator","configSpec":{"size":"small"}}},"vspClusterSpec":{"deploymentType":"VspClusterSpec","sddcLcmId":"<LCM OP ID>","version":"9.1.0.0200.25555874","platformFqdn":"FQDN","systemUserPassword":"*****","size":"small","ipAddresses":[<in_use-IP_range>]}}}
VCF 9.1
VCF Automation deployment requires unique available IP address. This error occurs if the IP address provided was already in-use or resolves to an IP address that is already active on the network, triggering a validation failure at the time VCF Automation deployment.
The existing configuration has to be re-initiated post updating new IP range to VCF Automation on runtime workflow json spec. Follow below steps in order to resolve the issue.
Take a snapshot of VCF Installer
Login to Management vCenter UI and delete VMs under folder "vcf-automation"
Log in to SDDC Manager machine using vcf user and switch to root user
Execute the below command to export the json for the current configuration using execution_UUID retrieved from /var/log/vmware/vcf/domainmanager/domainmanager.log, (or you can refer KB article 314620)
echo vcf.vault.http-access=true >> /etc/vmware/vcf/domainmanager/application.properties && systemctl restart domainmanager
curl -X GET http://localhost/domainmanager/internal/vault/<execution_UUID> | json_pp > /tmp/workflow.json
Edit /tmp/workflow.json and replace with new IP address which is not in use under vcfAutomationSpec within java.util.ArrayList as below,
"vcfAutomationSpec" :["com. vmware. vcf.rest. api.model. v1. sddcs.VcfAutomationSpec","adminUserPassword" : "####################","hostname" : "<VCF_Automation_FQDN>","internalClusterCidr" : "<CIDR>","ipPool" : ["java.util.ArrayList","<New_IP_address_1>","<New_IP_address_2>","<New_IP_address_3>","<New_IP_address_4>","<New_IP_address_5>"]Update the vault with the modified JSONcurl -H 'Content-Type:text/plain' -X PUT http://localhost/domainmanager/internal/vault/<execution_uuid> -d @/tmp/workflow.json
Restart the "Deploy VCF Management Components" Task
In the VCF Operations UI browse to Build > Lifecycle > Tasks
Locate the most recent Failed status Task for "Deploy and configure VCF Automation"
Click on the failed task and copy the Task ID (UUID format) from the task details
SSH to the SDDC Manager appliance as the vcf user and switch to root user
Open the application-prod.properties file for editing with the following command
vi /etc/vmware/vcf/domainmanager/application-prod.properties
Add or update the following entry, replacing <Task_ID from step c> taken from Step 3 above and save the file
fleetlcm.task.id.to.recreate=<Task_ID from step c>
Restart domain manager service on the SDDC manager appliance using the following command
systemctl restart domainmanager
Return to the VCF OPs UI, navigate to Build > Tasks, locate the "Deploy VCF Management Components" task and click Restart Task
sed -i '/vcf.vault.http-access=true/d' /etc/vmware/vcf/domainmanager/application.properties && systemctl restart domainmanager