jenkinsci / helm-charts

Jenkins helm charts
https://artifacthub.io/packages/helm/jenkinsci/jenkins
Apache License 2.0
561 stars 888 forks source link

not able to install Jenkins by using jenkinsci/jenkins chart #104

Closed vpernankil closed 3 years ago

vpernankil commented 3 years ago

[vagrant@kmaster ~]$ helm version --short v3.3.4+ga61ce56 [vagrant@kmaster ~]$

[vagrant@kmaster ~]$ kubectl version --short Client Version: v1.19.3 Server Version: v1.19.3 [vagrant@kmaster ~]$

when i tryrough to install jenkins through helm3 i am seeing the below "connect refused" errors , the pods are getting restarted quiet often !!! is there any fix for this ?

Error:

[2020-10-22 06:14:30] Working on configmap jenkins/jenkins-jenkins-jcasc-config [2020-10-22 06:14:30] File in configmap jcasc-default-config.yaml ADDED [2020-10-22 06:14:30] Contents of jcasc-default-config.yaml haven't changed. Not overwriting existing file 2020-10-22 06:14:30,218 WARNING Retrying (Retry(total=4, connect=9, read=5, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff6e05ef110>: Failed to establish a new connection: [Errno 111] Connection refused')': /reload-configuration-as-code/?casc-reload-token=jenkins-c5854f8bf-r8g5h 2020-10-22 06:14:30,621 WARNING Retrying (Retry(total=3, connect=8, read=5, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff6e05ef790>: Failed to establish a new connection: [Errno 111] Connection refused')': /reload-configuration-as-code/?casc-reload-token=jenkins-c5854f8bf-r8g5h 2020-10-22 06:14:31,422 WARNING Retrying (Retry(total=2, connect=7, read=5, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff6e05efcd0>: Failed to establish a new connection: [Errno 111] Connection refused')': /reload-configuration-as-code/?casc-reload-token=jenkins-c5854f8bf-r8g5h 2020-10-22 06:14:33,026 WARNING Retrying (Retry(total=1, connect=6, read=5, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff6e05f4250>: Failed to establish a new connection: [Errno 111] Connection refused')': /reload-configuration-as-code/?casc-reload-token=jenkins-c5854f8bf-r8g5h 2020-10-22 06:14:36,232 WARNING Retrying (Retry(total=0, connect=5, read=5, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff6e05f4790>: Failed to establish a new connection: [Errno 111] Connection refused')': /reload-configuration-as-code/?casc-reload-token=jenkins-c5854f8bf-r8g5h [2020-10-22 06:14:46] POST request sent to http://localhost:8080/reload-configuration-as-code/?casc-reload-token=jenkins-c5854f8bf-r8g5h. Response: 500 Server Error Error 500

Status Code: 500

Exception: class hudson.security.csrf.DefaultCrumbIssuer is missing its descriptor
Stacktrace:
java.lang.AssertionError: class hudson.security.csrf.DefaultCrumbIssuer is missing its descriptor
        at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1600)
        at hudson.security.csrf.CrumbIssuer.getDescriptor(CrumbIssuer.java:152)
        at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:131)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
        at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:169)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
        at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:51)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
        at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
        at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
        at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1369)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1284)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
        at org.eclipse.jetty.server.Server.handle(Server.java:501)
        at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
        at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:272)
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
        at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
        at java.lang.Thread.run(Thread.java:748)


Generated by Stapler at Thu Oct 22 06:14:45 UTC 2020 [vagrant@kmaster ~]$
mehyedes commented 3 years ago

I am facing the same issue. Seeing similar errors in the logs of the jenkins-sc-config container. Jenkins starts but no configuration is loaded.

torstenwalter commented 3 years ago

Without used values, used chart version and logs from different containers it's pretty hard to help. Ideally you could provide a small values.yaml file, which contains only settings which you changed compared to ones from the helm chart.

Which command did you use to install the chart? What are logs from different containers?

mehyedes commented 3 years ago

Hi @torstenwalter, thanks for the response. Sorry, I just did not want to hijack the issue :)

Please find below the required information:

The helm version:

helm version
version.BuildInfo{Version:"v3.2.2", GitCommit:"a6ea66349ae3015618da4f547677a14b9ecc09b3", GitTreeState:"clean", GoVersion:"go1.13.12"}

Below is the installed version of the chart

NAME        NAMESPACE   REVISION    UPDATED                                 STATUS      CHART               APP VERSION
jenkins     default     1           2020-11-10 09:34:17.625745 +0100 CET    deployed    jenkins-2.17.0      lts
The values.yaml file ``` master: useSecurity: false adminUser: admin adminPassword: admin numExecutors: 1 jenkinsUrl: https://jenkins:8080 installPlugins: - kubernetes:1.27.5 - workflow-job:2.40 - workflow-multibranch:2.22 - workflow-aggregator:2.6 - credentials-binding:1.24 - git:4.4.5 - github:1.32.0 - junit:1.43 - lockable-resources:2.10 - command-launcher:1.3 - github-branch-source:2.9.1 - docker-workflow:1.24 - docker-commons:1.17 - checks-api:1.1.0 - pipeline-utility-steps:2.6.1 - job-dsl:latest overwritePlugins: true csrf: defaultCrumbIssuer: enabled: false JCasC: enabled: true defaultConfig: true configScripts: jobs-config: | jobs: - script: > pipelineJob('deploy-app') { displayName('Build & Deploy NodeJS hello App') definition { cpsScm { scm { git { remote { url('REPO_URL') } branches('*/main') } } scriptPath('Jenkinsfile') } } } persistence: enabled: false ```

The command used to install the chart:

