Logging breaking on OS X
Bug #723967 reported by
Rick Harris
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Vish Ishaya |
Bug Description
Accidentally reported this for Glance, re-reporting it for Nova :)
It looks like revno 711 introduced some issues related to logging under Mac OS X. Looks like it breaks down into 3 issues:
1. Syslog not respected (Fixed by termie in https:/
2. Run_tests.sh just plain hangs
3. Multiprocessing does not play well with logger. Somehow 711 seems to be indirectly tripping this issue. See http://
Proposal:
The current proposal is to revert 711 until we can work the kinks out of it. Any objections?
Related branches
lp://staging/~termie/nova/conditional_syslog
- Devin Carlen (community): Approve
- Ken Pepple (community): Approve
- Vish Ishaya (community): Approve
- Soren Hansen: Pending requested
-
Diff: 23 lines (+3/-2)1 file modifiednova/log.py (+3/-2)
lp://staging/~vishvananda/nova/lp723967
- Todd Willey (community): Approve
- Devin Carlen (community): Approve
-
Diff: 11 lines (+1/-1)1 file modifiednova/log.py (+1/-1)
Changed in nova: | |
assignee: | nobody → Vish Ishaya (vishvananda) |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
1. Syslog not respected (Fixed by termie in https:/ /code.launchpad .net/~termie/ nova/conditiona l_syslog/ +merge/ 50847)
fixed
2. Run_tests.sh just plain hangs
I can't reproduce this. it works with the above patch for me
3. Multiprocessing does not play well with logger. Somehow 711 seems to be indirectly tripping this issue. See http:// code.google. com/p/python- multiprocessing /issues/ detail? id=18 for root cause.
The issue is that processName doesn't actually exist in python 2.6.1 (it was added later). Since we aren't using multiprocessing I removed it from the debug output. I suspect that 711 didn't actaully create the bug, but the error was just getting eaten somewhere. fix here:
https:/ /code.launchpad .net/~vishvanan da/nova/ lp723967