When attempting to list or install software profiles from an online depot, such as:
esxcli software sources vib get --depot=https://dl.broadcom.com/<token-ID>/path_to_repositoryesxcli software sources profile list --depot=https://dl.broadcom.com/<token-ID>/path_to_repository
Receive one or more of the following errors:
[MetadataIOError]Failed to read configSchemas/...json: Unable to allocate output buffer.
[MemoryError]Please refer to the log file for more details.
In the /var/log/vmkernel.log:
Admission failure in path: host/vim/vmvisor/esximage/python.#####uw.##### requires #### KB, asked #### KB from python.##### which has ### KB occupied and 0 KB available.
ESXi cannot allocate additional memory to the esxcli process. As a result, the kernel denies the request, leading to “Admission failure” or “Unable to allocate output buffer” errors.
Option 1: Free up process memory before retrying
esxcli software sources profile list --depot=https://dl.broadcom.com/<token-ID>/path_to_repositoryesxcli software sources profile update --depot=https://dl.broadcom.com/<token-ID>/path_to_repository --profile=<ESXi profile from above step> Option 2: Use offline bundle
If both options does not work, consider rebooting the ESXi Rebooting an ESXi Server host and then retry.
Option 3: Use the Lifecycle Manager
vLCM can be used to configure the Depots and then remediate the ESXi Host(s) Working With the vSphere Lifecycle Manager Depot