VCD Error – Failed Start: An error occurred during initialization.
When installing VCD 10 into my lab recently I got the following error after trying to login to my provider interface.
Failed Start: An error occurred during initialization.
This was a brand new installation. When I have seen a similar error in the past this seemed to be caused by the public addresses not being set. However not being able to log in to set these I felt that this had to be done via the command line.
Resolution
Run the following cell-management-tool command to see the list of valid urls to access the VCD cells:
/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n webapp.allowed.origins -l
You should then see a comma separated string, with no spaces between the entries. The list shows HTTP, HTTPS, IP and DNS entries for you cells in the server group and the public address URL used by the Load Balancer. If any entries are missing you can add them using the following command:
/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n webapp.allowed.origins -v <comma_separated_list_without_spaces>
The official VMware KB 75305 can be found on the support website.