)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"5776b68efde58ab7286b116fd873d4af47034302","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     venkata anil \u003canil.venkata@enovance.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-06-26 13:34:29 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"DVR connection to external network hung when floating IP assigned"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In DVR, when a floating ip is associated with a port, the current"},{"line_number":10,"context_line":"connection to external network will be hung(and unresponsive)."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"fa32b979_659f1966","line":7,"updated":"2015-06-26 14:24:16.000000000","message":"You should rather describe the fix than the bug in the commit message, like \u0027DVR: avoid connection hanging on floating ip associate\u0027","commit_id":"16c0bff8338616c523da3ccdf5dfc83e88f2f833"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"5776b68efde58ab7286b116fd873d4af47034302","unresolved":false,"context_lines":[{"line_number":16,"context_line":"this patch will clear the connection state and"},{"line_number":17,"context_line":"cut off the connection immediately."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Closes-bug: #1456624"},{"line_number":20,"context_line":"Change-Id: I9c6f7c52884a0ce5f5fa13eff8c535835df9678d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"fa32b979_051c0d12","line":19,"updated":"2015-06-26 14:24:16.000000000","message":"IMO correct fix would be to not break connections in this case. This patch makes things better so I\u0027d go with Partial-Bug","commit_id":"16c0bff8338616c523da3ccdf5dfc83e88f2f833"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"5b7a6b70a8433a1a50b65e2228faaf45880a9c50","unresolved":false,"context_lines":[{"line_number":15,"context_line":"When floating ip is added, to avoid hanging, this patch will"},{"line_number":16,"context_line":"clear the connection state and cut off the connection immediately."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Closes-bug: #1456624"},{"line_number":19,"context_line":"Change-Id: I9c6f7c52884a0ce5f5fa13eff8c535835df9678d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"ba3cc151_5a8707d7","line":18,"updated":"2015-07-01 06:22:01.000000000","message":"The bug is about connection lost, not connection hang. Not sure it\u0027s fair to say Closes-Bug, it should be Partial-Bug to not confuse those who see the bug is fixed while connections are still lost when associating floating IPs","commit_id":"612d3deaecf3a93be24223942c714cf1fd56e2fd"},{"author":{"_account_id":10267,"name":"venkata anil","email":"anilvenkata@redhat.com","username":"anil"},"change_message_id":"acd52a8a118656987eb46438afa5341e28a6ab0a","unresolved":false,"context_lines":[{"line_number":15,"context_line":"When floating ip is added, to avoid hanging, this patch will"},{"line_number":16,"context_line":"clear the connection state and cut off the connection immediately."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Closes-bug: #1456624"},{"line_number":19,"context_line":"Change-Id: I9c6f7c52884a0ce5f5fa13eff8c535835df9678d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"ba3cc151_8393e74e","line":18,"in_reply_to":"ba3cc151_5a8707d7","updated":"2015-07-01 08:47:44.000000000","message":"sure, thanks","commit_id":"612d3deaecf3a93be24223942c714cf1fd56e2fd"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"80a730b2a3d5cdd972752831e04c5821bbdeb515","unresolved":false,"context_lines":[{"line_number":13,"context_line":"tracked in conntrack."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"When floating ip is added, to avoid hanging, this patch will"},{"line_number":16,"context_line":"clear the connection state and cut off the connection immediately."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"DocImpact"},{"line_number":19,"context_line":"Partial-Bug: #1456624"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"ba3cc151_2e37094e","line":16,"updated":"2015-07-02 18:30:14.000000000","message":"This leads to a pretty poor user experience being disruptive to existing connections. Why can\u0027t we make dvr behave like central routers? I am not sure how viable this solution is, as we\u0027re breaking the typical workflow that involves connecting the VM to a FIP post-boot, this might even prevent certain initialization steps to continue.","commit_id":"e6392a227e356c87d135872237d12847ee4b54ce"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"80a730b2a3d5cdd972752831e04c5821bbdeb515","unresolved":false,"context_lines":[{"line_number":16,"context_line":"clear the connection state and cut off the connection immediately."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"DocImpact"},{"line_number":19,"context_line":"Partial-Bug: #1456624"},{"line_number":20,"context_line":"Change-Id: I9c6f7c52884a0ce5f5fa13eff8c535835df9678d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"ba3cc151_ee3da12b","line":19,"updated":"2015-07-02 18:30:14.000000000","message":"So, what\u0027s the rest of the plan to close this bug? What else is needed?","commit_id":"e6392a227e356c87d135872237d12847ee4b54ce"}],"neutron/agent/l3/dvr_local_router.py":[{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"5776b68efde58ab7286b116fd873d4af47034302","unresolved":false,"context_lines":[{"line_number":149,"context_line":"        # Special Handling for DVR - update FIP namespace"},{"line_number":150,"context_line":"        ip_cidr \u003d common_utils.ip_to_cidr(fip[\u0027floating_ip_address\u0027])"},{"line_number":151,"context_line":"        self.floating_ip_added_dist(fip, ip_cidr)"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"        ip_cidr \u003d common_utils.ip_to_cidr(fip[\u0027fixed_ip_address\u0027])"},{"line_number":154,"context_line":"        device.delete_addr_and_conntrack_state(ip_cidr, del_addr\u003dFalse)"},{"line_number":155,"context_line":"        return l3_constants.FLOATINGIP_STATUS_ACTIVE"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_e5cfa955","line":152,"updated":"2015-06-26 14:24:16.000000000","message":"May want to add commen here","commit_id":"16c0bff8338616c523da3ccdf5dfc83e88f2f833"},{"author":{"_account_id":10257,"name":"Sridhar Gaddam","email":"sgaddam@redhat.com","username":"sridhargaddam"},"change_message_id":"dc860650986d855881235fc6cfbe64fe3e808acc","unresolved":false,"context_lines":[{"line_number":154,"context_line":"        # to avoid current connection to external network hanging"},{"line_number":155,"context_line":"        # on floating ip add"},{"line_number":156,"context_line":"        ip_cidr \u003d common_utils.ip_to_cidr(fip[\u0027fixed_ip_address\u0027])"},{"line_number":157,"context_line":"        device.delete_addr_and_conntrack_state(ip_cidr, del_addr\u003dFalse)"},{"line_number":158,"context_line":"        return l3_constants.FLOATINGIP_STATUS_ACTIVE"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"    def remove_floating_ip(self, device, ip_cidr):"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_f858a058","line":157,"updated":"2015-06-30 05:48:37.000000000","message":"I hope you wanted to call - delete_conntrack_state(ip_cidr) here.","commit_id":"d110517ed1463c73ee13ed910801983cfafa05a2"},{"author":{"_account_id":10257,"name":"Sridhar Gaddam","email":"sgaddam@redhat.com","username":"sridhargaddam"},"change_message_id":"4741b8db4ca595fe7cedfed1202e36c13673f561","unresolved":false,"context_lines":[{"line_number":153,"context_line":"        # Clear the connection state and cut off the connection immediately"},{"line_number":154,"context_line":"        # to avoid current connection to external network hanging"},{"line_number":155,"context_line":"        # on floating ip add"},{"line_number":156,"context_line":"        ip_cidr \u003d common_utils.ip_to_cidr(fip[\u0027fixed_ip_address\u0027])"},{"line_number":157,"context_line":"        device.delete_conntrack_state(ip_cidr)"},{"line_number":158,"context_line":"        return l3_constants.FLOATINGIP_STATUS_ACTIVE"},{"line_number":159,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_fe5ac129","line":156,"updated":"2015-06-30 09:38:25.000000000","message":"Since delete_conntrack_state can take the ip_address (instead of ip_cidr) we can directly pass fip[\u0027fixed_ip_address\u0027]. Please check.","commit_id":"94aac6e3724c4257112fe6e7f5d5ca7227b1d259"}],"neutron/agent/linux/ip_lib.py":[{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"5776b68efde58ab7286b116fd873d4af47034302","unresolved":false,"context_lines":[{"line_number":217,"context_line":"    def __str__(self):"},{"line_number":218,"context_line":"        return self.name"},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"    def delete_addr_and_conntrack_state(self, cidr, del_addr\u003dTrue):"},{"line_number":221,"context_line":"        \"\"\"Delete an address along with its conntrack state"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"        This terminates any active connections through an IP."}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_455bf5f6","line":220,"updated":"2015-06-26 14:24:16.000000000","message":"This looks a bit awkward, consider refactor to have separate delete_conntrack_state() method","commit_id":"16c0bff8338616c523da3ccdf5dfc83e88f2f833"}],"neutron/tests/unit/agent/l3/test_dvr_local_router.py":[{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"5776b68efde58ab7286b116fd873d4af47034302","unresolved":false,"context_lines":[{"line_number":274,"context_line":"        self.assertEqual(l3_constants.FLOATINGIP_STATUS_ACTIVE, result)"},{"line_number":275,"context_line":""},{"line_number":276,"context_line":"    def test_add_floating_ip_error(self):"},{"line_number":277,"context_line":"        device \u003d mock.Mock()"},{"line_number":278,"context_line":"        ri \u003d self._create_router(mock.MagicMock())"},{"line_number":279,"context_line":"        result \u003d self._test_add_floating_ip("},{"line_number":280,"context_line":"            ri, {\u0027floating_ip_address\u0027: \u002715.1.2.3\u0027}, False, device)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa32b979_258111c4","line":277,"updated":"2015-06-26 14:24:16.000000000","message":"is it needed here? May just pass mock.Mock() at #280 if needed to pass anything at all.","commit_id":"16c0bff8338616c523da3ccdf5dfc83e88f2f833"}]}
