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

EC2 plugin 1.37 fails to provision previously defined slaves

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • ec2-plugin
    • Jenkins 2.73.1, EC2 Plugin 1.37

      With the EC2 plugin version 1.37, existing stopped instances are not started again during provisioning with the following message in the Jenkins log when the instance cap is reached:

      Cannot provision - no capacity for instances: -1

      reverting to version 1.36 fixes the issue.

          [JENKINS-47130] EC2 plugin 1.37 fails to provision previously defined slaves

          Vincent de Lagabbe created issue -
          marc young made changes -
          Link New: This issue is related to JENKINS-46963 [ JENKINS-46963 ]
          marc young made changes -
          Link New: This issue is related to JENKINS-46869 [ JENKINS-46869 ]
          marc young made changes -
          Link Original: This issue is related to JENKINS-46963 [ JENKINS-46963 ]
          Alicia Doblas made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Deleting the existing Jenkins EC2 plugin configuration (instances setup and cloud config) and re creating it seems to fix the problem

          Vincent de Lagabbe added a comment - Deleting the existing Jenkins EC2 plugin configuration (instances setup and cloud config) and re creating it seems to fix the problem

          Francis Upton added a comment -

          vineus thanks for the helpful comment. This is clearly a regression and we are looking into the cause so that you don't have to delete the configuration. We will make a new release as soon as we have the fix.

          Francis Upton added a comment - vineus thanks for the helpful comment. This is clearly a regression and we are looking into the cause so that you don't have to delete the configuration. We will make a new release as soon as we have the fix.

          ok perfect! In the meantime re creating the configuration just does the job, so it's not that critical

          Keep up the fantastic work!

          Vincent de Lagabbe added a comment - ok perfect! In the meantime re creating the configuration just does the job, so it's not that critical Keep up the fantastic work!

          Alicia Doblas added a comment -

          vineus I tried to reproduce this issue but I couldn't. Until then, the workaround seems to be what you suggest at least for now.

          Alicia Doblas added a comment - vineus I tried to reproduce this issue but I couldn't. Until then, the workaround seems to be what you suggest at least for now.
          Luigi Tagliamonte made changes -
          Rank New: Ranked higher

            francisu Francis Upton
            vineus Vincent de Lagabbe
            Votes:
            3 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: