Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63705

Concurrency limit not calculated over template anymore in 1.27.1

    Details

    • Similar Issues:
    • Released As:
      1.27.1.1

      Description

      With the latest release, most likely since JENKINS-59959, the concurrency limit is no longer checked against the pod templates count. I have multiple pod templates in my environment and in 1.26.4 the concurrency limit is correctly calculated per template - in 1.27.1 i don't get my pods spawned anymore as the limit of the template is checked against the total number of pods. At least that's how it looks to me after a lot of testing

       

      Reproduction:

      add at least 2 pod templates

      set a concurrency limit of 1 on  the first and a higher one on the other

      concurrency for the whole cluster above the two limits

      spawn some pods of the second template

      -> a job requiring a pod of template one does not spawn until no other pods are live

        Attachments

          Issue Links

            Activity

            Hide
            shott85 David Schott added a comment - - edited

            https://github.com/jenkinsci/kubernetes-plugin/pull/843

            is an attempt to craft an emergency fix.

            Show
            shott85 David Schott added a comment - - edited https://github.com/jenkinsci/kubernetes-plugin/pull/843 is an attempt to craft an emergency fix.
            Hide
            shott85 David Schott added a comment -

            https://github.com/jenkinsci/kubernetes-plugin/pull/844 also filed which reverts the PR that introduced this new bug.

            Show
            shott85 David Schott added a comment - https://github.com/jenkinsci/kubernetes-plugin/pull/844  also filed which reverts the PR that introduced this new bug.
            Show
            shott85 David Schott added a comment - https://ci.jenkins.io/job/Plugins/job/kubernetes-plugin/job/1.27.1.x/  branch has been cut to release 1.27.1.1 which reverts https://github.com/jenkinsci/kubernetes-plugin/pull/824  cc Jesse Glick
            Show
            jglick Jesse Glick added a comment - Please verify https://github.com/jenkinsci/kubernetes-plugin/releases/tag/kubernetes-1.27.1.1
            Hide
            sulaweyo Sledge Sulaweyo added a comment -

            I can confirm that the latest version works as expected again

            Show
            sulaweyo Sledge Sulaweyo added a comment - I can confirm that the latest version works as expected again
            Hide
            shott85 David Schott added a comment -

            Thanks for confirming Sledge Sulaweyo, sorry about that!

            Show
            shott85 David Schott added a comment - Thanks for confirming Sledge Sulaweyo , sorry about that!

              People

              • Assignee:
                shott85 David Schott
                Reporter:
                sulaweyo Sledge Sulaweyo
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: