Activity log for bug #1359427

Date Who What changed Old value New value Message
2014-08-20 21:57:09 Joe Cropper bug added bug
2014-08-20 21:57:49 Joe Cropper nova: assignee Joe Cropper (jwcroppe)
2014-08-20 21:59:26 Joe Cropper description In the compute manager's 'retry' logic (i.e., handling RescheduledException) in _build_and_run_instance, it has a catch-all case for all exceptions and sets reason=str(e). This works well in most cases, but for cases in which lower level code may generate locale-specific messages, it's possible to see the "UnicodeEncodeError: 'ascii' codec can't encode character..." error, which ultimately masks the message in the compute logs, etc. In the compute manager's 'retry' logic (i.e., handling RescheduledException) in _build_and_run_instance, it has a catch-all case for all exceptions and sets reason=str(e). This works well in most cases, but for cases in which lower level code may generate locale-specific messages, it's possible to see the "UnicodeEncodeError: 'ascii' codec can't encode character..." error, which ultimately masks the message in the compute logs, etc. It also means the instance won't be rescheduled as it fails with an error similar to... WARNING nova.compute.manager [req-7fe662b1-c947-4303-b43f-114fbdafe875 None] [instance: 333474eb-dd07-4e05-b920-787da0fd5b32] Unexpected build failure, not rescheduling build.
2014-08-20 22:14:02 Joe Cropper description In the compute manager's 'retry' logic (i.e., handling RescheduledException) in _build_and_run_instance, it has a catch-all case for all exceptions and sets reason=str(e). This works well in most cases, but for cases in which lower level code may generate locale-specific messages, it's possible to see the "UnicodeEncodeError: 'ascii' codec can't encode character..." error, which ultimately masks the message in the compute logs, etc. It also means the instance won't be rescheduled as it fails with an error similar to... WARNING nova.compute.manager [req-7fe662b1-c947-4303-b43f-114fbdafe875 None] [instance: 333474eb-dd07-4e05-b920-787da0fd5b32] Unexpected build failure, not rescheduling build. In the compute manager's 'retry' logic (i.e., handling RescheduledException) in _build_and_run_instance, it has a catch-all case for all exceptions and sets reason=str(e). This works well in most cases, but for cases in which lower level code may generate locale-specific messages, it's possible to see the "UnicodeEncodeError: 'ascii' codec can't encode character..." error, which ultimately masks the message in the compute logs, etc. It also means the instance won't be rescheduled as it fails with an error similar to... WARNING nova.compute.manager [req-7fe662b1-c947-4303-b43f-114fbdafe875 None] [instance: 333474eb-dd07-4e05-b920-787da0fd5b32] Unexpected build failure, not rescheduling build. The simple solution is to use unicode(e) instead of str(e).
2014-08-21 00:28:16 Joe Cropper description In the compute manager's 'retry' logic (i.e., handling RescheduledException) in _build_and_run_instance, it has a catch-all case for all exceptions and sets reason=str(e). This works well in most cases, but for cases in which lower level code may generate locale-specific messages, it's possible to see the "UnicodeEncodeError: 'ascii' codec can't encode character..." error, which ultimately masks the message in the compute logs, etc. It also means the instance won't be rescheduled as it fails with an error similar to... WARNING nova.compute.manager [req-7fe662b1-c947-4303-b43f-114fbdafe875 None] [instance: 333474eb-dd07-4e05-b920-787da0fd5b32] Unexpected build failure, not rescheduling build. The simple solution is to use unicode(e) instead of str(e). In the compute manager's 'retry' logic (i.e., handling RescheduledException) in _build_and_run_instance, it has a catch-all case for all exceptions and sets reason=str(e). This works well in most cases, but for cases in which lower level code may generate locale-specific messages, it's possible to see the "UnicodeEncodeError: 'ascii' codec can't encode character..." error, which ultimately masks the message in the compute logs, etc. It also means the instance won't be rescheduled as it fails with an error similar to... WARNING nova.compute.manager [req-7fe662b1-c947-4303-b43f-114fbdafe875 None] [instance: 333474eb-dd07-4e05-b920-787da0fd5b32] Unexpected build failure, not rescheduling build. (i.e., as a result of the UnicodeEncodeError previously mentioned) The simple solution is to use unicode(e) instead of str(e).
2014-08-21 02:23:32 Joe Cropper nova: status New In Progress
2014-08-21 03:00:48 Matt Riedemann tags compute i18n
2014-08-21 03:15:18 Joe Cropper description In the compute manager's 'retry' logic (i.e., handling RescheduledException) in _build_and_run_instance, it has a catch-all case for all exceptions and sets reason=str(e). This works well in most cases, but for cases in which lower level code may generate locale-specific messages, it's possible to see the "UnicodeEncodeError: 'ascii' codec can't encode character..." error, which ultimately masks the message in the compute logs, etc. It also means the instance won't be rescheduled as it fails with an error similar to... WARNING nova.compute.manager [req-7fe662b1-c947-4303-b43f-114fbdafe875 None] [instance: 333474eb-dd07-4e05-b920-787da0fd5b32] Unexpected build failure, not rescheduling build. (i.e., as a result of the UnicodeEncodeError previously mentioned) The simple solution is to use unicode(e) instead of str(e). In the compute manager's 'retry' logic (i.e., handling RescheduledException) in _build_and_run_instance, it has a catch-all case for all exceptions and sets reason=str(e). This works well in most cases, but for cases in which lower level code may generate locale-specific messages, it's possible to see the "UnicodeEncodeError: 'ascii' codec can't encode character..." error, which ultimately masks the message in the compute logs, etc. It also means the instance won't be rescheduled as it fails with an error similar to... WARNING nova.compute.manager [req-7fe662b1-c947-4303-b43f-114fbdafe875 None] [instance: 333474eb-dd07-4e05-b920-787da0fd5b32] Unexpected build failure, not rescheduling build. (i.e., as a result of the UnicodeEncodeError previously mentioned) The simple solution is to use six.text_type(e) instead of str(e).
2014-08-21 13:05:23 Davanum Srinivas (DIMS) nova: importance Undecided Medium
2014-08-22 07:01:37 OpenStack Infra nova: status In Progress Fix Committed
2014-09-05 09:57:54 Thierry Carrez nova: status Fix Committed Fix Released
2014-09-05 09:57:54 Thierry Carrez nova: milestone juno-3
2014-10-16 08:50:08 Thierry Carrez nova: milestone juno-3 2014.2