)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"4e68e510e61d50872cc1510088f08407242fec38","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This patch skips methods that call rpc call() method inside of the"},{"line_number":10,"context_line":"daemon_loop to avoid waiting for response from neutron-server. In case"},{"line_number":11,"context_line":"when neutron-server is not running or under heavy load, it takes"},{"line_number":12,"context_line":"unnecessary time to finish the daemon loop and exit."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I3026775e813a74bad9e0bca3be1f535212a2e417"},{"line_number":15,"context_line":"Closes-Bug: 1334264"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3a961159_c1005b03","line":12,"updated":"2015-01-08 09:15:01.000000000","message":"I think if there are cases like that, we should try to shake them out now because they can already happen if the message bus goes down, or if the compute node dies, or if a neutron server dies after taking the message of the bus, etc. It\u0027s my understanding that we assume the message bus is unreliable and guard against losses with resyncs idempotent-looking things.","commit_id":"59f6e372914528d5a562782c4646907fb1feeef2"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"c9618000904334b731be9e493eda18f91feb3305","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This patch skips methods that call rpc call() method inside of the"},{"line_number":10,"context_line":"daemon_loop to avoid waiting for response from neutron-server. In case"},{"line_number":11,"context_line":"when neutron-server is not running or under heavy load, it takes"},{"line_number":12,"context_line":"unnecessary time to finish the daemon loop and exit."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I3026775e813a74bad9e0bca3be1f535212a2e417"},{"line_number":15,"context_line":"Closes-Bug: 1334264"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3a961159_c9d40f49","line":12,"updated":"2015-01-07 23:37:37.000000000","message":"I understand that if the server was brought down prior to the agent, then there is no way for the agent to finish cleanly; but if the server was \"busy\", completing the loop partially makes me wonder whether we end up somewhat in a broken state, from where the agent would have problems restarting from.\n\nHave you considered this case?","commit_id":"59f6e372914528d5a562782c4646907fb1feeef2"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"e1c4be23e5e7a4bc33648544d04ad84af8370383","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This patch skips methods that call rpc call() method inside of the"},{"line_number":10,"context_line":"daemon_loop to avoid waiting for response from neutron-server. In case"},{"line_number":11,"context_line":"when neutron-server is not running or under heavy load, it takes"},{"line_number":12,"context_line":"unnecessary time to finish the daemon loop and exit."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I3026775e813a74bad9e0bca3be1f535212a2e417"},{"line_number":15,"context_line":"Closes-Bug: 1334264"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3a961159_1c3c88e0","line":12,"in_reply_to":"3a961159_c1005b03","updated":"2015-01-08 13:37:30.000000000","message":"@Armando: no, also now I think it doesn\u0027t make sense to skip rpc calls even if neutron-server is not busy and running ok.","commit_id":"59f6e372914528d5a562782c4646907fb1feeef2"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"c9618000904334b731be9e493eda18f91feb3305","unresolved":false,"context_lines":[{"line_number":12,"context_line":"unnecessary time to finish the daemon loop and exit."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I3026775e813a74bad9e0bca3be1f535212a2e417"},{"line_number":15,"context_line":"Closes-Bug: 1334264"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3a961159_a900a301","line":15,"updated":"2015-01-07 23:37:37.000000000","message":"A bit confused here. Isn\u0027t the bug already fixed? Or does the unnecessary wait cause the agent to return -1? Also do your changes suffice or the DVR side of the agent need a similar treatment?","commit_id":"59f6e372914528d5a562782c4646907fb1feeef2"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"e1c4be23e5e7a4bc33648544d04ad84af8370383","unresolved":false,"context_lines":[{"line_number":12,"context_line":"unnecessary time to finish the daemon loop and exit."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I3026775e813a74bad9e0bca3be1f535212a2e417"},{"line_number":15,"context_line":"Closes-Bug: 1334264"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3a961159_9c64f8b3","line":15,"updated":"2015-01-08 13:37:30.000000000","message":"Good catch, my bad, I was looking on older bug and accidentally put this id here (too much tabs open in chrome). Correct one is https://bugs.launchpad.net/neutron/+bug/1408334\n\nAgent eventually would exit with 0, but it would take minutes. Reason of returning non-zero value is that systemd after configurable timeout sends sigkill, so agent exits with 137.\n\nI\u0027ll test dvr to see, whether it\u0027s the same. I haven\u0027t checked that.","commit_id":"59f6e372914528d5a562782c4646907fb1feeef2"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"efd9b1f7e947351722b5437f32bbeb2bd5ec2658","unresolved":false,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"DocImpact"},{"line_number":15,"context_line":"Change-Id: I3026775e813a74bad9e0bca3be1f535212a2e417"},{"line_number":16,"context_line":"Closes-Bug: 1334264"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"da86d52c_a872e579","line":16,"updated":"2015-02-03 02:34:56.000000000","message":"it\u0027s more appropriate to file a new bug rather than re-using a fix-released bug.","commit_id":"2e43d09ba31934d8f4e43092f8d2ef3a75bc3207"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"7c424704890b95b9c821ca0bd8440f7015128839","unresolved":false,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"DocImpact"},{"line_number":15,"context_line":"Change-Id: I3026775e813a74bad9e0bca3be1f535212a2e417"},{"line_number":16,"context_line":"Closes-Bug: 1334264"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"da86d52c_6d839204","line":16,"in_reply_to":"da86d52c_a872e579","updated":"2015-02-03 10:32:59.000000000","message":"Oops, I forgot to change it. Armando already pointed that out in previous patchset.","commit_id":"2e43d09ba31934d8f4e43092f8d2ef3a75bc3207"}],"etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"f2bd0807dcc68d637bed6624b1193663ea70364f","unresolved":false,"context_lines":[{"line_number":102,"context_line":"# (IntOpt) Set new timeout in seconds for new rpc calls after agent receives"},{"line_number":103,"context_line":"# SIGTERM. If value is set to 0, rpc timeout won\u0027t be changed\""},{"line_number":104,"context_line":"#"},{"line_number":105,"context_line":"# quitting_rpc_timeout \u003d 10"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"[securitygroup]"},{"line_number":108,"context_line":"# Firewall driver for realizing neutron security group function."}],"source_content_type":"text/x-properties","patch_set":2,"id":"da86d52c_f8b054f6","line":105,"updated":"2015-02-02 12:59:21.000000000","message":"We may potentially run into the same problem with other agents which communicate via RPC.\n\nHow about moving this option to [AGENT] in neutron.conf, so we can later implement the patch over the other agents too without deployer changes?.","commit_id":"2e43d09ba31934d8f4e43092f8d2ef3a75bc3207"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"07d9c9d0b39f2db2596fedc8f58d3c4df03d1915","unresolved":false,"context_lines":[{"line_number":102,"context_line":"# (IntOpt) Set new timeout in seconds for new rpc calls after agent receives"},{"line_number":103,"context_line":"# SIGTERM. If value is set to 0, rpc timeout won\u0027t be changed\""},{"line_number":104,"context_line":"#"},{"line_number":105,"context_line":"# quitting_rpc_timeout \u003d 10"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"[securitygroup]"},{"line_number":108,"context_line":"# Firewall driver for realizing neutron security group function."}],"source_content_type":"text/x-properties","patch_set":2,"id":"da86d52c_82c19e82","line":105,"in_reply_to":"da86d52c_7cce1385","updated":"2015-02-02 15:06:50.000000000","message":"Aha, given that, it seems fair enough to me.","commit_id":"2e43d09ba31934d8f4e43092f8d2ef3a75bc3207"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"6287e106a2544b71675e8fa1f565264e30b48d61","unresolved":false,"context_lines":[{"line_number":102,"context_line":"# (IntOpt) Set new timeout in seconds for new rpc calls after agent receives"},{"line_number":103,"context_line":"# SIGTERM. If value is set to 0, rpc timeout won\u0027t be changed\""},{"line_number":104,"context_line":"#"},{"line_number":105,"context_line":"# quitting_rpc_timeout \u003d 10"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"[securitygroup]"},{"line_number":108,"context_line":"# Firewall driver for realizing neutron security group function."}],"source_content_type":"text/x-properties","patch_set":2,"id":"da86d52c_7cce1385","line":105,"in_reply_to":"da86d52c_f8b054f6","updated":"2015-02-02 14:41:03.000000000","message":"So far it\u0027s relevant for ovs-agent only. I\u0027d rather keep it here and move it once it\u0027s applicable to other agents. Note that other agents use Service from oslo-incubator that doesn\u0027t handle SIGTERM and quits right away with given signal exit code.","commit_id":"2e43d09ba31934d8f4e43092f8d2ef3a75bc3207"}],"neutron/agent/rpc.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"a59caff3d3a0871a410480e1a2048bf10ea9f370","unresolved":false,"context_lines":[{"line_number":70,"context_line":"        method \u003d cctxt.call if use_call else cctxt.cast"},{"line_number":71,"context_line":"        return method(context, \u0027report_state\u0027, **kwargs)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def set_rpc_timeout(self, timeout):"},{"line_number":74,"context_line":"        self.client.timeout \u003d timeout"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_29cc8d35","line":73,"updated":"2015-01-30 19:46:02.000000000","message":"not sure how worth this setter is, and sprinkling it all over the place makes me wonder whether it\u0027s easier just to reference \u0027client\u0027 directly","commit_id":"2e43d09ba31934d8f4e43092f8d2ef3a75bc3207"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"4542fd281c8c3387734464116dd4f6e52cf6c0cc","unresolved":false,"context_lines":[{"line_number":70,"context_line":"        method \u003d cctxt.call if use_call else cctxt.cast"},{"line_number":71,"context_line":"        return method(context, \u0027report_state\u0027, **kwargs)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def set_rpc_timeout(self, timeout):"},{"line_number":74,"context_line":"        self.client.timeout \u003d timeout"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_2f9acd14","line":73,"in_reply_to":"da86d52c_29cc8d35","updated":"2015-01-30 21:00:54.000000000","message":"I think this provides better encapsulation. If we\u0027ll ever switch to different rpc implementation we won\u0027t need to switch it all over the place but just change set_rpc_timeout ... 4 times :) I\u0027ll be more happy if rpc apis will have common ancestor but they don\u0027t.","commit_id":"2e43d09ba31934d8f4e43092f8d2ef3a75bc3207"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"efd9b1f7e947351722b5437f32bbeb2bd5ec2658","unresolved":false,"context_lines":[{"line_number":70,"context_line":"        method \u003d cctxt.call if use_call else cctxt.cast"},{"line_number":71,"context_line":"        return method(context, \u0027report_state\u0027, **kwargs)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def set_rpc_timeout(self, timeout):"},{"line_number":74,"context_line":"        self.client.timeout \u003d timeout"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_c8c5593e","line":73,"in_reply_to":"da86d52c_2f9acd14","updated":"2015-02-03 02:34:56.000000000","message":"IMO it\u0027s rather confusing to have non-RPC methods in api classes.","commit_id":"2e43d09ba31934d8f4e43092f8d2ef3a75bc3207"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"65ed5e8fca8193d7da0a0067106d4b7c9774477a","unresolved":false,"context_lines":[{"line_number":70,"context_line":"        method \u003d cctxt.call if use_call else cctxt.cast"},{"line_number":71,"context_line":"        return method(context, \u0027report_state\u0027, **kwargs)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def set_rpc_timeout(self, timeout):"},{"line_number":74,"context_line":"        self.client.timeout \u003d timeout"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_65e818b5","line":73,"in_reply_to":"da86d52c_2f9acd14","updated":"2015-02-03 01:54:42.000000000","message":"if we ever switch to a different rpc implementation, setting the rpc timeout is the last of your worries. You intention is commendable, but I hardly see a real benefit here.","commit_id":"2e43d09ba31934d8f4e43092f8d2ef3a75bc3207"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"7c424704890b95b9c821ca0bd8440f7015128839","unresolved":false,"context_lines":[{"line_number":70,"context_line":"        method \u003d cctxt.call if use_call else cctxt.cast"},{"line_number":71,"context_line":"        return method(context, \u0027report_state\u0027, **kwargs)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def set_rpc_timeout(self, timeout):"},{"line_number":74,"context_line":"        self.client.timeout \u003d timeout"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_6dff1268","line":73,"in_reply_to":"da86d52c_c8c5593e","updated":"2015-02-03 10:32:59.000000000","message":"Done, but I still think it\u0027s against OO principle to expose internals of class.","commit_id":"2e43d09ba31934d8f4e43092f8d2ef3a75bc3207"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"5fa9812b07b6ab3bad7093617e3424a5bc5a52d9","unresolved":false,"context_lines":[{"line_number":71,"context_line":"        return method(context, \u0027report_state\u0027, **kwargs)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def set_rpc_timeout(self, timeout):"},{"line_number":74,"context_line":"        self.client.timeout \u003d timeout"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"class PluginApi(object):"}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_505ca625","line":74,"updated":"2015-02-03 10:54:49.000000000","message":"This last piece of set_rpc_timeout was left.\n\nWasn\u0027t the intention to remove it here too?","commit_id":"6f303e14f0efe2205ea9b57bffad51ce8a335d58"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"72b7e5e64908b3dd7e48cc5925aa7cd647a9678d","unresolved":false,"context_lines":[{"line_number":71,"context_line":"        return method(context, \u0027report_state\u0027, **kwargs)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def set_rpc_timeout(self, timeout):"},{"line_number":74,"context_line":"        self.client.timeout \u003d timeout"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"class PluginApi(object):"}],"source_content_type":"text/x-python","patch_set":3,"id":"da86d52c_f6759298","line":74,"in_reply_to":"da86d52c_505ca625","updated":"2015-02-03 11:38:26.000000000","message":"Yes","commit_id":"6f303e14f0efe2205ea9b57bffad51ce8a335d58"}],"neutron/plugins/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"c9618000904334b731be9e493eda18f91feb3305","unresolved":false,"context_lines":[{"line_number":237,"context_line":"            self.enable_tunneling,"},{"line_number":238,"context_line":"            self.enable_distributed_routing)"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"        # Initialize iteration counter"},{"line_number":241,"context_line":"        self.iter_num \u003d 0"},{"line_number":242,"context_line":"        self.run_daemon_loop \u003d True"},{"line_number":243,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_c93b2f9a","line":240,"updated":"2015-01-07 23:37:37.000000000","message":"was moving this piece necessary for the scope of the patch?","commit_id":"59f6e372914528d5a562782c4646907fb1feeef2"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"e1c4be23e5e7a4bc33648544d04ad84af8370383","unresolved":false,"context_lines":[{"line_number":237,"context_line":"            self.enable_tunneling,"},{"line_number":238,"context_line":"            self.enable_distributed_routing)"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"        # Initialize iteration counter"},{"line_number":241,"context_line":"        self.iter_num \u003d 0"},{"line_number":242,"context_line":"        self.run_daemon_loop \u003d True"},{"line_number":243,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_7c2cacac","line":240,"in_reply_to":"3a961159_c93b2f9a","updated":"2015-01-08 13:37:30.000000000","message":"Yes, because self._report_interval is run before run_daemon_loop was set causing exception.","commit_id":"59f6e372914528d5a562782c4646907fb1feeef2"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"4e68e510e61d50872cc1510088f08407242fec38","unresolved":false,"context_lines":[{"line_number":1424,"context_line":"                self.loop_count_and_wait(start, port_stats)"},{"line_number":1425,"context_line":"                continue"},{"line_number":1426,"context_line":"            # Notify the plugin of tunnel IP"},{"line_number":1427,"context_line":"            if self.run_daemon_loop and self.enable_tunneling and tunnel_sync:"},{"line_number":1428,"context_line":"                LOG.info(_LI(\"Agent tunnel out of sync with plugin!\"))"},{"line_number":1429,"context_line":"                try:"},{"line_number":1430,"context_line":"                    tunnel_sync \u003d self.tunnel_sync()"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_e103970a","line":1427,"updated":"2015-01-08 09:15:01.000000000","message":"+1. A really short timeout at least makes the exit clean on non-busy systems as well.","commit_id":"59f6e372914528d5a562782c4646907fb1feeef2"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"c9618000904334b731be9e493eda18f91feb3305","unresolved":false,"context_lines":[{"line_number":1424,"context_line":"                self.loop_count_and_wait(start, port_stats)"},{"line_number":1425,"context_line":"                continue"},{"line_number":1426,"context_line":"            # Notify the plugin of tunnel IP"},{"line_number":1427,"context_line":"            if self.run_daemon_loop and self.enable_tunneling and tunnel_sync:"},{"line_number":1428,"context_line":"                LOG.info(_LI(\"Agent tunnel out of sync with plugin!\"))"},{"line_number":1429,"context_line":"                try:"},{"line_number":1430,"context_line":"                    tunnel_sync \u003d self.tunnel_sync()"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_8964c7b3","line":1427,"updated":"2015-01-07 23:37:37.000000000","message":"the way you aim to solve the issue you\u0027re experiencing is prone to regression. What if later on someone adds an rpc call that is not protected by this check? Wouldn\u0027t it be better if, for instance, brought the RPC timeout to something very small, so that we exit quicker?","commit_id":"59f6e372914528d5a562782c4646907fb1feeef2"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"4d21440a2b108341d3c95c5b7b1ad33b363158b8","unresolved":false,"context_lines":[{"line_number":1424,"context_line":"                self.loop_count_and_wait(start, port_stats)"},{"line_number":1425,"context_line":"                continue"},{"line_number":1426,"context_line":"            # Notify the plugin of tunnel IP"},{"line_number":1427,"context_line":"            if self.run_daemon_loop and self.enable_tunneling and tunnel_sync:"},{"line_number":1428,"context_line":"                LOG.info(_LI(\"Agent tunnel out of sync with plugin!\"))"},{"line_number":1429,"context_line":"                try:"},{"line_number":1430,"context_line":"                    tunnel_sync \u003d self.tunnel_sync()"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_a2a263f9","line":1427,"in_reply_to":"3a961159_3e1a156f","updated":"2015-01-08 17:12:36.000000000","message":"That\u0027s the idea, we\u0027d need to see if it applies correctly or we\u0027d need t reinit the RPC layer, or pass a variable Timeout everywhere...it might turn out ugly...you gotta experiment a little bit ;)","commit_id":"59f6e372914528d5a562782c4646907fb1feeef2"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"235b93448e2bdeaa80d823a6fdb94d96c72eb0ef","unresolved":false,"context_lines":[{"line_number":1424,"context_line":"                self.loop_count_and_wait(start, port_stats)"},{"line_number":1425,"context_line":"                continue"},{"line_number":1426,"context_line":"            # Notify the plugin of tunnel IP"},{"line_number":1427,"context_line":"            if self.run_daemon_loop and self.enable_tunneling and tunnel_sync:"},{"line_number":1428,"context_line":"                LOG.info(_LI(\"Agent tunnel out of sync with plugin!\"))"},{"line_number":1429,"context_line":"                try:"},{"line_number":1430,"context_line":"                    tunnel_sync \u003d self.tunnel_sync()"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_dee4e83d","line":1427,"in_reply_to":"3a961159_6205db78","updated":"2015-01-26 13:39:01.000000000","message":"Yes, shortening timeout on termination looks like a much better solution +1","commit_id":"59f6e372914528d5a562782c4646907fb1feeef2"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"5d566edcc274ddf18157cb96824dc663ad161e5e","unresolved":false,"context_lines":[{"line_number":1424,"context_line":"                self.loop_count_and_wait(start, port_stats)"},{"line_number":1425,"context_line":"                continue"},{"line_number":1426,"context_line":"            # Notify the plugin of tunnel IP"},{"line_number":1427,"context_line":"            if self.run_daemon_loop and self.enable_tunneling and tunnel_sync:"},{"line_number":1428,"context_line":"                LOG.info(_LI(\"Agent tunnel out of sync with plugin!\"))"},{"line_number":1429,"context_line":"                try:"},{"line_number":1430,"context_line":"                    tunnel_sync \u003d self.tunnel_sync()"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_6205db78","line":1427,"in_reply_to":"3a961159_a2a263f9","updated":"2015-01-08 17:26:13.000000000","message":"Good, I\u0027ll look in to it.","commit_id":"59f6e372914528d5a562782c4646907fb1feeef2"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"e1c4be23e5e7a4bc33648544d04ad84af8370383","unresolved":false,"context_lines":[{"line_number":1424,"context_line":"                self.loop_count_and_wait(start, port_stats)"},{"line_number":1425,"context_line":"                continue"},{"line_number":1426,"context_line":"            # Notify the plugin of tunnel IP"},{"line_number":1427,"context_line":"            if self.run_daemon_loop and self.enable_tunneling and tunnel_sync:"},{"line_number":1428,"context_line":"                LOG.info(_LI(\"Agent tunnel out of sync with plugin!\"))"},{"line_number":1429,"context_line":"                try:"},{"line_number":1430,"context_line":"                    tunnel_sync \u003d self.tunnel_sync()"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_3e1a156f","line":1427,"in_reply_to":"3a961159_e103970a","updated":"2015-01-08 13:37:30.000000000","message":"So the solution should be to decrease rpc timeouts after sigterm is received?","commit_id":"59f6e372914528d5a562782c4646907fb1feeef2"}]}
