Today I experienced an issue with a client’s site with them trying to deploy a VM from a vCenter Server Appliance (VCSA) 6.0. During the VM deployment wizard, they were getting the error Cannot create service “%s” and not being able to deploy any templates
I was able to reproduce the issue on different desktops and browsers so I logged into the VCSA and checked to see if all the services were running.
..will give a list of all services available.
As the error relates to the VMware Content Library Service, I attempted to start that service and got the follow error (Which also includes part of the original error!)
There are a number of reasons why services will not start, but in this case it was due to the log mount (/dev/mapper/log_vg-log) being full.
The client wanted to retain the logs (Great use case for vRealize Log Insight!), so the VMDK that the mount pointed to was increased in space (Details on which VMDK and the process to do this can be found at https://kb.vmware.com/kb/2126276)
After increasing the space, the issue was not resolved as the Content Library service hadn’t been cleared from the previous running state. To resolve this I followed https://kb.vmware.com/kb/2147891 which started the service without issue.
All templates in the Content Library could now be deployed without issue or error.