Type error in middleware ext_context python3

Bug #1625219 reported by DavidPurcell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Medium
venkatamahesh

Bug Description

When writing unit tests for api middleware, encountered this bug when running python3.4 tests:

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    b'Traceback (most recent call last):'
    b' File "/opt/stack/murano/murano/tests/unit/api/middleware/test_ext_context.py", line 43, in test_middleware_ext_context_default'
    b' middleware.process_request(request)'
    b' File "/opt/stack/murano/murano/api/middleware/ext_context.py", line 94, in process_request'
    b" user, password = credentials.split(':', 2)"
    b"TypeError: 'str' does not support the buffer interface"
    b''

Changed in murano:
status: New → Confirmed
milestone: none → ocata-1
importance: Undecided → Medium
Changed in murano:
assignee: nobody → venkatamahesh (venkatamaheshkotha)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

Fix proposed to branch: master
Review: https://review.openstack.org/372899

Changed in murano:
status: Confirmed → In Progress
Changed in murano:
assignee: venkatamahesh (venkatamaheshkotha) → Kirill Zaitsev (kzaitsev)
Changed in murano:
assignee: Kirill Zaitsev (kzaitsev) → DavidPurcell (david-purcell)
Changed in murano:
assignee: DavidPurcell (david-purcell) → venkatamahesh (venkatamaheshkotha)
Changed in murano:
assignee: venkatamahesh (venkatamaheshkotha) → Kirill Zaitsev (kzaitsev)
Changed in murano:
assignee: Kirill Zaitsev (kzaitsev) → venkatamahesh (venkatamaheshkotha)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/372899
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=403bb2721a497fc1c7b4b44d221e37b110d821bd
Submitter: Jenkins
Branch: master

commit 403bb2721a497fc1c7b4b44d221e37b110d821bd
Author: venkatamahesh <email address hidden>
Date: Tue Sep 20 11:10:59 2016 +0530

    Fix the python3.4 TypeError

    Python3.4 throwing TypeError and in this patch it
    is fixed

    Co-Authored-By: David Purcell <email address hidden>
    Change-Id: I5cbc54142ba2fd1885879c2e401ba84095becc1a
    Closes-Bug: #1625219

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano 3.1.0

This issue was fixed in the openstack/murano 3.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.