Failed to delete an image depot: The content of the specified depot is being referenced by some baselines or desired states
search cancel

Failed to delete an image depot: The content of the specified depot is being referenced by some baselines or desired states

book

Article ID: 404729

calendar_today

Updated On:

Products

VMware vCenter Server 8.0

Issue/Introduction

When delete an image depot from vSphere lifecycle manager,  the task fails with an error:

     A general system error occurred: The content of the specified depot is being referenced by some baselines or desired states. Deleting the depot will cause the baselines or desired states unusable. Check the data field of error for the details of conflicts.

Environment

vCenter 8.0.x

Cause

This is because the image is still used by a cluster. 

Click on the cluster, click on "Update" tab page, Edit the images, then confirm that the image is still in use.

Resolution

1) Edit settings of the cluster, make it to use a different image.

Then follow the step in kb 384587:

dcli com vmware esx settings depots offline delete-task --depot <depot UUID>

Some images are removed with this command

2) The dcli command still cannot remove some images, finally, we use another option:

kb 316581:  Resetting the VMware Update Manager Database