Containerized SonarQube licensing

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) SonarQube - License Manager Plugin
  • what are you trying to achieve:
    Add a developer license to a containerized SonarQube instance running in Openshift/Kubernetes
  • what have you tried so far to achieve this:

Instance is fully deployed, we have been scanning projects successfully with no problems, however, we want to apply the Developer license into the instance. Our concern is that everytime a hard redeploy happens, we noticed that the Server ID might, or might not change, and that concerns us whether we’ll lose the license or not.

The sonarqube is running in a Kubernetes platform, therefore, the redeploying of the instance should not be a problem. By reading the documentation, it is mentioned that as long as the jdbc url doesn’t change, we shouldn’t have a problem, but the jdbc url has never changed, yet, the Server ID changed for us.

Thanks for the help!


The server ID scheme changed during the 7-series and that change was backported into the previous LTS in… 6.7.3? So at a minimum you need to upgrade to the latest version of the old LTS, or… you could upgrade to the latest version and current LTS, 7.9.1. Then you should end up with a server ID that works like the documentation (for the current version :wink:) says it does.