Issue
The pages crash with Angry Jenkins or feature that supposed to run in background does not appear to work. Logs show errors like:
2020-01-01 01:01:01.101+0000 [id=40] SEVERE hudson.triggers.SafeTimerTask#run: Timer task com.cloudbees.opscenter.server.rbac.ConnectedMasterProxyGroupContainer$NodeContextRBACUpdater@109dbeb2 failed
java.lang.ClassNotFoundException: jenkins.model.DownloadSettings
Caused: java.lang.NoClassDefFoundError: jenkins/model/DownloadSettings
2020-01-01 01:01:01.101+0000 [id=44] SEVERE hudson.triggers.SafeTimerTask#run: Timer task com.cloudbees.opscenter.server.model.ConnectedMaster$UpdateRemoteContexts@238a9
2bd failed
java.lang.NoClassDefFoundError: jenkins/model/DownloadSettings
Environment
- CloudBees CI (CloudBees Core)
- CloudBees CI (CloudBees Core) on modern cloud platforms - Managed Master
- CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
- CloudBees CI (CloudBees Core) on traditional platforms - Client Master
- CloudBees CI (CloudBees Core) on traditional platforms - Operations Center
- CloudBees Jenkins Enterprise
- CloudBees Jenkins Enterprise - Managed Master
- CloudBees Jenkins Enterprise - Operations Center
- CloudBees Jenkins Platform - Client Master
- CloudBees Jenkins Platform - Operations Center
- CloudBees Jenkins Distribution
- Jenkins LTS
Resolution
Make sure you are enrolled in CloudBees Assurance Program and resolve any violation where plugins are older than Beekeeper Upgrade Assistant expects.
Explanation
Jenkins LTS 2.204.1 removed browser-based metadata download settings which correspond to the jenkins/model/DownloadSettings
class. If you upgrade your instance to 2.204.1 or newer but do not update the plugins which used to use the removed API you would get errors like quoted above.
Examples of such plugins are:
0 Comments