Activity log for bug #1459726

Date Who What changed Old value New value Message
2015-05-28 15:33:40 George Shuklin bug added bug
2015-05-28 15:34:50 George Shuklin description Affected: glance-api glance-registry neutron-server nova-api If service was configured to use rsyslog and rsyslog was restarted after API server started, it hangs on next log line with 100% CPU. If server have few workers, each worker will eat own 100% CPU share. Steps to reproduce: 1. Configure syslog: use_syslog=true syslog_log_facility=LOG_LOCAL4 2. restart api service 3. restart rsyslog Execute some command to force logging. F.e.: neutron net-create foo, nova boot, etc. Expected result: normal operation Actual result: with some chance (about 30-50%) api server will hung with 100% CPU usage and will not reply to request. Strace on hung service: gettimeofday({1432827199, 745141}, NULL) = 0 poll([{fd=3, events=POLLOUT|POLLERR|POLLHUP}, {fd=5, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 2, 60000) = 1 ([{fd=3, revents=POLLOUT}]) sendto(3, "<151>keystonemiddleware.auth_token[12502]: DEBUG Authenticating user token __call__ /usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token.py:650\0", 154, 0, NULL, 0) = -1 ENOTCONN (Transport endpoint is not connected) gettimeofday({1432827199, 745226}, NULL) = 0 poll([{fd=3, events=POLLOUT|POLLERR|POLLHUP}, {fd=5, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 2, 60000) = 1 ([{fd=3, revents=POLLOUT}]) sendto(3, "<151>keystonemiddleware.auth_token[12502]: DEBUG Authenticating user token __call__ /usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token.py:650\0", 154, 0, NULL, 0) = -1 ENOTCONN (Transport endpoint is not connected) gettimeofday({1432827199, 745325}, NULL) = 0 Affected: glance-api glance-registry neutron-server nova-api If service was configured to use rsyslog and rsyslog was restarted after API server started, it hangs on next log line with 100% CPU. If server have few workers, each worker will eat own 100% CPU share. Steps to reproduce: 1. Configure syslog: use_syslog=true syslog_log_facility=LOG_LOCAL4 2. restart api service 3. restart rsyslog Execute some command to force logging. F.e.: neutron net-create foo, nova boot, etc. Expected result: normal operation Actual result: with some chance (about 30-50%) api server will hung with 100% CPU usage and will not reply to request. Strace on hung service: gettimeofday({1432827199, 745141}, NULL) = 0 poll([{fd=3, events=POLLOUT|POLLERR|POLLHUP}, {fd=5, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 2, 60000) = 1 ([{fd=3, revents=POLLOUT}]) sendto(3, "<151>keystonemiddleware.auth_token[12502]: DEBUG Authenticating user token __call__ /usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token.py:650\0", 154, 0, NULL, 0) = -1 ENOTCONN (Transport endpoint is not connected) gettimeofday({1432827199, 745226}, NULL) = 0 poll([{fd=3, events=POLLOUT|POLLERR|POLLHUP}, {fd=5, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 2, 60000) = 1 ([{fd=3, revents=POLLOUT}]) sendto(3, "<151>keystonemiddleware.auth_token[12502]: DEBUG Authenticating user token __call__ /usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token.py:650\0", 154, 0, NULL, 0) = -1 ENOTCONN (Transport endpoint is not connected) gettimeofday({1432827199, 745325}, NULL) = 0 Tested on: nova, glance, neutron: 1:2014.2.3, Ubuntu version.
2015-05-28 15:35:44 George Shuklin bug task added neutron
2015-05-28 15:35:57 George Shuklin bug task added glance
2015-05-28 17:25:31 Nobuto Murata bug added subscriber Nobuto Murata
2015-05-28 18:04:17 Tim Bell bug added subscriber Tim Bell
2015-05-28 21:10:30 gustavo panizzo bug added subscriber gustavo panizzo
2015-05-29 01:12:29 Tom Fifield tags ops
2015-05-29 02:34:17 Xav Paice bug added subscriber Xav Paice
2015-05-29 13:10:26 Davanum Srinivas (DIMS) bug task added oslo.log
2015-05-29 13:43:30 Stuart McLaren marked as duplicate 1076466
2015-05-29 14:21:30 George Shuklin removed duplicate marker 1076466
2015-05-29 16:02:06 Simon Pasquier bug added subscriber Simon Pasquier
2015-05-29 16:11:25 George Shuklin bug task added python-eventlet (Ubuntu)
2015-05-29 23:02:01 Mark Russell bug added subscriber Mark Russell
2015-05-30 13:56:22 Ian Cordasco glance: status New Invalid
2015-05-30 13:56:29 Ian Cordasco nova: status New Invalid
2015-05-30 13:56:36 Ian Cordasco neutron: status New Invalid
2015-05-30 16:14:10 Doug Hellmann oslo.log: status New Invalid
2015-05-30 16:15:13 Launchpad Janitor python-eventlet (Ubuntu): status New Confirmed
2015-06-01 10:18:24 James Page marked as duplicate 1452312