Why do I receive, You have configured 1 executors (of which 0 are currently in use), above your licensed limit of 0 when adding a slave to a master

Issue

When adding a slave to the master, we get following license warning message: 

“You have configured 1 executors (of which 0 are currently in use), above your licensed limit of 0. Please contact CloudBees Sales for a quote on additional executors.”

Why is the slave on the master considered to be an executor? We had configured the master with 0 executors.

Environment

  • CloudBees Jenkins Operations Center 
  • CloudBees Jenkins Enterprise

Resolution

If we check the licenses on the oc and master we see:

On OC: CloudBees Jenkins Enterprise license with 40 executors, Operations center server license with sub-licensing for 3 client masters

On master: Operations Center managed CloudBees Jenkins Enterprise license with 0 dedicated executors

If you would like to have dedicated executors then you need to change your license strategy. You can find all types in the link below:

https://go.cloudbees.com/docs/cloudbees-documentation/cjoc-user-guide/index.html#client-masters

If you have fixed dedicated executors, just select License (fixed dedicated executors).

Root Cause

If your license only have X executors, it means that you should only declare X executors in total on your slaves. It is the same if you build, or not, in parallel. The important thing is the global number you have declared - even if you don’t use them.

Example:

"You have configured 42 executors (of which 0 are currently in use), above your licensed limit of 5. Please contact CloudBees Sales for a quote on additional executors."

According with the message you have declared 42, but you can only declare 5.

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.