Libcloud
  1. Libcloud
  2. LIBCLOUD-204

IBM_SCE driver auth issue under Python 3

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.1
    • Fix Version/s: 0.11.0
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Python 3.2.3

      Description

      Confirmed working under python2.7. Under Python3 base64 auth not working, "from libcloud.utils.py3 import b" seems to be affecting the result. See attachment for session log (sanitised user/pass).

      Debug curl string looks suspicious:
      -H 'Authorization: Basic b'"'"'dXNlcm5hbWU6cGFzc3dvcmQ='"'"''

      1. LIBCLOUD-204.log
        2 kB
        Sengor Kusturica
      2. possible.patch
        0.6 kB
        Hutson Betts
      3. test.py
        0.2 kB
        Hutson Betts

        Activity

        Sengor Kusturica created issue -
        Sengor Kusturica made changes -
        Field Original Value New Value
        Attachment LIBCLOUD-204.log [ 12530639 ]
        Hutson Betts made changes -
        Attachment possible.patch [ 12530640 ]
        Attachment test.py [ 12530641 ]
        Tomaz Muraus made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Tomaz Muraus made changes -
        Fix Version/s 0.11.0 [ 12323374 ]
        Tomaz Muraus made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Sengor Kusturica
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development