You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The charm config option "remove-unlisted-plugins" when set to true is intended to ensure plugins removed from charm juju config are removed and jenkins restarted.
However any time plugins are updated via juju config this setting seems to wipe all plugins before restoring, which causes unnecessary downtime:
juju config jenkins plugins="ansicolor apache-httpcomponents-client-4-api bazaar conditional-buildstep credentials credentials-binding display-url-api email-ext git github-api github git-client icon-shim jackson2-api javadoc jdk-tool jquery jsch junit mailer matrix-auth matrix-combinations-parameter matrix-project maven-plugin nodelabelparameter openid parameterized-trigger plain-credentials rebuild run-condition scm-api script-security structs token-macro workflow-api workflow-step-api workflow-scm-step"
2021-09-30 12:28:19 INFO juju-log Installing plugins (ansicolor bootstrap5-api nodelabelparameter openid git script-security git-client javadoc popper2-api jdk-tool snakeyaml-api plain-credentials echarts-api bootstrap4-api workflow-api github plugin-util-api parameterized-trigger token-macro icon-shim matrix-combinations-parameter checks-api jackson2-api workflow-support bazaar jsch openid4java run-condition apache-httpcomponents-client-4-api mailer github-api jquery workflow-scm-step trilead-api matrix-auth popper-api scm-api okhttp-api conditional-buildstep font-awesome-api display-url-api email-ext rebuild caffeine-api jquery3-api credentials structs credentials-binding junit workflow-step-api)
2021-09-30 12:28:19 INFO juju-log Plugin ansicolor-1.0.0 already installed
2021-09-30 12:28:19 INFO juju-log Plugin bootstrap5-api-5.1.1-1 already installed
2021-09-30 12:28:19 INFO juju-log Plugin nodelabelparameter-1.9.2 already installed
2021-09-30 12:28:19 INFO juju-log Plugin openid-2.4 already installed
2021-09-30 12:28:19 INFO juju-log Installing plugin git-4.8.2
2021-09-30 12:28:19 INFO juju-log Plugin script-security-1.78 already installed
2021-09-30 12:28:20 INFO juju-log Installing plugin git-client-3.9.0
2021-09-30 12:28:20 INFO juju-log Plugin javadoc-1.6 already installed
2021-09-30 12:28:20 INFO juju-log Plugin popper2-api-2.10.1-1 already installed
2021-09-30 12:28:20 INFO juju-log Plugin jdk-tool-1.5 already installed
2021-09-30 12:28:20 INFO juju-log Plugin snakeyaml-api-1.29.1 already installed
2021-09-30 12:28:21 INFO juju-log Plugin plain-credentials-1.7 already installed
2021-09-30 12:28:21 INFO juju-log Plugin echarts-api-5.1.2-11 already installed
2021-09-30 12:28:21 INFO juju-log Plugin bootstrap4-api-4.6.0-3 already installed
2021-09-30 12:28:21 INFO juju-log Plugin workflow-api-2.46 already installed
2021-09-30 12:28:22 INFO juju-log Installing plugin github-1.34.1
2021-09-30 12:28:22 INFO juju-log Installing plugin plugin-util-api-2.5.0
2021-09-30 12:28:22 INFO juju-log Installing plugin parameterized-trigger-2.41
2021-09-30 12:28:22 INFO juju-log Plugin token-macro-266.v44a80cf277fd already installed
2021-09-30 12:28:22 INFO juju-log Plugin icon-shim-3.0.0 already installed
2021-09-30 12:28:22 INFO juju-log Plugin matrix-combinations-parameter-1.3.1 already installed
2021-09-30 12:28:23 INFO juju-log Plugin checks-api-1.7.2 already installed
2021-09-30 12:28:23 INFO juju-log Plugin jackson2-api-2.12.4 already installed
2021-09-30 12:28:23 INFO juju-log Plugin workflow-support-3.8 already installed
2021-09-30 12:28:23 INFO juju-log Plugin bazaar-1.22 already installed
2021-09-30 12:28:23 INFO juju-log Installing plugin jsch-0.1.55.2
2021-09-30 12:28:23 INFO juju-log Plugin openid4java-0.9.8.0 already installed
2021-09-30 12:28:24 INFO juju-log Plugin run-condition-1.5 already installed
2021-09-30 12:28:24 INFO juju-log Plugin apache-httpcomponents-client-4-api-4.5.13-1.0 already installed
2021-09-30 12:28:24 INFO juju-log Plugin mailer-1.34 already installed
2021-09-30 12:28:24 INFO juju-log Plugin github-api-1.133 already installed
2021-09-30 12:28:24 INFO juju-log Plugin jquery-1.12.4-1 already installed
2021-09-30 12:28:24 INFO juju-log Plugin workflow-scm-step-2.13 already installed
2021-09-30 12:28:25 INFO juju-log Plugin trilead-api-1.0.13 already installed
2021-09-30 12:28:25 INFO juju-log Plugin matrix-auth-2.6.8 already installed
2021-09-30 12:28:25 INFO juju-log Plugin popper-api-1.16.1-2 already installed
2021-09-30 12:28:25 INFO juju-log Plugin scm-api-2.6.5 already installed
2021-09-30 12:28:25 INFO juju-log Plugin okhttp-api-3.14.9 already installed
2021-09-30 12:28:25 INFO juju-log Installing plugin conditional-buildstep-1.4.1
2021-09-30 12:28:26 INFO juju-log Plugin font-awesome-api-5.15.4-1 already installed
2021-09-30 12:28:26 INFO juju-log Plugin display-url-api-2.3.5 already installed
2021-09-30 12:28:26 INFO juju-log Plugin email-ext-2.83 already installed
2021-09-30 12:28:26 INFO juju-log Plugin rebuild-1.32 already installed
2021-09-30 12:28:26 INFO juju-log Plugin caffeine-api-2.9.2-29.v717aac953ff3 already installed
2021-09-30 12:28:27 INFO juju-log Plugin jquery3-api-3.6.0-2 already installed
2021-09-30 12:28:27 INFO juju-log Plugin credentials-2.6.1 already installed
2021-09-30 12:28:27 INFO juju-log Plugin structs-1.23 already installed
2021-09-30 12:28:27 INFO juju-log Installing plugin credentials-binding-1.27
2021-09-30 12:28:27 INFO juju-log Plugin junit-1.53 already installed
2021-09-30 12:28:27 INFO juju-log Plugin workflow-step-api-2.24 already installed
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/run-condition.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/jquery3-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/apache-httpcomponents-client-4-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/openid.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/windows-slaves.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/workflow-support.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/credentials-binding.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/matrix-combinations-parameter.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/okhttp-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/github-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/workflow-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/email-ext.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/git.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/junit.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/jackson2-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/openid4java.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/checks-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/javadoc.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/workflow-scm-step.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/ansicolor.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/jquery.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/parameterized-trigger.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/display-url-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/icon-shim.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/mailer.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/popper2-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/font-awesome-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/bazaar.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/token-macro.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/caffeine-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/jsch.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/plain-credentials.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/plugin-util-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/antisamy-markup-formatter.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/nodelabelparameter.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/command-launcher.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/ant.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/bouncycastle-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/structs.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/matrix-project.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/bootstrap4-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/github.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/snakeyaml-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/bootstrap5-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/trilead-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/jdk-tool.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/git-client.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/scm-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/external-monitor-job.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/pam-auth.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/ldap.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/workflow-step-api.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/conditional-buildstep.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/matrix-auth.jpi'
2021-09-30 12:28:27 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/rebuild.jpi'
2021-09-30 12:28:28 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/echarts-api.jpi'
2021-09-30 12:28:28 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/maven-plugin.jpi'
2021-09-30 12:28:28 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/popper-api.jpi'
2021-09-30 12:28:28 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/script-security.jpi'
2021-09-30 12:28:28 INFO juju-log Deleting unlisted plugin '/var/lib/jenkins/plugins/credentials.jpi'
2021-09-30 12:28:28 INFO juju-log Waiting for all jobs to complete and restarting jenkins
2021-09-30 12:30:48 ERROR juju-log Unknown error encountered while installing plugins, restoring jenkins to previous state. Error was: Error in request. Possibly authentication failed [500]: Server Error
....
The text was updated successfully, but these errors were encountered:
The charm config option "remove-unlisted-plugins" when set to true is intended to ensure plugins removed from charm juju config are removed and jenkins restarted.
However any time plugins are updated via juju config this setting seems to wipe all plugins before restoring, which causes unnecessary downtime:
The text was updated successfully, but these errors were encountered: