Activity log for bug #1182678

Date Who What changed Old value New value Message
2013-05-21 22:45:23 Nicolas Simonds bug added bug
2013-05-21 22:45:55 Nicolas Simonds bug task added python-novaclient
2013-05-21 22:46:14 Nicolas Simonds bug task added python-cinderclient
2013-05-21 22:46:33 Nicolas Simonds bug task added python-keystoneclient
2013-05-21 22:47:08 Nicolas Simonds description When setting DEBUG=True (i.e., in devstack and other development environments) we noticed that all the python-*client API calls would get logged multiple times. On high-traffic dev instances, it would be dozens of repeats for each log message. This made development work on these instances an experience somewhere on the scale between "hey, this is annoying" and "it's impossible to tell what's going on through all this noise" Testing revealed that the problem seems to stem from different mod_wsgi processes/threads vivifying their own API client objects. The clients seem to blindly shove logging handlers into the list without looking to see if it's necessary to do so first, and this causes Horizon to have dozens of identical handlers for each log message, and it then does what you expect. This isn't a problem with Horizon per se, but Horizon is affected by it. So far, we've observed the problem with novaclient, cinderclient and keystoneclient, but all the client libraries likely behave in the same fashion. We also discovered in testing that there is no logging handler defined for cinderclient in the local_settings.py, so it uses the default hander. When setting DEBUG=True (i.e., in devstack and other development environments) we noticed that all the python-*client API calls would get logged multiple times. On high-traffic dev instances, it would be dozens of repeats for each log message. This made development work on these instances an experience somewhere on the scale between "hey, this is annoying" and "it's impossible to tell what's going on through all this noise" Testing revealed that the problem seems to stem from different mod_wsgi processes/threads vivifying their own API client objects. The clients seem to blindly shove logging handlers into the list without looking to see if it's necessary to do so first, and this causes Horizon to have dozens of identical handlers for each log message, and it then does what you'd expect. This isn't a problem with Horizon per se, but Horizon is affected by it. So far, we've observed the problem with novaclient, cinderclient and keystoneclient, but all the client libraries likely behave in the same fashion. We also discovered in testing that there is no logging handler defined for cinderclient in the local_settings.py, so it uses the default hander.
2013-05-21 23:02:43 OpenStack Infra horizon: status New In Progress
2013-05-21 23:02:43 OpenStack Infra horizon: assignee Nicolas Simonds (nicolas.simonds)
2013-05-21 23:23:04 OpenStack Infra python-cinderclient: status New In Progress
2013-05-21 23:23:04 OpenStack Infra python-cinderclient: assignee Nicolas Simonds (nicolas.simonds)
2013-05-21 23:23:58 OpenStack Infra python-novaclient: status New In Progress
2013-05-21 23:23:58 OpenStack Infra python-novaclient: assignee Nicolas Simonds (nicolas.simonds)
2013-05-21 23:25:28 OpenStack Infra python-keystoneclient: status New In Progress
2013-05-21 23:25:28 OpenStack Infra python-keystoneclient: assignee Nicolas Simonds (nicolas.simonds)
2013-05-22 18:45:41 OpenStack Infra python-keystoneclient: status In Progress Fix Committed
2013-05-22 20:58:08 OpenStack Infra horizon: status In Progress Fix Committed
2013-05-24 06:27:12 OpenStack Infra python-novaclient: status In Progress Fix Committed
2013-05-24 07:23:45 OpenStack Infra python-cinderclient: status In Progress Fix Committed
2013-05-29 08:58:52 Thierry Carrez horizon: status Fix Committed Fix Released
2013-05-29 08:58:52 Thierry Carrez horizon: milestone havana-1
2013-05-29 17:19:41 Dolph Mathews python-keystoneclient: milestone 0.2.4
2013-05-29 17:19:44 Dolph Mathews python-keystoneclient: status Fix Committed Fix Released
2013-05-29 17:19:50 Dolph Mathews python-keystoneclient: importance Undecided Medium
2013-05-29 18:17:34 Morgan Fainberg bug task added python-quantumclient
2013-05-29 18:23:41 Morgan Fainberg bug task deleted python-quantumclient
2013-08-06 15:13:28 Russell Bryant python-novaclient: status Fix Committed Fix Released
2013-10-17 12:57:16 Thierry Carrez horizon: milestone havana-1 2013.2
2015-07-08 22:53:31 Doug Hellmann python-cinderclient: status Fix Committed Fix Released
2015-07-08 22:53:31 Doug Hellmann python-cinderclient: milestone 1.3.1