Logging breaking on OS X

Bug #723967 reported by Rick Harris
12
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://code.launchpad.net/~termie/nova/conditional_syslog/+merge/50847)

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://code.google.com/p/python-multiprocessing/issues/detail?id=18 for root cause.

Proposal:

The current proposal is to revert 711 until we can work the kinks out of it. Any objections?

Related branches

Changed in nova:
assignee: nobody → Vish Ishaya (vishvananda)
status: New → In Progress
importance: Undecided → Low
Revision history for this message
Vish Ishaya (vishvananda) wrote :

1. Syslog not respected (Fixed by termie in https://code.launchpad.net/~termie/nova/conditional_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/~vishvananda/nova/lp723967

Revision history for this message
Ken Pepple (ken-pepple) wrote : Re: [Bug 723967] Re: Logging breaking on OS X

Would rather just apply termie patch as the rest of the problems don't block development but will bow to majority rule.
/k

On Feb 23, 2011, at 3:14 PM, Vish Ishaya <email address hidden> wrote:

> ** Changed in: nova
> Assignee: (unassigned) => Vish Ishaya (vishvananda)
>
> ** Changed in: nova
> Status: New => In Progress
>
> ** Changed in: nova
> Importance: Undecided => Low
>
> ** Branch linked: lp:~termie/nova/conditional_syslog
>
> --
> You received this bug notification because you are subscribed to
> OpenStack Compute (nova).
> https://bugs.launchpad.net/bugs/723967
>
> Title:
> Logging breaking on OS X
>
> Status in OpenStack Compute (Nova):
> In Progress
>
> 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://code.launchpad.net/~termie/nova/conditional_syslog/+merge/50847)
>
> 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://code.google.com/p
> /python-multiprocessing/issues/detail?id=18 for root cause.
>
>
> Proposal:
>
>
> The current proposal is to revert 711 until we can work the kinks out of it. Any objections?

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
Brian Schott (bfschott) wrote :

I need to confirm with our team, but I believe this is hitting us on SUSE 11.1. The default Python is 2.6.0.
Brian

Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.