helm upgrade --install jenkins jenkins/jenkins -f values/jenkins.yaml
Release "jenkins" does not exist. Installing it now.
NAME: jenkins
LAST DEPLOYED: Tue Nov 10 09:34:17 2020
NAMESPACE: default
STATUS: deployed
REVISION: 1
NOTES:
1. Get your 'admin' user password by running:
  printf $(kubectl get secret --namespace default jenkins -o jsonpath="{.data.jenkins-admin-password}" | base64 --decode);echo
2. Get the Jenkins URL to visit by running these commands in the same shell:
  export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/component=jenkins-master" -l "app.kubernetes.io/instance=jenkins" -o jsonpath="{.items[0].metadata.name}")
  echo http://127.0.0.1:8080
  kubectl --namespace default port-forward $POD_NAME 8080:8080

3. Login with the password from step 1 and the username: admin

4. Use Jenkins Configuration as Code by specifying configScripts in your values.yaml file, see documentation: http:///configuration-as-code and examples: https://github.com/jenkinsci/configuration-as-code-plugin/tree/master/demos

For more information on running Jenkins on Kubernetes, visit:
https://cloud.google.com/solutions/jenkins-on-container-engine
For more information about Jenkins Configuration as Code, visit:
https://jenkins.io/projects/jcasc/
#################################################################################
######   WARNING: Persistence is disabled!!! You will lose your data when   #####
######            the Jenkins pod is terminated.                            #####
#################################################################################

The logs of the different containers:

