Best answer by Sneha Patekar
Thank you for sharing your questions here, I apologize you had to wait it so long.
To address your issue, the issue in specific was earlier resolved using a workaround which resulted in many other issues.
But this issue is now resolved in AOS 5.11 and 5.10.5.
The following cases are addressed by these changes:
- Allow images to be deleted if it owned by an older PC from a new PC.
- If image is an orphan image (which means just present on PC) it can be deleted.
- If image is on a PE and is not owned by that PE - The image can either be deleted by unregistering the PE or migrating image to new PC and deleting from PC.
Recommendation to customers having this problem is to upgrade to 5.10.5 or later and then attempt to clean up the images again.
As an alternative when an upgrade is not possible or the issue remains post upgrade is to use a new script has been developed by engineering. This script will be part of AOS bundle as of 5.10.9 and 5.11.2. For previous versions it can be downloaded manually. This script will not make any catalog RPC calls and rather just remove metadata cleanly from IDF and it is the last resort to have a way to clean-up the entire image.
I am concerned that the script is not openly shared with the customers but will have to open a Nutanix case with Support who will further help with the issue.
I hope this was helpful!!