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. test.py
        0.2 kB
        Hutson Betts
      2. possible.patch
        0.6 kB
        Hutson Betts
      3. LIBCLOUD-204.log
        2 kB
        Sengor Kusturica

        Activity

        Sengor Kusturica created issue -
        Sengor Kusturica made changes -
        Field Original Value New Value
        Attachment LIBCLOUD-204.log [ 12530639 ]
        Hide
        Hutson Betts added a comment -

        Contained within possible.patch is a possible solution to the issue effecting the IBM compute driver. That patch is applicable to all other compute drivers.

        Test.py is a test file based on the log files published by Sengor.

        Show
        Hutson Betts added a comment - Contained within possible.patch is a possible solution to the issue effecting the IBM compute driver. That patch is applicable to all other compute drivers. Test.py is a test file based on the log files published by Sengor.
        Hutson Betts made changes -
        Attachment possible.patch [ 12530640 ]
        Attachment test.py [ 12530641 ]
        Hide
        Tomaz Muraus added a comment -

        Thanks for the report and patch. Hutson Betts' patch is a right fix for this problem and I've merged it into trunk.

        Show
        Tomaz Muraus added a comment - Thanks for the report and patch. Hutson Betts' patch is a right fix for this problem and I've merged it into trunk.
        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 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        8h 25m 1 Tomaz Muraus 02/Jun/12 16:27
        Resolved Resolved Closed Closed
        133d 8h 25m 1 Tomaz Muraus 14/Oct/12 00:52

          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