SPS NotEnoughLicenses error in vCloud Director debug log

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.

Screen Shot 2013-01-15 at 14.37.35

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!

Screen Shot 2013-01-15 at 14.43.01

 

Screen Shot 2013-01-15 at 14.43.12

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.

Screen Shot 2013-01-15 at 14.10.18

 

Click the Blue Enable button for the cluster  and then click Close.

Screen Shot 2013-01-15 at 14.10.30

 

Once enabled you will then be able to deploy your vAPPs successfully.

Screen Shot 2013-01-15 at 14.53.56

, , , ,

One Response to SPS NotEnoughLicenses error in vCloud Director debug log

  1. Jason Burrell January 31, 2013 at 12:39 am #

    Thank you, I ran into this while building a test cluster and forgot to turn on storage profiles.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright David Hill

Powered by WordPress. Designed by Woo Themes

%d bloggers like this: