Error Code: LCMVSPHERECONFIG100002
The host name or host url provided is wrong.
Invalid vCenter Details: vCenter Host not found. Trigger Inventory Sync and try again.
2. On the Fleet Manager appliance, in the /var/log/vrlcm/vmware_vrlcm-*.log, you see the following log entries
"messageId" : "LCMVSPHERECONFIG100002", "message" : "The host name or host url provided is wrong.", "eventId" : “EVENTIID”, "retry" : true, "exceptionMessage" : "Invalid vCenter Details: vCenter Host not found. Trigger Inventory Sync and try again", "exceptionStackTrace" : "com.vmware.vrealize.lcm.common.exception.EngineException: Invalid vCenter Details: vCenter Host not found. Trigger Inventory Sync and try again\n\tat com.vmware.vrealize.lcm.plugin.core.vsphere.tasks.ShutdownGuestOSTask.execute(ShutdownGuestOSTask.java:79)\n\tat com.vmware.vrealize.lcm.platform.automata.service.Task.retry(Task.java:158)\n\tat com.vmware.vrealize.lcm.automata.core.TaskThread.run(TaskThread.java:60)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\n\tat java.base/java.lang.Thread.run(Unknown Source)\n", "localizedMessageId" : "VSPHERE_INVALIDVC_ERROR",
VCF Operations 9.x
VCF Operations for Logs 9.x
When the upgrade is going through the workflow of ShutdownGuestOSTask.java script, the VSphereConstants.VC_HOST_NAME parameter is null at line 77, causing the upgrade workflow to fail at "com.vmware.vrealize.lcm.plugin.core.vsphere.tasks.ShutdownGuestOSTask.execute(ShutdownGuestOSTask.java:79)".
Follow these steps to resolve or work around the issue:
1. Make sure DNS settings are configured properly for VCF Operations for Logs, VCF Operations, and Fleet Manager by referring to DNS configuration requirements for VCF Operations or Aria Operations for Logs.
2. If the upgrade still fails after the above step. Proceed with canceling the failed task by following Cancel long-running Fleet Management lifecycle tasks.
3. Retry the upgrade.