jenkins-sc-config logs ``` [2020-11-10 08:35:03] Starting collector [2020-11-10 08:35:03] No folder annotation was provided, defaulting to k8s-sidecar-target-directory [2020-11-10 08:35:03] Selected resource type: ('configmap',) [2020-11-10 08:35:03] Config for cluster api loaded... [2020-11-10 08:35:03] Unique filenames will not be enforced. [2020-11-10 08:35:08] Working on configmap default/jenkins-jenkins-config-jobs-config [2020-11-10 08:35:08] File in configmap jobs-config.yaml ADDED 2020-11-10 08:35:08,265 WARNING Retrying (Retry(total=4, connect=9, read=5, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /reload-configuration-as-code/?casc-reload-token=jenkins-7cf7b78d79-gwck4 2020-11-10 08:35:08,667 WARNING Retrying (Retry(total=3, connect=8, read=5, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /reload-configuration-as-code/?casc-reload-token=jenkins-7cf7b78d79-gwck4 2020-11-10 08:35:09,469 WARNING Retrying (Retry(total=2, connect=7, read=5, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /reload-configuration-as-code/?casc-reload-token=jenkins-7cf7b78d79-gwck4 [2020-11-10 08:35:10] POST request sent to http://localhost:8080/reload-configuration-as-code/?casc-reload-token=jenkins-7cf7b78d79-gwck4. Response: 500 Server Error Error 500

Status Code: 500

Exception: class hudson.security.csrf.DefaultCrumbIssuer is missing its descriptor
Stacktrace:
java.lang.AssertionError: class hudson.security.csrf.DefaultCrumbIssuer is missing its descriptor
    at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1600)
    at hudson.security.csrf.CrumbIssuer.getDescriptor(CrumbIssuer.java:152)
    at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:131)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
    at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:169)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
    at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:51)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
    at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
    at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
    at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1369)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1284)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
    at org.eclipse.jetty.server.Server.handle(Server.java:501)
    at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
    at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:272)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
    at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
    at java.lang.Thread.run(Thread.java:748)


Generated by Stapler at Tue Nov 10 08:35:10 UTC 2020 [2020-11-10 08:35:10] Working on configmap default/jenkins-jenkins-jcasc-config [2020-11-10 08:35:10] File in configmap jcasc-default-config.yaml ADDED [2020-11-10 08:35:10] POST request sent to http://localhost:8080/reload-configuration-as-code/?casc-reload-token=jenkins-7cf7b78d79-gwck4. Response: 500 Server Error Error 500

Status Code: 500

Exception: class hudson.security.csrf.DefaultCrumbIssuer is missing its descriptor
Stacktrace:
java.lang.AssertionError: class hudson.security.csrf.DefaultCrumbIssuer is missing its descriptor
    at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1600)
    at hudson.security.csrf.CrumbIssuer.getDescriptor(CrumbIssuer.java:152)
    at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:131)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
    at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:169)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
    at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:51)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
    at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
    at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
    at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1369)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1284)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
    at org.eclipse.jetty.server.Server.handle(Server.java:501)
    at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
    at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:272)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
    at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:135)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
    at java.lang.Thread.run(Thread.java:748)


Generated by Stapler at Tue Nov 10 08:35:10 UTC 2020 ```
copy-default-config logs ``` applying Jenkins configuration disable Setup Wizard remove all plugins from shared volume download plugins WARN: install-plugins.sh is deprecated, please switch to jenkins-plugin-cli Creating initial locks... Analyzing war /usr/share/jenkins/jenkins.war... Registering preinstalled plugins... Using version-specific update center: https://updates.jenkins.io/dynamic-2.248/... Downloading plugins... Downloading plugin: kubernetes from https://updates.jenkins.io/download/plugins/kubernetes/1.27.5/kubernetes.hpi Downloading plugin: workflow-job from https://updates.jenkins.io/download/plugins/workflow-job/2.40/workflow-job.hpi Downloading plugin: workflow-multibranch from https://updates.jenkins.io/download/plugins/workflow-multibranch/2.22/workflow-multibranch.hpi Downloading plugin: workflow-aggregator from https://updates.jenkins.io/download/plugins/workflow-aggregator/2.6/workflow-aggregator.hpi Downloading plugin: junit from https://updates.jenkins.io/download/plugins/junit/1.43/junit.hpi Downloading plugin: checks-api from https://updates.jenkins.io/download/plugins/checks-api/1.1.0/checks-api.hpi Downloading plugin: lockable-resources from https://updates.jenkins.io/download/plugins/lockable-resources/2.10/lockable-resources.hpi Downloading plugin: job-dsl from https://updates.jenkins.io/dynamic-2.248//latest/job-dsl.hpi Downloading plugin: credentials-binding from https://updates.jenkins.io/download/plugins/credentials-binding/1.24/credentials-binding.hpi Downloading plugin: docker-commons from https://updates.jenkins.io/download/plugins/docker-commons/1.17/docker-commons.hpi Downloading plugin: command-launcher from https://updates.jenkins.io/download/plugins/command-launcher/1.3/command-launcher.hpi Downloading plugin: github-branch-source from https://updates.jenkins.io/download/plugins/github-branch-source/2.9.1/github-branch-source.hpi Downloading plugin: docker-workflow from https://updates.jenkins.io/download/plugins/docker-workflow/1.24/docker-workflow.hpi Downloading plugin: pipeline-utility-steps from https://updates.jenkins.io/download/plugins/pipeline-utility-steps/2.6.1/pipeline-utility-steps.hpi Downloading plugin: git from https://updates.jenkins.io/download/plugins/git/4.4.5/git.hpi Downloading plugin: github from https://updates.jenkins.io/download/plugins/github/1.32.0/github.hpi > workflow-aggregator depends on lockable-resources:2.3,pipeline-stage-view:2.10,workflow-api:2.29,workflow-basic-steps:2.11,workflow-cps-global-lib:2.11,workflow-cps:2.56,workflow-durable-task-step:2.22,workflow-job:2.25,workflow-multibranch:2.20,workflow-scm-step:2.6,workflow-step-api:2.16,workflow-support:2.20,cloudbees-folder:6.6,credentials:2.1.18,git-client:2.7.3,jackson2-api:2.8.11.3,pipeline-build-step:2.7,pipeline-input-step:2.8,pipeline-milestone-step:1.3.1,pipeline-stage-step:2.3,scm-api:2.2.8,structs:1.15,pipeline-model-definition:1.3.2 Downloading plugin: pipeline-stage-view from https://updates.jenkins.io/dynamic-2.248//latest/pipeline-stage-view.hpi Downloading plugin: workflow-api from https://updates.jenkins.io/dynamic-2.248//latest/workflow-api.hpi Downloading plugin: workflow-basic-steps from https://updates.jenkins.io/dynamic-2.248//latest/workflow-basic-steps.hpi Downloading plugin: workflow-cps-global-lib from https://updates.jenkins.io/dynamic-2.248//latest/workflow-cps-global-lib.hpi Downloading plugin: workflow-cps from https://updates.jenkins.io/dynamic-2.248//latest/workflow-cps.hpi > checks-api depends on plugin-util-api:1.4.0,workflow-cps:2.83,workflow-job:2.40,workflow-step-api:2.23 Downloading plugin: workflow-durable-task-step from https://updates.jenkins.io/dynamic-2.248//latest/workflow-durable-task-step.hpi Downloading plugin: plugin-util-api from https://updates.jenkins.io/dynamic-2.248//latest/plugin-util-api.hpi > junit depends on bootstrap4-api:4.5.3-1,checks-api:1.0.3,echarts-api:4.9.0-2,plugin-util-api:1.4.0,workflow-api:2.40,workflow-step-api:2.23,display-url-api:2.3.3,jackson2-api:2.11.3,script-security:1.74,structs:1.20 > docker-workflow depends on workflow-basic-steps:2.20,workflow-cps:2.80,workflow-durable-task-step:2.35,workflow-step-api:2.22,cloudbees-folder:6.14,docker-commons:1.14,pipeline-model-extensions:1.5.1 Downloading plugin: workflow-scm-step from https://updates.jenkins.io/dynamic-2.248//latest/workflow-scm-step.hpi > docker-commons depends on authentication-tokens:1.3,credentials-binding:1.23,credentials:2.3.9,structs:1.20,pipeline-model-extensions:1.3.8;resolution:=optional Downloading plugin: bootstrap4-api from https://updates.jenkins.io/dynamic-2.248//latest/bootstrap4-api.hpi Downloading plugin: workflow-step-api from https://updates.jenkins.io/dynamic-2.248//latest/workflow-step-api.hpi > workflow-multibranch depends on workflow-api:2.40,workflow-cps:2.80,workflow-job:2.39,workflow-scm-step:2.11,workflow-step-api:2.22,workflow-support:3.5,branch-api:2.5.6,cloudbees-folder:6.14,scm-api:2.6.3,script-security:1.73,structs:1.20 Downloading plugin: workflow-support from https://updates.jenkins.io/dynamic-2.248//latest/workflow-support.hpi Downloading plugin: authentication-tokens from https://updates.jenkins.io/dynamic-2.248//latest/authentication-tokens.hpi > kubernetes depends on workflow-api:2.40,workflow-cps:2.83;resolution:=optional,workflow-step-api:2.22,authentication-tokens:1.4,cloudbees-folder:6.14,credentials:2.3.13,durable-task:1.34,jackson2-api:2.11.2,kubernetes-client-api:4.11.1,plain-credentials:1.7,structs:1.20,variant:1.3,kubernetes-credentials:0.7.0,pipeline-model-extensions:1.7.2;resolution:=optional Downloading plugin: cloudbees-folder from https://updates.jenkins.io/dynamic-2.248//latest/cloudbees-folder.hpi > pipeline-utility-steps depends on workflow-api:2.31,workflow-cps:2.58;resolution:=optional,workflow-step-api:2.19,scm-api:2.2.6,script-security:1.46,structs:1.17 Downloading plugin: credentials from https://updates.jenkins.io/dynamic-2.248//latest/credentials.hpi Downloading plugin: echarts-api from https://updates.jenkins.io/dynamic-2.248//latest/echarts-api.hpi Skipping optional dependency workflow-cps > git depends on configuration-as-code:1.36;resolution:=optional,workflow-scm-step:2.11,workflow-step-api:2.23,credentials:2.3.11,git-client:3.5.1,mailer:1.32.1,matrix-project:1.18;resolution:=optional,parameterized-trigger:2.35.1;resolution:=optional,promoted-builds:3.2;resolution:=optional,scm-api:2.6.4,script-security:1.75,ssh-credentials:1.18.1,structs:1.20,token-macro:2.12;resolution:=optional Downloading plugin: git-client from https://updates.jenkins.io/dynamic-2.248//latest/git-client.hpi Skipping optional dependency configuration-as-code > workflow-job depends on workflow-api:2.40,workflow-step-api:2.22,workflow-support:3.4 Skipping optional dependency workflow-cps Skipping optional dependency pipeline-model-extensions Downloading plugin: structs from https://updates.jenkins.io/dynamic-2.248//latest/structs.hpi Downloading plugin: jackson2-api from https://updates.jenkins.io/dynamic-2.248//latest/jackson2-api.hpi > job-dsl depends on structs:1.19,script-security:1.54,vsphere-cloud:1.1.11;resolution:=optional,config-file-provider:2.15.4;resolution:=optional,managed-scripts:1.3;resolution:=optional,configuration-as-code:1.15;resolution:=optional Downloading plugin: pipeline-build-step from https://updates.jenkins.io/dynamic-2.248//latest/pipeline-build-step.hpi > lockable-resources depends on workflow-support:3.4,mailer:1.18,matrix-project:1.14,script-security:1.62,structs:1.20 Downloading plugin: display-url-api from https://updates.jenkins.io/dynamic-2.248//latest/display-url-api.hpi Downloading plugin: pipeline-model-extensions from https://updates.jenkins.io/dynamic-2.248//latest/pipeline-model-extensions.hpi Downloading plugin: pipeline-input-step from https://updates.jenkins.io/dynamic-2.248//latest/pipeline-input-step.hpi Downloading plugin: scm-api from https://updates.jenkins.io/dynamic-2.248//latest/scm-api.hpi Skipping optional dependency vsphere-cloud Skipping optional dependency config-file-provider Downloading plugin: script-security from https://updates.jenkins.io/dynamic-2.248//latest/script-security.hpi Skipping optional dependency managed-scripts Downloading plugin: branch-api from https://updates.jenkins.io/dynamic-2.248//latest/branch-api.hpi Downloading plugin: pipeline-milestone-step from https://updates.jenkins.io/dynamic-2.248//latest/pipeline-milestone-step.hpi Skipping optional dependency configuration-as-code Downloading plugin: mailer from https://updates.jenkins.io/dynamic-2.248//latest/mailer.hpi > credentials-binding depends on workflow-step-api:2.23,credentials:2.3.11,plain-credentials:1.7,ssh-credentials:1.17.4,structs:1.20 > command-launcher depends on script-security:1.36 Downloading plugin: pipeline-stage-step from https://updates.jenkins.io/dynamic-2.248//latest/pipeline-stage-step.hpi Downloading plugin: durable-task from https://updates.jenkins.io/dynamic-2.248//latest/durable-task.hpi Downloading plugin: matrix-project from https://updates.jenkins.io/dynamic-2.248//latest/matrix-project.hpi Skipping optional dependency matrix-project Skipping optional dependency parameterized-trigger > github-branch-source depends on github:1.31.0,workflow-support:3.5,github-api:1.116,jackson2-api:2.10.2 Skipping optional dependency promoted-builds > github depends on credentials:2.1.13,display-url-api:2.0,git:3.4.0,github-api:1.114.2,plain-credentials:1.1,scm-api:2.2.0,structs:1.17,token-macro:1.12.1 Downloading plugin: kubernetes-client-api from https://updates.jenkins.io/dynamic-2.248//latest/kubernetes-client-api.hpi Downloading plugin: plain-credentials from https://updates.jenkins.io/dynamic-2.248//latest/plain-credentials.hpi Downloading plugin: pipeline-model-definition from https://updates.jenkins.io/dynamic-2.248//latest/pipeline-model-definition.hpi Downloading plugin: ssh-credentials from https://updates.jenkins.io/dynamic-2.248//latest/ssh-credentials.hpi Downloading plugin: variant from https://updates.jenkins.io/dynamic-2.248//latest/variant.hpi Skipping optional dependency pipeline-model-extensions Downloading plugin: kubernetes-credentials from https://updates.jenkins.io/dynamic-2.248//latest/kubernetes-credentials.hpi Skipping optional dependency token-macro Downloading plugin: github-api from https://updates.jenkins.io/dynamic-2.248//latest/github-api.hpi Downloading plugin: token-macro from https://updates.jenkins.io/dynamic-2.248//latest/token-macro.hpi > pipeline-stage-view depends on pipeline-rest-api:2.18,workflow-api:2.24,workflow-job:2.12,handlebars:1.1.1,jquery-detached:1.2.1,momentjs:1.1 Downloading plugin: pipeline-rest-api from https://updates.jenkins.io/dynamic-2.248//latest/pipeline-rest-api.hpi Downloading plugin: handlebars from https://updates.jenkins.io/dynamic-2.248//latest/handlebars.hpi Downloading plugin: jquery-detached from https://updates.jenkins.io/dynamic-2.248//latest/jquery-detached.hpi Downloading plugin: momentjs from https://updates.jenkins.io/dynamic-2.248//latest/momentjs.hpi > workflow-durable-task-step depends on workflow-api:2.40,workflow-step-api:2.22,workflow-support:3.5,durable-task:1.34,scm-api:2.6.3,script-security:1.73,structs:1.20 > workflow-cps-global-lib depends on workflow-api:2.40,workflow-cps:2.80,workflow-step-api:2.22,workflow-support:3.4,cloudbees-folder:6.11.1,credentials:2.3.5,git-server:1.9,scm-api:2.6.3,script-security:1.71,structs:1.20 > workflow-cps depends on workflow-api:2.40,workflow-scm-step:2.11,workflow-step-api:2.23,workflow-support:3.6,scm-api:2.6.4,script-security:1.75,structs:1.20,support-core:2.43;resolution:=optional,ace-editor:1.1 Downloading plugin: git-server from https://updates.jenkins.io/dynamic-2.248//latest/git-server.hpi Skipping optional dependency support-core Downloading plugin: ace-editor from https://updates.jenkins.io/dynamic-2.248//latest/ace-editor.hpi > workflow-scm-step depends on workflow-step-api:2.9 > bootstrap4-api depends on font-awesome-api:5.15.1-1,jquery3-api:3.5.1-2,popper-api:1.16.0-7 Downloading plugin: font-awesome-api from https://updates.jenkins.io/dynamic-2.248//latest/font-awesome-api.hpi Downloading plugin: jquery3-api from https://updates.jenkins.io/dynamic-2.248//latest/jquery3-api.hpi Downloading plugin: popper-api from https://updates.jenkins.io/dynamic-2.248//latest/popper-api.hpi > cloudbees-folder depends on credentials:2.3.5;resolution:=optional Skipping optional dependency credentials > credentials depends on configuration-as-code:1.35;resolution:=optional,structs:1.20 Skipping optional dependency configuration-as-code > git-client depends on configuration-as-code:1.36;resolution:=optional,apache-httpcomponents-client-4-api:4.5.10-2.0,credentials:2.3.11,jsch:0.1.55.2,script-security:1.74,ssh-credentials:1.18.1,structs:1.20,trilead-api:1.0.8 Skipping optional dependency configuration-as-code Downloading plugin: apache-httpcomponents-client-4-api from https://updates.jenkins.io/dynamic-2.248//latest/apache-httpcomponents-client-4-api.hpi Downloading plugin: jsch from https://updates.jenkins.io/dynamic-2.248//latest/jsch.hpi > workflow-step-api depends on structs:1.20 Downloading plugin: trilead-api from https://updates.jenkins.io/dynamic-2.248//latest/trilead-api.hpi > pipeline-model-extensions depends on workflow-cps:2.81,workflow-job:2.39,credentials-binding:1.23,credentials:2.3.7,pipeline-stage-step:2.3,pipeline-model-api:1.7.2 Downloading plugin: pipeline-model-api from https://updates.jenkins.io/dynamic-2.248//latest/pipeline-model-api.hpi > scm-api depends on structs:1.20 > pipeline-input-step depends on workflow-api:2.40,workflow-step-api:2.22,workflow-support:3.5,credentials:2.3.9,structs:1.20 > echarts-api depends on jquery3-api:3.5.1-2,plugin-util-api:1.4.0,jackson2-api:2.11.1 > jackson2-api depends on snakeyaml-api:1.26.4 Downloading plugin: snakeyaml-api from https://updates.jenkins.io/dynamic-2.248//latest/snakeyaml-api.hpi > ssh-credentials depends on credentials:2.2.0,trilead-api:1.0.5 > pipeline-model-definition depends on workflow-api:2.40,workflow-basic-steps:2.20,workflow-cps-global-lib:2.16,workflow-cps:2.81,workflow-durable-task-step:2.35,workflow-multibranch:2.16,workflow-scm-step:2.11,workflow-support:3.4,credentials-binding:1.23,credentials:2.3.7,docker-workflow:1.22;resolution:=optional,git-client:3.2.1,mailer:1.32,pipeline-input-step:2.11,pipeline-stage-step:2.3,scm-api:2.6.3,structs:1.20,pipeline-model-api:1.7.2,pipeline-model-extensions:1.7.2,pipeline-stage-tags-metadata:1.7.2 Skipping optional dependency docker-workflow Downloading plugin: pipeline-stage-tags-metadata from https://updates.jenkins.io/dynamic-2.248//latest/pipeline-stage-tags-metadata.hpi > pipeline-build-step depends on workflow-api:2.40,workflow-step-api:2.22,workflow-support:3.5,script-security:1.73,structs:1.20 > pipeline-stage-step depends on workflow-api:2.40,workflow-step-api:2.22 > token-macro depends on workflow-step-api:2.14,structs:1.14 > font-awesome-api depends on plugin-util-api:1.4.0 > kubernetes-credentials depends on apache-httpcomponents-client-4-api:4.5.5-3.0,authentication-tokens:1.3,credentials:2.3.5,docker-commons:1.14;resolution:=optional,google-oauth-plugin:0.8;resolution:=optional,jackson2-api:2.11.0,kubernetes-client-api:4.9.2-2,plain-credentials:1.6;resolution:=optional Skipping optional dependency docker-commons Skipping optional dependency google-oauth-plugin Skipping optional dependency plain-credentials > plain-credentials depends on credentials:2.2.0 > workflow-api depends on workflow-step-api:2.16,scm-api:2.2.6,structs:1.17 > pipeline-model-api depends on workflow-step-api:2.22,jackson2-api:2.9.8,structs:1.20 > matrix-project depends on junit:1.29,script-security:1.71 > workflow-support depends on workflow-api:2.40,workflow-step-api:2.23,scm-api:2.6.4,script-security:1.75 > pipeline-milestone-step depends on workflow-api:2.11,workflow-step-api:2.9 > pipeline-stage-tags-metadata depends on workflow-api:2.40 > github-api depends on okhttp-api:3.14.9,jackson2-api:2.10.2 Downloading plugin: okhttp-api from https://updates.jenkins.io/dynamic-2.248//latest/okhttp-api.hpi > authentication-tokens depends on credentials:1.22 > jsch depends on ssh-credentials:1.14,trilead-api:1.0.5 > workflow-basic-steps depends on workflow-api:2.40,workflow-durable-task-step:2.31,workflow-step-api:2.22,apache-httpcomponents-client-4-api:4.5.10-2.0,mailer:1.32,structs:1.20 > kubernetes-client-api depends on snakeyaml-api:1.26.4,bouncycastle-api:2.18,jackson2-api:2.11.2 Downloading plugin: bouncycastle-api from https://updates.jenkins.io/dynamic-2.248//latest/bouncycastle-api.hpi > git-server depends on git-client:2.7.6 > branch-api depends on cloudbees-folder:6.14,scm-api:2.6.4 > mailer depends on display-url-api:2.3.1 > pipeline-rest-api depends on workflow-api:2.24,workflow-job:2.12,workflow-step-api:2.14,workflow-support:2.14,jackson2-api:2.9.9.1,pipeline-graph-analysis:1.4,pipeline-input-step:2.8,pipeline-stage-step:2.3 Downloading plugin: pipeline-graph-analysis from https://updates.jenkins.io/dynamic-2.248//latest/pipeline-graph-analysis.hpi > pipeline-graph-analysis depends on workflow-api:2.34,workflow-cps:2.65,workflow-job:2.32,workflow-step-api:2.19,workflow-support:3.2,pipeline-input-step:2.8,pipeline-stage-step:2.3,scm-api:2.2.7,structs:1.17 WAR bundled plugins: Installed plugins: ace-editor:1.1 apache-httpcomponents-client-4-api:4.5.10-2.0 authentication-tokens:1.4 bootstrap4-api:4.5.3-1 bouncycastle-api:2.18 branch-api:2.6.1 checks-api:1.1.0 cloudbees-folder:6.14 command-launcher:1.3 credentials-binding:1.24 credentials:2.3.13 display-url-api:2.3.3 docker-commons:1.17 docker-workflow:1.24 durable-task:1.35 echarts-api:4.9.0-2 font-awesome-api:5.15.1-1 git-client:3.5.1 git-server:1.9 git:4.4.5 github-api:1.116 github-branch-source:2.9.1 github:1.32.0 handlebars:1.1.1 jackson2-api:2.11.3 job-dsl:1.77 jquery-detached:1.2.1 jquery3-api:3.5.1-2 jsch:0.1.55.2 junit:1.43 kubernetes-client-api:4.11.1 kubernetes-credentials:0.7.0 kubernetes:1.27.5 lockable-resources:2.10 mailer:1.32.1 matrix-project:1.18 momentjs:1.1.1 okhttp-api:3.14.9 pipeline-build-step:2.13 pipeline-graph-analysis:1.10 pipeline-input-step:2.12 pipeline-milestone-step:1.3.1 pipeline-model-api:1.7.2 pipeline-model-definition:1.7.2 pipeline-model-extensions:1.7.2 pipeline-rest-api:2.18 pipeline-stage-step:2.5 pipeline-stage-tags-metadata:1.7.2 pipeline-stage-view:2.18 pipeline-utility-steps:2.6.1 plain-credentials:1.7 plugin-util-api:1.4.0 popper-api:1.16.0-7 scm-api:2.6.4 script-security:1.75 snakeyaml-api:1.27.0 ssh-credentials:1.18.1 structs:1.20 token-macro:2.12 trilead-api:1.0.12 variant:1.3 workflow-aggregator:2.6 workflow-api:2.40 workflow-basic-steps:2.21 workflow-cps-global-lib:2.17 workflow-cps:2.85 workflow-durable-task-step:2.36 workflow-job:2.40 workflow-multibranch:2.22 workflow-scm-step:2.11 workflow-step-api:2.23 workflow-support:3.6 Cleaning up locks copy plugins to shared volume finished initialization ```
jenkins logs ``` Running from: /usr/share/jenkins/jenkins.war webroot: EnvVars.masterEnvVars.get("JENKINS_HOME") 2020-11-10 08:35:04.894+0000 [id=1] INFO org.eclipse.jetty.util.log.Log#initialized: Logging initialized @896ms to org.eclipse.jetty.util.log.JavaUtilLog 2020-11-10 08:35:05.190+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file 2020-11-10 08:35:07.470+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath 2020-11-10 08:35:07.617+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-9.4.30.v20200611; built: 2020-06-11T12:34:51.929Z; git: 271836e4c1f4612f12b7bb13ef5a92a927634b0d; jvm 1.8.0_242-b08 2020-11-10 08:35:08.118+0000 [id=1] INFO o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 2020-11-10 08:35:08.222+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: DefaultSessionIdManager workerName=node0 2020-11-10 08:35:08.222+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: No SessionScavenger set, using defaults 2020-11-10 08:35:08.244+0000 [id=1] INFO o.e.j.server.session.HouseKeeper#startScavenging: node0 Scavenging every 660000ms 2020-11-10 08:35:09.116+0000 [id=1] INFO hudson.WebAppMain#contextInitialized: Jenkins home directory: /var/jenkins_home found at: EnvVars.masterEnvVars.get("JENKINS_HOME") 2020-11-10 08:35:09.350+0000 [id=1] INFO o.e.j.s.handler.ContextHandler#doStart: Started w.@733c423e{Jenkins v2.249.3,/,file:///var/jenkins_home/war/,AVAILABLE}{/var/jenkins_home/war} 2020-11-10 08:35:09.470+0000 [id=1] INFO o.e.j.server.AbstractConnector#doStart: Started ServerConnector@387a8303{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} 2020-11-10 08:35:09.470+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: Started @5475ms 2020-11-10 08:35:09.473+0000 [id=20] INFO winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled 2020-11-10 08:35:12.363+0000 [id=28] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization 2020-11-10 08:35:12.761+0000 [id=26] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/jenkins_home/plugins/jdk-tool.jpi 2020-11-10 08:35:14.956+0000 [id=26] WARNING hudson.ClassicPluginStrategy#createClassJarFromWebInfClasses: Created /var/jenkins_home/plugins/job-dsl/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness 2020-11-10 08:35:18.525+0000 [id=26] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins 2020-11-10 08:35:29.511+0000 [id=26] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins 2020-11-10 08:35:29.523+0000 [id=27] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins 2020-11-10 08:35:33.356+0000 [id=28] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions 2020-11-10 08:35:33.451+0000 [id=29] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded 2020-11-10 08:35:33.454+0000 [id=26] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted 2020-11-10 08:35:33.471+0000 [id=28] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs 2020-11-10 08:35:33.473+0000 [id=26] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated 2020-11-10 08:35:33.534+0000 [id=42] INFO hudson.model.AsyncPeriodicWork#lambda$doRun$0: Started Download metadata 2020-11-10 08:35:33.613+0000 [id=42] INFO hudson.util.Retrier#start: Attempt #1 to do the action check updates server 2020-11-10 08:35:34.015+0000 [id=28] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization 2020-11-10 08:35:34.340+0000 [id=19] INFO hudson.WebAppMain$3#run: Jenkins is fully up and running 2020-11-10 08:35:45.511+0000 [id=42] INFO h.m.DownloadService$Downloadable#load: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller 2020-11-10 08:35:47.620+0000 [id=42] INFO h.m.DownloadService$Downloadable#load: Obtained the updated data file for hudson.tools.JDKInstaller 2020-11-10 08:35:47.620+0000 [id=42] INFO hudson.util.Retrier#start: Performed the action check updates server successfully at the attempt #1 2020-11-10 08:35:47.592+0000 [id=42] INFO hudson.model.AsyncPeriodicWork#lambda$doRun$0: Finished Download metadata. 14,043 ms 2020-11-10 08:37:34.231+0000 [id=66] INFO hudson.model.AsyncPeriodicWork#lambda$doRun$0: Started Periodic background build discarder 2020-11-10 08:37:34.233+0000 [id=66] INFO hudson.model.AsyncPeriodicWork#lambda$doRun$0: Finished Periodic background build discarder. 1 ms ```

