LCM Issues after update to PC 2023.1.0.1

LCM Issues after update to PC 2023.1.0.1

So we're finaly getting of the buggy 2022.9 release for Prism Central. But after the update to 2023.1.0.1 we had som issues with LCM and running the LCM Inventory.

A fellow NTC pushed me towards this KB:
https://portal.nutanix.com/page/documents/kbs/details?targetId=kA07V000000TpKfSAK

SSH to the affected CVM in the PC deployment and run

python /home/nutanix/cluster/bin/lcm/lcm_catalog_cleanup

Then restart genesis

cluster restart_genesis

Now LCM Inventory task will work normaly :)

Enjoy.