Issue
-
After upgrading CloudBees CI to release
2.516.1.28665
, I am experiencing delays when logging in, and also notice some overall slowness in my daily performance. This issue has started at the same time the logs are printing the following:
WARNING c.c.c.l.t.c.IdentityStorageHandler#flush: Error writing identities com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `com.cloudbees.ci.license.tracker.model.Identity` from Null value (token `JsonToken.VALUE_NULL`) at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 64, column: 1] [...]
Workaround
Upgrade to CloudBees CI release 2.516.1.28669
, then uninstall the cloudbees-license-tracker-plugin
and restart the instance.
-
You can uninstall the plugin on your operations center and controllers by navigating to
, then searching for thecloudbees-license-tracker
and clicking on theUninstall
button and restart the instance. -
You can also uninstall the plugin on all controllers at once using a Cluster Operation:
-
Navigate to the operations center and choose
and choose a name for the job such as 'Uninstall cloudbees-license-tracker plugin from all controllers'. -
Under the
Operations
section, select -
Under
Source
, chooseFrom Operations Center Root
and any filter you want to apply, such asClient Controller / Managed Controller Is Online
-
Under
Steps
, choose and paste:def pluginShortName = "cloudbees-license-tracker" Jenkins jenkins = Jenkins.instance def pluginManager = jenkins.pluginManager def plugin = pluginManager.getPlugin(pluginShortName) if (plugin != null) { println "Uninstalling plugin: ${plugin.displayName}" plugin.doDoUninstall() println "Plugin ${plugin.displayName} uninstalled." } else { println "Plugin with short name ${pluginShortName} not found." }
-
Under
Steps
, choose if you wan to forcefully restart the controllers after the plugin is uninstalled, or you can choose to restart after builds are completed by choosing -
Run this cluster operation once
-
Alternatively, if you are still running 2.516.1.28665
, you can execute the snippet below under to forcibly regenerate the affected file. This does not require a restart.
def file = new File(Jenkins.instance.getRootDir(), 'com.cloudbees.ci.license.tracker.consolidation.IdentityStorage') println file.delete()
Tested product/plugin versions
-
CloudBees CI on modern cloud platforms - operations center - 2.516.1.28665
-
CloudBees CI on modern cloud platforms - managed controller - 2.516.1.28665
-
CloudBees CI on traditional platforms - operations center - 2.516.1.28665
-
CloudBees CI on traditional platforms - client controller - 2.516.1.28665