EDIT: Please note that I have also tried with csrf.defaultCrumbIssuer.enabled=true.

mehyedes commented 3 years ago

I have managed to get the chart working after some trial and error with the values. So it's definitely not a bug, but rather a configuration issue from my side. It seems that this error

[2020-11-10 08:35:10] POST request sent to http://localhost:8080/reload-configuration-as-code/?casc-reload-token=jenkins-7cf7b78d79-gwck4. Response: 500 Server Error <html><head><title>Error 500</title></head>
<body bgcolor=#fff><h1>Status Code: 500</h1>Exception: class hudson.security.csrf.DefaultCrumbIssuer is missing its descriptor<br>Stacktrace: <pre>java.lang.AssertionError: class hudson.security.csrf.DefaultCrumbIssuer is missing its descriptor
    at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1600)
    at hudson.security.csrf.CrumbIssuer.getDescriptor(CrumbIssuer.java:152)
    at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:131)

shows up because the plugins were not being even installed during the startup of jenkins.

As a side note, I have struggled with the plugin installation and it appears that there is a general issue with jenkins(see tweet). So for anyone who had the same issue, I was able to get around that by changing the download mirror using in the values file as follows:

master:
  initContainerEnv:
    - name: JENKINS_UC_DOWNLOAD
      value: http://ftp-nyc.osuosl.org/pub/jenkins
