Comment 1 for bug 1389102

Revision history for this message
Qin Zhao (zhaoqin) wrote :

The code in nova/compute/utils.py function exception_to_dict, is already trimming the message to 255 characters but it is doing this on the unicode string. The string must be trimmed to 255 characters in an encoded manner to avoid this issue for non-English locales.