• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ec2-plugin

      Trying to start up an instance with any scripting in the userdata field I get Base64Encoding errors back from AWS. Per http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/instancedata-data-categories.html?r=8772 the UserData field needs to be base64 encoded and it's not.

          [JENKINS-13897] EC2 Userdata not being Base64 encoded

          Eric Smalling added a comment -

          Testing the following fix locally: https://github.com/ericNdfw/ec2-plugin/commit/58a738b4df6009c71686ab5a3a3eef5eac6c2819

          Seems to work on our version, 1.477 - but will test latest as well to be sure and then will submit a pull request for review.

          Eric Smalling added a comment - Testing the following fix locally: https://github.com/ericNdfw/ec2-plugin/commit/58a738b4df6009c71686ab5a3a3eef5eac6c2819 Seems to work on our version, 1.477 - but will test latest as well to be sure and then will submit a pull request for review.

          Eric Smalling added a comment -

          Correction - don't know where I got 1.477 -should have said our current version is 1.449.

          Eric Smalling added a comment - Correction - don't know where I got 1.477 -should have said our current version is 1.449.

          Code changed in jenkins
          User: Eric Smalling
          Path:
          src/main/java/hudson/plugins/ec2/SlaveTemplate.java
          http://jenkins-ci.org/commit/ec2-plugin/4f7987077108576985c9dd5a33a3726abd54668b
          Log:
          JENKINS-13897 EC2 Userdata not being Base64 encoded

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Eric Smalling Path: src/main/java/hudson/plugins/ec2/SlaveTemplate.java http://jenkins-ci.org/commit/ec2-plugin/4f7987077108576985c9dd5a33a3726abd54668b Log: JENKINS-13897 EC2 Userdata not being Base64 encoded

          Code changed in jenkins
          User: Francis Upton
          Path:
          src/main/java/hudson/plugins/ec2/SlaveTemplate.java
          http://jenkins-ci.org/commit/ec2-plugin/35b201e0421179f2074aba85f0fc7a2a36c6b666
          Log:
          Merge pull request #19 from ericNdfw/master

          JENKINS-13897 EC2 Userdata not being Base64 encoded

          Compare: https://github.com/jenkinsci/ec2-plugin/compare/a60b548...35b201e

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Francis Upton Path: src/main/java/hudson/plugins/ec2/SlaveTemplate.java http://jenkins-ci.org/commit/ec2-plugin/35b201e0421179f2074aba85f0fc7a2a36c6b666 Log: Merge pull request #19 from ericNdfw/master JENKINS-13897 EC2 Userdata not being Base64 encoded Compare: https://github.com/jenkinsci/ec2-plugin/compare/a60b548...35b201e

            esmalling Eric Smalling
            esmalling Eric Smalling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: