Building a new vCloud Director environment today, I was experiencing issues trying to deploy a new vAPP. Every time I deployed a vAPP I got the error Failed to Create.
So what was going on? I could deploy VMs in vSphere, vCloud Director was deploying the VMs in vSphere, and I could power them on manually from vSphere!?!.
Clicking on the error gave me no information at all, and it showed that the VM was successfully being deployed too!
I needed to take a look at the log files on the VCD cell to see whats happening. I SSH’d to the cell and issued the following commands:
cd /opt/vmware/vcloud-director/logs
cat vcloud-container-debug.log | grep -i error
2013-01-14 10:44:10,288 | ERROR | sf-activity-pool-2
| SpbmServiceImpl |
SPS NotEnoughLicenses failure of 1 attempts to make SPS call at VC
2013-01-14 10:44:12,288 | ERROR | sf-activity-pool-2
| SpbmServiceImpl |
SPS NotEnoughLicenses failure of 2 attempts to make SPS call at VC
2013-01-14 10:44:13,288 | ERROR | sf-activity-pool-2
| SpbmServiceImpl |
SPS NotEnoughLicenses failure of 3 attempts to make SPS call at VC
2013-01-14 10:44:13,288 | ERROR | sf-activity-pool-2
| SpbmServiceImpl |
SPS NotEnoughLicenses failure of 4 attempts to make SPS call at VC
2013-01-14 10:44:14,288 | ERROR | sf-activity-pool-2
| SpbmServiceImpl |
SPS NotEnoughLicenses failure of 5 attempts to make SPS call at VC
A quick google returns KB 3028558 article from VMware which tells you to check the licenses.
To resolve this issue:
- Ensure that the VMware vSphere Profile-Driven Storage service is started on vCenter Server and the Storage Profile is enabled at the vSphere Cluster level.
- Ensure that the hosts have the Enterprise Plus licensing.
Once you have confirmed that all licenses are correct, you must then confirm that Storage Profiles is Enabled on the particular cluster.
To check storage profiles is enabled, select Home -> Storage Profiles, from within this window click Enable Storage Profiles button.
Click the Blue Enable button for the cluster and then click Close.
Once enabled you will then be able to deploy your vAPPs successfully.
Thank you, I ran into this while building a test cluster and forgot to turn on storage profiles.