Comment 2 for bug 1359427

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

Reviewed: https://review.openstack.org/115846
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9f1f9a8b6fadbba2eb6733e0f13b727f14a52a3f
Submitter: Jenkins
Branch: master

commit 9f1f9a8b6fadbba2eb6733e0f13b727f14a52a3f
Author: Joe Cropper <email address hidden>
Date: Wed Aug 20 21:18:17 2014 -0500

    Handle non-ascii characters in spawn exception msg

    If a compute driver's spawn function returns an exception whose text
    has any non-ascii characters (e.g., for globalization), the compute
    manager's "reschedule logic" doesn't handle it properly as it runs
    the text through the str() function, which causes UnicodeEncodeError
    exceptions.

    This simply sends the exception text through six.text_type so as to
    no longer blow up and proceed with rescheduling as intended.

    Closes-Bug: #1359427

    Change-Id: I3fef783feffbe99c6971543c881e3fce2b60693b