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

EC2 Plugin unable to connect to Eucalyptus 3.x

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: ec2-plugin
    • Labels:
      None
    • Environment:
      Current Jenkins & Eucalyptus 3.x
    • Similar Issues:

      Description

      The EC2 plugin is unable to successfully connect to any Eucalyptus 3.x cloud.

      The EC2 plugin currently requests a single URL – [Eucalytpus_URL]/register – which it calls in order to obtain the EC2 and S3 endpoints. The trouble immediately hits when the EC2 plugin attempts to use the AWS Java SDK to connect to Eucalyptus. The specific issue is that the AWS Java SDK requires a trailing "/" to successfully connect. For example:
      http://eucalyptus.mycloud.com/services/Eucalyptus
      is what is returned from the /register call. But this:
      http://eucalyptus.mycloud.com/services/Eucalyptus/
      is what the SDK needs.

      It should be noted that the /register endpoint is deprecated. Eucalyptus created that service call for a specific partner integration. The endpoint is no longer required by that partner and there are no plans to maintain it.

      The resolution should ensure the EC2 plugin a) successfully connects and b) does not require the /register endpoint.

        Attachments

          Activity

          Hide
          cosmo cosmo king added a comment -

          Is there any workaround? I am blocked on deploying my eucalyptus 3.3 cloud from Jenkins due to this.

          I have also tried the experimental plugin here https://github.com/eucacolby/ec2-plugin (including eucalyptus3.3support branch) but am seeing failures in all cases.

          Show
          cosmo cosmo king added a comment - Is there any workaround? I am blocked on deploying my eucalyptus 3.3 cloud from Jenkins due to this. I have also tried the experimental plugin here https://github.com/eucacolby/ec2-plugin (including eucalyptus3.3support branch) but am seeing failures in all cases.
          Hide
          colbydyess Colby Dyess added a comment -

          Cosmo,

          There is no work around due to the way the EC2 plugin code attempts to get the Eucalyptus endpoints. Since I'm also "eucacolby", I'd be very interested in helping you get things working. Feel free to post here or private message me, which ever you prefer.

          skype: colbydyess
          google chat: colby.dyess

          Also I'm often on the #eucalyptus channel on freenode IRC. My irc handle is "ecuacolby" <-- yep, it's misspelled.

          Living in EST time zone.

          Show
          colbydyess Colby Dyess added a comment - Cosmo, There is no work around due to the way the EC2 plugin code attempts to get the Eucalyptus endpoints. Since I'm also "eucacolby", I'd be very interested in helping you get things working. Feel free to post here or private message me, which ever you prefer. skype: colbydyess google chat: colby.dyess Also I'm often on the #eucalyptus channel on freenode IRC. My irc handle is "ecuacolby" <-- yep, it's misspelled. Living in EST time zone.
          Hide
          cosmo cosmo king added a comment - - edited

          Hi Colby, thanks for the quick response. I've been working on getting some new hardware setup for my cloud and ran into a few issues, hardware and software

          I would REALLY love to auto deploy instances from Jenkins though, so anything I can do to help you guys figure out the issues I'm happy to provide.

          I'm running Jenkins 1.523 and eucalyptus 3.3 using your ec2-plugin from https://github.com/ColbyDyess/ec2-plugin this seems to be your latest work, is that what I should be using?

          I am not clear on what to use for the EC2 URL and S3 URL here. There are some URLs with context shown by 'euca-describe-services'.
          For example:
          http://192.168.66.133:8773/services/Eucalyptus
          http://192.168.66.133:8773/services/Walrus

          But using those urls, I get "Login Failure: all modules ignored"

          Show
          cosmo cosmo king added a comment - - edited Hi Colby, thanks for the quick response. I've been working on getting some new hardware setup for my cloud and ran into a few issues, hardware and software I would REALLY love to auto deploy instances from Jenkins though, so anything I can do to help you guys figure out the issues I'm happy to provide. I'm running Jenkins 1.523 and eucalyptus 3.3 using your ec2-plugin from https://github.com/ColbyDyess/ec2-plugin this seems to be your latest work, is that what I should be using? I am not clear on what to use for the EC2 URL and S3 URL here. There are some URLs with context shown by 'euca-describe-services'. For example: http://192.168.66.133:8773/services/Eucalyptus http://192.168.66.133:8773/services/Walrus But using those urls, I get "Login Failure: all modules ignored"
          Hide
          colbydyess Colby Dyess added a comment -

          Cosmo, simply adding "/" to the end of the URLs will do the trick.

          Show
          colbydyess Colby Dyess added a comment - Cosmo, simply adding "/" to the end of the URLs will do the trick.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: colbydyess
          Path:
          src/main/java/hudson/plugins/ec2/Eucalyptus.java
          src/main/java/hudson/plugins/ec2/SlaveTemplate.java
          src/main/resources/hudson/plugins/ec2/Eucalyptus/config-entries.jelly
          src/main/resources/hudson/plugins/ec2/SlaveTemplate/config.jelly
          http://jenkins-ci.org/commit/ec2-plugin/ecbe47f08826dd0dc8bd5e34ce8d3c8506ce44f1
          Log:
          JENKINS-18854 - fixed Eucalyptus connectivity support

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: colbydyess Path: src/main/java/hudson/plugins/ec2/Eucalyptus.java src/main/java/hudson/plugins/ec2/SlaveTemplate.java src/main/resources/hudson/plugins/ec2/Eucalyptus/config-entries.jelly src/main/resources/hudson/plugins/ec2/SlaveTemplate/config.jelly http://jenkins-ci.org/commit/ec2-plugin/ecbe47f08826dd0dc8bd5e34ce8d3c8506ce44f1 Log: JENKINS-18854 - fixed Eucalyptus connectivity support
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: colbydyess
          Path:
          src/main/java/hudson/plugins/ec2/Eucalyptus.java
          src/main/java/hudson/plugins/ec2/SlaveTemplate.java
          src/main/resources/hudson/plugins/ec2/Eucalyptus/config-entries.jelly
          src/main/resources/hudson/plugins/ec2/SlaveTemplate/config.jelly
          http://jenkins-ci.org/commit/ec2-plugin/b55add0411a65b7a8c29c71c8b415c05c31aff41
          Log:
          JENKINS-18854 - fixed Eucalyptus connectivity support

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: colbydyess Path: src/main/java/hudson/plugins/ec2/Eucalyptus.java src/main/java/hudson/plugins/ec2/SlaveTemplate.java src/main/resources/hudson/plugins/ec2/Eucalyptus/config-entries.jelly src/main/resources/hudson/plugins/ec2/SlaveTemplate/config.jelly http://jenkins-ci.org/commit/ec2-plugin/b55add0411a65b7a8c29c71c8b415c05c31aff41 Log: JENKINS-18854 - fixed Eucalyptus connectivity support
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: colbydyess
          Path:
          http://jenkins-ci.org/commit/ec2-plugin/42648e5ec28f6128c36cf2ed69fdc838ff9a776f
          Log:
          Merge branch 'JENKINS-18854'

          JENKINS-18854 - Fixed support for Eucalyptus. Valid with Eucalyptus 3.x

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: colbydyess Path: http://jenkins-ci.org/commit/ec2-plugin/42648e5ec28f6128c36cf2ed69fdc838ff9a776f Log: Merge branch ' JENKINS-18854 ' JENKINS-18854 - Fixed support for Eucalyptus. Valid with Eucalyptus 3.x
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Francis Upton
          Path:
          src/main/java/hudson/plugins/ec2/Eucalyptus.java
          src/main/java/hudson/plugins/ec2/SlaveTemplate.java
          src/main/resources/hudson/plugins/ec2/Eucalyptus/config-entries.jelly
          src/main/resources/hudson/plugins/ec2/SlaveTemplate/config.jelly
          http://jenkins-ci.org/commit/ec2-plugin/98a36f1f251220869c0de90080710d3baa835ee9
          Log:
          Merge pull request #58 from ColbyDyess/master

          JENKINS-18854

          Compare: https://github.com/jenkinsci/ec2-plugin/compare/238903d22b76...98a36f1f2512

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Francis Upton Path: src/main/java/hudson/plugins/ec2/Eucalyptus.java src/main/java/hudson/plugins/ec2/SlaveTemplate.java src/main/resources/hudson/plugins/ec2/Eucalyptus/config-entries.jelly src/main/resources/hudson/plugins/ec2/SlaveTemplate/config.jelly http://jenkins-ci.org/commit/ec2-plugin/98a36f1f251220869c0de90080710d3baa835ee9 Log: Merge pull request #58 from ColbyDyess/master JENKINS-18854 Compare: https://github.com/jenkinsci/ec2-plugin/compare/238903d22b76...98a36f1f2512

            People

            • Assignee:
              francisu Francis Upton
              Reporter:
              colbydyess Colby Dyess
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: