Using logging in the serial console worker blocks Nova
Bug #1557498 reported by
Lucian Petrut
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Undecided
|
Unassigned | ||
Liberty |
Fix Released
|
High
|
Lucian Petrut | ||
os-win |
Fix Released
|
High
|
Lucian Petrut |
Bug Description
The worker used by Nova to log instance serial console output can log an exception message.
The issue is that logging a message from a different thread causes Nova to hang. It seems that the logging file handler causes issues when greenthreads and multiple native threads are used at the same, and the native threads log messages.
tags: | added: hyper-v liberty-backport-potential |
Changed in os-win: | |
importance: | Undecided → High |
assignee: | nobody → Lucian Petrut (petrutlucian94) |
Changed in nova: | |
importance: | Undecided → High |
assignee: | nobody → Lucian Petrut (petrutlucian94) |
status: | New → In Progress |
Changed in nova: | |
status: | In Progress → Won't Fix |
assignee: | Lucian Petrut (petrutlucian94) → nobody |
importance: | High → Undecided |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/292852 /git.openstack. org/cgit/ openstack/ os-win/ commit/ ?id=a25959a204f 365a532138d7fe0 a73b4cd039e807
Committed: https:/
Submitter: Jenkins
Branch: master
commit a25959a204f365a 532138d7fe0a73b 4cd039e807
Author: Lucian Petrut <email address hidden>
Date: Tue Mar 15 14:19:43 2016 +0200
Fix serial console worker blocking Nova
The worker used by Nova to log instance serial console output can
log an exception message.
The issue is that logging a message from a different thread causes
Nova to hang. It seems that the logging file handler causes issues
when greenthreads and multiple native threads are used at the same,
and the native threads log messages.
This patch removes this log message for now. In the future, we
should fix the logging handler to avoid this issue.
Closes-Bug: #1557498
Change-Id: Ia5c1aba2834764 8e90f5ba6111fc0 47d711236db