Comment 1 for bug 1323450

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/95623
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=ecebc308b3394d4847cf32b37f93fd08c646a39d
Submitter: Jenkins
Branch: master

commit ecebc308b3394d4847cf32b37f93fd08c646a39d
Author: Jamie Lennox <email address hidden>
Date: Tue May 27 10:30:47 2014 +1000

    In Py3 decode the output of base64.decode

    The return from a base64.encode in python 3 is bytes. Bytes cannot be
    json.dumps() so when we base64 encode some data we need to convert it
    to a string before passing it through to the request layer.

    This isn't shown by unit tests because the fakeclient mocking layer
    intercepts the request before it gets to the json encoding code.

    Closes-Bug: #1323450
    Change-Id: Ibbbb24f64c17069178e3bf0ee9998b806bc629ff