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

Since the last security update in Eucalyptus Jenkins can't start any instances

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: ec2-plugin
    • Labels:
      None
    • Environment:
      Ubuntu Maverick 10.10 64-Bit, Eucalyptus 2.0+bzr1241-0ubuntu4.2
    • Similar Issues:

      Description

      Since the last security update from Eucalyptus Jenkins isn't able to start any instances. Information about this update can be found here:
      https://launchpadlibrarian.net/72465971/eucalyptus_2.0%2Bbzr1241-0ubuntu4.2_amd64.changes

      If I try to start an instance I got the following error message:

      java.lang.IllegalArgumentException: Failed to invoke public hudson.util.FormValidation hudson.plugins.ec2.SlaveTemplate$DescriptorImpl.doValidateAmi(java.lang.String,java.lang.String,hudson.plugins.ec2.AwsRegion,java.lang.String) throws java.io.IOException,javax.servlet.ServletException
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:146)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
      at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:373)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
      at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:195)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:159)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:52)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.ec2.AwsRegion
      at org.kohsuke.stapler.AnnotationHandler.convert(AnnotationHandler.java:48)
      at org.kohsuke.stapler.AnnotationHandler$2.parse(AnnotationHandler.java:94)
      at org.kohsuke.stapler.AnnotationHandler$2.parse(AnnotationHandler.java:82)
      at org.kohsuke.stapler.AnnotationHandler.handle(AnnotationHandler.java:57)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:141)
      ... 39 more

      Before this update everything is running fine.

      Regards,
      Joachim

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Kohsuke Kawaguchi
            Path:
            src/main/java/hudson/plugins/ec2/PluginImpl.java
            http://jenkins-ci.org/commit/ec2-plugin/1cbffeeccd9c50702084cb7a454d5771086a6a29
            Log:
            [FIXED JENKINS-10118] force the registration of the converter.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: src/main/java/hudson/plugins/ec2/PluginImpl.java http://jenkins-ci.org/commit/ec2-plugin/1cbffeeccd9c50702084cb7a454d5771086a6a29 Log: [FIXED JENKINS-10118] force the registration of the converter.
            Hide
            dogfood dogfood added a comment -

            Integrated in plugins_ec2 #49
            [FIXED JENKINS-10118] force the registration of the converter. (Revision 1cbffeeccd9c50702084cb7a454d5771086a6a29)

            Result = SUCCESS
            Kohsuke Kawaguchi :
            Files :

            • src/main/java/hudson/plugins/ec2/PluginImpl.java
            Show
            dogfood dogfood added a comment - Integrated in plugins_ec2 #49 [FIXED JENKINS-10118] force the registration of the converter. (Revision 1cbffeeccd9c50702084cb7a454d5771086a6a29) Result = SUCCESS Kohsuke Kawaguchi : Files : src/main/java/hudson/plugins/ec2/PluginImpl.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Kohsuke Kawaguchi
            Path:
            src/main/java/hudson/plugins/ec2/PluginImpl.java
            http://jenkins-ci.org/commit/ec2-plugin/936b1088a15d7ec2bd636f6307f11660f66b7634
            Log:
            [FIXED JENKINS-10118] force the registration of the converter.

            Merged

            Compare: https://github.com/jenkinsci/ec2-plugin/compare/104e585^...936b108

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: src/main/java/hudson/plugins/ec2/PluginImpl.java http://jenkins-ci.org/commit/ec2-plugin/936b1088a15d7ec2bd636f6307f11660f66b7634 Log: [FIXED JENKINS-10118] force the registration of the converter. Merged Compare: https://github.com/jenkinsci/ec2-plugin/compare/104e585 ^...936b108
            Hide
            dogfood dogfood added a comment -

            Integrated in plugins_ec2 #53
            [FIXED JENKINS-10118] force the registration of the converter. (Revision 936b1088a15d7ec2bd636f6307f11660f66b7634)

            Result = SUCCESS
            francis :
            Files :

            • src/main/java/hudson/plugins/ec2/PluginImpl.java
            Show
            dogfood dogfood added a comment - Integrated in plugins_ec2 #53 [FIXED JENKINS-10118] force the registration of the converter. (Revision 936b1088a15d7ec2bd636f6307f11660f66b7634) Result = SUCCESS francis : Files : src/main/java/hudson/plugins/ec2/PluginImpl.java

              People

              • Assignee:
                kohsuke Kohsuke Kawaguchi
                Reporter:
                jkarnbach Joachim Karnbach-Mink
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: