Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1206

Handling of user_data in digitalocean2 provider is broken

    Details

    • Flags:
      Patch

      Description

      The handling of user_data in digitalocean2 is unfortunately completely broken. The existing code assumes, that it is a string which contains a json_encoded map of key-value-pairs (containing both tags and user_data). This is wrong. According to their docs and easily verifyable, it is a SINGLE string which simply contains cloud-init data or a shell-script.

        Activity

        Hide
        felfert2 Fritz Elfert added a comment -

        This pull request on github fixes the issue. (Tested with an yet unreleased version of the jenkins jclouds plugin):
        https://github.com/jclouds/jclouds/pull/1042

        Show
        felfert2 Fritz Elfert added a comment - This pull request on github fixes the issue. (Tested with an yet unreleased version of the jenkins jclouds plugin): https://github.com/jclouds/jclouds/pull/1042
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 92044e3d44b885cdd005f38a65516c95a8c9fa21 in jclouds's branch refs/heads/master from Fritz Elfert
        [ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=92044e3 ]

        JCLOUDS-1206: Replace user metadata by byte[] userData

        Show
        jira-bot ASF subversion and git services added a comment - Commit 92044e3d44b885cdd005f38a65516c95a8c9fa21 in jclouds's branch refs/heads/master from Fritz Elfert [ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=92044e3 ] JCLOUDS-1206 : Replace user metadata by byte[] userData
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 3ae2213a7de2a57cf53f3a589e3fd8106ffafcde in jclouds's branch refs/heads/2.0.x from Fritz Elfert
        [ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=3ae2213 ]

        JCLOUDS-1206: Replace user metadata by byte[] userData

        Show
        jira-bot ASF subversion and git services added a comment - Commit 3ae2213a7de2a57cf53f3a589e3fd8106ffafcde in jclouds's branch refs/heads/2.0.x from Fritz Elfert [ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=3ae2213 ] JCLOUDS-1206 : Replace user metadata by byte[] userData

          People

          • Assignee:
            Unassigned
            Reporter:
            felfert2 Fritz Elfert
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development