The inventory synchronization is failing with the error code "INVENTORY_SYNC_QUEUE_REQUEST_FAILED
" and the exception "java.util.NoSuchElementException: No value present
," as noted in the /var/log/vrlcm/vmware_vrlcm.log file.
Additionally, when selecting a product in the environment, it appears that the product information or the primary node is missing or null.
This issue may occur if the inventory synchronization fails due to invalid or incomplete environment information within the Aria Lifecycle Manager.
Remove the Aria product from Lifecycle Manager Inventory and then re-import it back to Aria Lifecycle Manager.
Workaround:
Using Aria lifecycle manager UI for Aria Products:
1. Remove the product from inventory in Aria Lifecycle Manager.
2. Do not check the "Delete VMs from vCenter" option when removing the product, as selecting this will delete the VMs from vCenter.
3. Re-import the product back into Aria Lifecycle Manager
4. Exercise caution and double-check to ensure the "Delete VMs from vCenter" option is unchecked to avoid accidentally deleting VMs from vCenter.
Using API call for global environments (VIDM) you can follow the below steps:
{
"deleteFromInventory": true,
"deleteFromVcenter": false,
"deleteLbFromSddc": false,
"deleteWindowsVMs": false
}
Screenshots below from LAB:
Note: While we have provided an example using vIDM and the global environment, you can apply the same steps to any specific environment you wish to delete and re-import.