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.
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.