VMware Cloud Community
Butch0379
Contributor
Contributor

VCSA 8 Image Builder - Custom ESXi 8 Image issue

After successfully creating a custom ESXi 8 Zip Bundle via PowerCLI 13, the VCSA 8 cannot import the bundle into Image Builder. I have tested importing many times with different names and always get the same error.

image.png

The Image Builder Logs show the below:

2022-11-30T17:11:01 [53671][depot-queue-watcher]ERROR:DepotManager:Failed to connect to depot Test1Lkdugf98 (/storage/imagebuilder/depot/ae788a879215c56433dc5bffe2e1f85ef0342ac2.zip) because of error: The depot you are trying to connect conflicts with another depot, please make sure image profile names are unique.
2022-11-30T17:11:01 [53671][depot-queue-watcher]ERROR:DepotManager:Unexpected error: '7e0b5dab-1a3a-4501-9ebe-c848d8d3bcb3'
Traceback (most recent call last):
File "/usr/lib/vmware-imagebuilder/site-packages/imagebuilder/vmodl_impl/DepotManager.py", line 585, in _processDepotQueue
self._connectToDepot(T.depot, 30, taskInfo, ret)
File "/usr/lib/vmware-imagebuilder/site-packages/imagebuilder/vmodl_impl/DepotManager.py", line 437, in _connectToDepot
self._markProfilesReadOnly(url)
File "/usr/lib/vmware-imagebuilder/site-packages/imagebuilder/vmodl_impl/DepotManager.py", line 463, in _markProfilesReadOnly
self.dc.profiles[prof_id].readonly = True
KeyError: '7e0b5dab-1a3a-4501-9ebe-c848d8d3bcb3'

Is there a work around for this?

0 Kudos
2 Replies
maksym007
Expert
Expert

If I were you, I would delete this depot from vCenter via SSH. And would try to upload/create a new one

0 Kudos
cylemmulo
Contributor
Contributor

I'm having the same issue today. Certain things work, and certain things don't it seem to work. I"m on the latest patch, and I feel like last patch didn't do this.

0 Kudos