Activity log for bug #1422317

Date Who What changed Old value New value Message
2015-02-16 10:35:41 Mark Goddard bug added bug
2015-02-16 11:24:44 Mark Goddard description With syslog enabled on Juno (enable_syslog=True in glance-api.conf), glance spins on startup, consuming all available CPU cycles. With some carefully placed calls to exit(), the line in glance causing the problem was determined to be https://github.com/openstack/glance/blob/stable/juno/glance/openstack/common/log.py#L523. After this point the code gets lost in logging.handlers.SyslogHandler(). I noticed that the <component>.openstack.common.log source file was somewhat different in glance compared to several other OpenStack components. An update to glance.openstack.common missed the juno branch by a couple of commits https://github.com/openstack/glance/commit/d4f890798a0588a80e21fad044d4df5d0964dc70. Cherry picking this commit fixed the issue for me. With syslog enabled on Juno (use_syslog=True in glance-api.conf), glance spins on startup, consuming all available CPU cycles. With some carefully placed calls to exit(), the line in glance causing the problem was determined to be https://github.com/openstack/glance/blob/stable/juno/glance/openstack/common/log.py#L523. After this point the code gets lost in logging.handlers.SyslogHandler(). I noticed that the <component>.openstack.common.log source file was somewhat different in glance compared to several other OpenStack components. An update to glance.openstack.common missed the juno branch by a couple of commits https://github.com/openstack/glance/commit/d4f890798a0588a80e21fad044d4df5d0964dc70. Cherry picking this commit fixed the issue for me.
2015-02-16 13:44:22 Ian Cordasco glance: status New Triaged
2015-02-16 13:44:26 Ian Cordasco glance: importance Undecided High
2015-02-16 13:44:38 Ian Cordasco nominated for series glance/juno
2015-02-16 13:44:38 Ian Cordasco bug task added glance/juno
2015-02-16 13:44:49 Ian Cordasco glance/juno: status New Triaged
2015-02-16 13:44:52 Ian Cordasco glance/juno: importance Undecided High
2015-02-16 13:45:01 Ian Cordasco glance: status Triaged Invalid
2015-02-16 13:45:04 Ian Cordasco glance: importance High Undecided