vpernankil commented 3 years ago

Where u able to create Jenkin slave pods ? For me it is still not working

On Sat, Nov 14, 2020, 2:36 AM mehyedes notifications@github.com wrote:

I have managed to get the chart working after some trial and error with the values. So it's definitely not a bug from my side, but rather a configuration issue. It seems that this error

[2020-11-10 08:35:10] POST request sent to http://localhost:8080/reload-configuration-as-code/?casc-reload-token=jenkins-7cf7b78d79-gwck4. Response: 500 Server Error Error 500

Status Code: 500

Exception: class hudson.security.csrf.DefaultCrumbIssuer is missing its descriptor
Stacktrace:
java.lang.AssertionError: class hudson.security.csrf.DefaultCrumbIssuer is missing its descriptor
  at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1600)
  at hudson.security.csrf.CrumbIssuer.getDescriptor(CrumbIssuer.java:152)
  at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:131)

shows up because the plugins were not being even installed during the
startup of jenkins.

As a side note, I have struggled with the plugin installation and it
appears that there is a general issue with jenkins(see tweet
).
So for anyone who had the same issue, I was able to get around that by
changing the download mirror using in the values file as follows:

master:
  initContainerEnv:
    - name: JENKINS_UC_DOWNLOAD
      value: http://ftp-nyc.osuosl.org/pub/jenkins

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
,
or unsubscribe

