Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-204

IBM_SCE driver auth issue under Python 3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.10.1
    • 0.11.0
    • Core
    • None
    • 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='"'"''

      Attachments

        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

          People

            Unassigned Unassigned
            sengork 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