)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"07e7870d9aa86e8a13161769ac15c84449c0929d","unresolved":true,"context_lines":[{"line_number":9,"context_line":"Neutron-keepalived-state-change-monitor process is using HTTP to notify"},{"line_number":10,"context_line":"L3 agent that state of the HA router was changed. It is done through"},{"line_number":11,"context_line":"unix socket."},{"line_number":12,"context_line":"It seems that sometimes connection wasn\u0027t closed properly and if"},{"line_number":13,"context_line":"router\u0027s state was changed more than once in short time, it could happen"},{"line_number":14,"context_line":"that wsgi worker on the L3 agent\u0027s side didn\u0027t process second request at"},{"line_number":15,"context_line":"all. That caused problem with transitioning router to master state after"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3cef35c4_77204a19","line":12,"updated":"2021-06-17 15:14:53.000000000","message":"Actually with http 1.1, the connection is never closed. It should be explicitly defined in the header [1].\n\nThe problem we have here could be that the wsgi thread waiting for the message, that should execute the \"__call__\" method, does not respond, maybe due to the use of eventlet (but this is a guess and I can\u0027t prove it now).\n\nIn any case, once we move to python \u003e\u003d3.7, we can swap to streams [2], that could reduce the overload of using HTTP and webob, in favor of asyncio, an internal library.\n\n[1]https://www.geeksforgeeks.org/http-headers-connection/\n[2]https://docs.python.org/3/library/asyncio-stream.html","commit_id":"2cc35ba57a5750c244e99eb0dd750388f088ab5b"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"e09a441741172a62aa3575926d87c11fb937f230","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Neutron-keepalived-state-change-monitor process is using HTTP to notify"},{"line_number":10,"context_line":"L3 agent that state of the HA router was changed. It is done through"},{"line_number":11,"context_line":"unix socket."},{"line_number":12,"context_line":"It seems that sometimes connection wasn\u0027t closed properly and if"},{"line_number":13,"context_line":"router\u0027s state was changed more than once in short time, it could happen"},{"line_number":14,"context_line":"that wsgi worker on the L3 agent\u0027s side didn\u0027t process second request at"},{"line_number":15,"context_line":"all. That caused problem with transitioning router to master state after"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"bdc10ff3_92c4e22a","line":12,"in_reply_to":"3cef35c4_77204a19","updated":"2021-06-18 08:34:18.000000000","message":"Done","commit_id":"2cc35ba57a5750c244e99eb0dd750388f088ab5b"}]}