.
mehyedes commented 3 years ago

Yes, everything worked fine for me.

I would suggest that you review the values you have used for installing the chart. That's probably where the problem lies.

You could check or test my working values file if you'd like:

my values.yaml file ```yaml master: tag: 2.249.3-lts useSecurity: true adminUser: admin adminPassword: admin numExecutors: 1 overwriteJobs: true initContainerEnv: #- name: JENKINS_UC #value: https://test.host.local #- name: JENKINS_UC_EXPERIMENTAL #value: https://test.host.local #- name: JENKINS_INCREMENTALS_REPO_MIRROR #value: https://test.host.local - name: JENKINS_UC_DOWNLOAD value: http://ftp-nyc.osuosl.org/pub/jenkins installPlugins: - kubernetes:1.25.7 - workflow-job:2.40 - workflow-api:2.40 - workflow-aggregator:2.6 - workflow-support:3.6 - credentials-binding:1.24 - job-dsl:latest - git:4.4.5 - configuration-as-code:1.43 additionalPlugins: - plugin-util-api:1.4.0 - scm-api:2.6.4 - bootstrap4-api:4.5.3-1 - github:1.32.0 - junit:1.43 - lockable-resources:2.10 - command-launcher:1.3 - github-branch-source:2.9.1 - docker-workflow:1.24 - docker-commons:1.17 - checks-api:1.1.0 - pipeline-utility-steps:2.6.1 overwritePlugins: true sidecars: configAutoReload: enabled: true reqRetryConnect: 30 JCasC: enabled: true defaultConfig: true persistence: enabled: true serviceAccount: create: false # Service account name is autogenerated by default name: jenkins annotations: {} ingress: enabled: true paths: [] apiVersion: "networking.k8s.io/v1" labels: {} annotations: kubernetes.io/ingress.class: nginx hostName: jenkins.default.local tls: ```

