yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #19309
[Bug 1359427] [NEW] Potential codec errors during rescheduling operations
Public bug reported:
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.
** Affects: nova
Importance: Undecided
Assignee: Joe Cropper (jwcroppe)
Status: New
** Changed in: nova
Assignee: (unassigned) => Joe Cropper (jwcroppe)
** Description changed:
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.
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1359427
Title:
Potential codec errors during rescheduling operations
Status in OpenStack Compute (Nova):
New
Bug 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1359427/+subscriptions
Follow ups
References