Upgrade from VCF Operations for Logs 9.0.2 to Log Management 9.1.0 fails. The following errors are observed on the upgrade Task in the UI during the upgrade process:
Error: Validate component specifications before installation
Error: Log management was not discovered with the provided import details.
Error: Step deploy_ops_logs_cluster failed. Reference Code: #######. Check logs for details.
VCF Operations 9.1
VCF Operations for logs 9.0.x
VCF Operations for Logs 9.0 was imported with incorrect details (such as being deployed on an incorrect network where validation checks did not block it). As a result, the component successfully installed and appears in the Fleet LCM UI, but it is not operable. During the upgrade to version 9.1, the system fails to discover Log Management using the provided import details.
To resolve this issue, clear the stuck component using the Fleet LCM API and initiate a new deployment:
curl -k --request POST --url https://<VSP_ADDRESS>/api/v1/identity/token --header 'content-type: application/x-www-form-urlencoded' --data grant_type=password --data [email protected] --data 'password=<VSP_ADMIN_PASSWORD>'Where: VSP_ADDRESS is the address of the VSP hosting the fleet LCM. VSP_ADMIN_PASSWORD is the password of the vmware-system-user for the given VSP.
curl -k -X GET "https://<FLEET_FQDN>/fleet-lcm/v1/components?includeConsumptionVsp=true&includeVcdMigrator=true" \
-H "Authorization: Bearer $VSP_TOKEN" -vWhere FLEET_FQDN is the FQDN of the Fleet Lifecycle component. This can be found in the VCF Operations UI by browsing to the Build >> Lifecycle >> VCF Management >> Components tab.
Tip: Copy the output into a notepad and search for the string "componentType": "OPS_LOGS", COMPONENT_ID is the ID mentioned 2 lines above this string.
curl -X DELETE "https://<FLEET_FQDN>/fleet-lcm/v1/components/<COMPONENT_ID>" \
-k -H "Authorization: Bearer $VSP_TOKEN"vmware-system-user.sudo suexport KUBECONFIG=/etc/kubernetes/admin.confkubectl exec -it vcf-fleet-lcm-db-0 -n vcf-fleet-lcm -- psql -U postgres -d vcffleetlcmdb<COMPONENT_ID> with the component ID used above):delete from upgrade_plan_component where component_id='<COMPONENT_ID>';For defects and enhancements, subscribe to this article (reference: ) to be updated on fix status.