Since serviceAccount.create==false, you need to create the jenkins service account before installing the jenkins helm chart using the yaml manifest below:

---
  apiVersion: v1
  kind: ServiceAccount
  metadata:
    name: jenkins
---
  apiVersion: rbac.authorization.k8s.io/v1
  kind: ClusterRoleBinding
  metadata:
    annotations:
      rbac.authorization.kubernetes.io/autoupdate: "true"
    labels:
      kubernetes.io/bootstrapping: rbac-defaults
    name: jenkins
  roleRef:
    apiGroup: rbac.authorization.k8s.io
    kind: ClusterRole
    name: cluster-admin
  subjects:
  - kind: ServiceAccount
    name: jenkins
    namespace: default
vpernankil commented 3 years ago

Thanks sir , let me check that up .will update you on this .

On Thu, Nov 19, 2020, 10:35 PM mehyedes notifications@github.com wrote:

Yes, everything worked fine for me.

I would suggest that you review the values you have used for installing the chart. That's probably where the problem lies.

You could check or test my working values file if you'd like: my values.yaml file

master: tag: 2.249.3-lts useSecurity: true adminUser: admin adminPassword: admin numExecutors: 1 overwriteJobs: true initContainerEnv:

- name: JENKINS_UC

  #value: https://test.host.local
#- name: JENKINS_UC_EXPERIMENTAL
  #value: https://test.host.local
#- name: JENKINS_INCREMENTALS_REPO_MIRROR
  #value: https://test.host.local
- name: JENKINS_UC_DOWNLOAD
  value: http://ftp-nyc.osuosl.org/pub/jenkins

installPlugins:

  • kubernetes:1.25.7
  • workflow-job:2.40
  • workflow-api:2.40
  • workflow-aggregator:2.6
  • workflow-support:3.6
  • credentials-binding:1.24
  • job-dsl:latest
  • git:4.4.5
  • configuration-as-code:1.43 additionalPlugins:
  • plugin-util-api:1.4.0
  • scm-api:2.6.4
  • bootstrap4-api:4.5.3-1
  • github:1.32.0
  • junit:1.43
  • lockable-resources:2.10
  • command-launcher:1.3
  • github-branch-source:2.9.1
  • docker-workflow:1.24
  • docker-commons:1.17
  • checks-api:1.1.0
  • pipeline-utility-steps:2.6.1 overwritePlugins: true sidecars: configAutoReload: enabled: true reqRetryConnect: 30 JCasC: enabled: true defaultConfig: true persistence: enabled: true serviceAccount: create: false

    Service account name is autogenerated by default

    name: jenkins annotations: {} ingress: enabled: true paths: [] apiVersion: "networking.k8s.io/v1" labels: {} annotations: kubernetes.io/ingress.class: nginx hostName: jenkins.default.local tls:

Since serviceAccount.create==false, you need to create the jenkins service account before installing the jenkins helm chart using the yaml manifest below:


apiVersion: v1 kind: ServiceAccount metadata: name: jenkins

apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: annotations: rbac.authorization.kubernetes.io/autoupdate: "true" labels: kubernetes.io/bootstrapping: rbac-defaults name: jenkins roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cluster-admin subjects:

  • kind: ServiceAccount name: jenkins namespace: default

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jenkinsci/helm-charts/issues/104#issuecomment-730510724, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKFD7TOD6YPQEKV4C46L6TSQVF6LANCNFSM4S2XXLPQ .

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue is being automatically closed due to inactivity.

abdennour commented 3 years ago

@mehyedes and what's this plugin ? I am going with pluginless strategy. So ideally, there is an exact plugin with less dependencies that can fix this issue.

Ian-T-Price commented 3 years ago

As per this post, https://issues.jenkins.io/browse/JENKINS-63385

Installing the strict-crumb-issuer plugin makes the problem go away in 2.277, but not in LTS 2.263.3.

It's a bit off that it's necessary to install a plugin to fix a bug. I wasted several hours trying to debug my config which was working intermittently. Frustrating.