)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"1c7a7cc4c6ecad8504a333bfbc15f30d033af3f0","unresolved":false,"context_lines":[{"line_number":21,"context_line":"This solution is matches the behaviour found when trying"},{"line_number":22,"context_line":"to un-schedule a router from the same agent."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Closes-Bug: #1402698"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Change-Id: I4ad11c4f612c3459add327fea75938fa5ef78ad8"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"3a961159_a263aa18","line":24,"updated":"2015-01-05 19:51:45.000000000","message":"Are you sure this is the bug you\u0027re meant to fix? This is either not right, or I am confused.","commit_id":"224e838c797e2b54df568880eed61325f0e8aa87"},{"author":{"_account_id":14024,"name":"Yoni Shafrir","email":"yshafrir@redhat.com","username":"yoni"},"change_message_id":"194f4afa66385cbe18232fb2887b115ebc1a2f21","unresolved":false,"context_lines":[{"line_number":21,"context_line":"This solution is matches the behaviour found when trying"},{"line_number":22,"context_line":"to un-schedule a router from the same agent."},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Closes-Bug: #1402698"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Change-Id: I4ad11c4f612c3459add327fea75938fa5ef78ad8"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"3a961159_7dacf1ed","line":24,"updated":"2015-01-06 07:07:08.000000000","message":"You are correct, the bug id is \u00271406705\u0027","commit_id":"224e838c797e2b54df568880eed61325f0e8aa87"}],"neutron/db/l3_agentschedulers_db.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"65acd8e3b46e41ab40e2fa9005a9e0f7fdb448d6","unresolved":false,"context_lines":[{"line_number":198,"context_line":"        for binding in bindings:"},{"line_number":199,"context_line":"            if binding.l3_agent_id \u003d\u003d agent_id:"},{"line_number":200,"context_line":"                # router already bound to the agent we need"},{"line_number":201,"context_line":"                raise l3agentscheduler.RouterHostedByL3Agent("},{"line_number":202,"context_line":"                    router_id\u003drouter_id,"},{"line_number":203,"context_line":"                    agent_id\u003dagent_id)"},{"line_number":204,"context_line":"        if router.get(\u0027distributed\u0027):"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_fe9d62bc","line":201,"updated":"2015-01-04 22:40:05.000000000","message":"such change seems not compliant with https://review.openstack.org/115383","commit_id":"224e838c797e2b54df568880eed61325f0e8aa87"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"1e4957c4adb25b1b5d3f6febdd7b28ac4ea0dc25","unresolved":false,"context_lines":[{"line_number":198,"context_line":"        for binding in bindings:"},{"line_number":199,"context_line":"            if binding.l3_agent_id \u003d\u003d agent_id:"},{"line_number":200,"context_line":"                # router already bound to the agent we need"},{"line_number":201,"context_line":"                raise l3agentscheduler.RouterHostedByL3Agent("},{"line_number":202,"context_line":"                    router_id\u003drouter_id,"},{"line_number":203,"context_line":"                    agent_id\u003dagent_id)"},{"line_number":204,"context_line":"        if router.get(\u0027distributed\u0027):"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_a1fe5303","line":201,"in_reply_to":"3a961159_6f1ff7b7","updated":"2015-01-05 13:20:06.000000000","message":"iiuc, [1] \"return False\" if L199 is satisfied to allow reallocating a router to the its current agent. Your change will regress the bug corrected by [1].\n\n[1] https://review.openstack.org/115383","commit_id":"224e838c797e2b54df568880eed61325f0e8aa87"},{"author":{"_account_id":14024,"name":"Yoni Shafrir","email":"yshafrir@redhat.com","username":"yoni"},"change_message_id":"194f4afa66385cbe18232fb2887b115ebc1a2f21","unresolved":false,"context_lines":[{"line_number":198,"context_line":"        for binding in bindings:"},{"line_number":199,"context_line":"            if binding.l3_agent_id \u003d\u003d agent_id:"},{"line_number":200,"context_line":"                # router already bound to the agent we need"},{"line_number":201,"context_line":"                raise l3agentscheduler.RouterHostedByL3Agent("},{"line_number":202,"context_line":"                    router_id\u003drouter_id,"},{"line_number":203,"context_line":"                    agent_id\u003dagent_id)"},{"line_number":204,"context_line":"        if router.get(\u0027distributed\u0027):"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_dd4de573","line":201,"in_reply_to":"3a961159_a1fe5303","updated":"2015-01-06 07:07:08.000000000","message":"So you say we want to allow such allocation to the same agent instead of failing it ?","commit_id":"224e838c797e2b54df568880eed61325f0e8aa87"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"3f8c463289b598715d889776560a85b70d7274f8","unresolved":false,"context_lines":[{"line_number":198,"context_line":"        for binding in bindings:"},{"line_number":199,"context_line":"            if binding.l3_agent_id \u003d\u003d agent_id:"},{"line_number":200,"context_line":"                # router already bound to the agent we need"},{"line_number":201,"context_line":"                raise l3agentscheduler.RouterHostedByL3Agent("},{"line_number":202,"context_line":"                    router_id\u003drouter_id,"},{"line_number":203,"context_line":"                    agent_id\u003dagent_id)"},{"line_number":204,"context_line":"        if router.get(\u0027distributed\u0027):"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_5cd9b081","line":201,"in_reply_to":"3a961159_dd4de573","updated":"2015-01-08 10:09:48.000000000","message":"+1 to Cedric\u0027s comments.\nCan we keep consistency by not failing when unscheduling router twice from the same agent?","commit_id":"224e838c797e2b54df568880eed61325f0e8aa87"},{"author":{"_account_id":14024,"name":"Yoni Shafrir","email":"yshafrir@redhat.com","username":"yoni"},"change_message_id":"453df5a988530aa4f9cded1575ca20057dd2c961","unresolved":false,"context_lines":[{"line_number":198,"context_line":"        for binding in bindings:"},{"line_number":199,"context_line":"            if binding.l3_agent_id \u003d\u003d agent_id:"},{"line_number":200,"context_line":"                # router already bound to the agent we need"},{"line_number":201,"context_line":"                raise l3agentscheduler.RouterHostedByL3Agent("},{"line_number":202,"context_line":"                    router_id\u003drouter_id,"},{"line_number":203,"context_line":"                    agent_id\u003dagent_id)"},{"line_number":204,"context_line":"        if router.get(\u0027distributed\u0027):"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_6f1ff7b7","line":201,"in_reply_to":"3a961159_fe9d62bc","updated":"2015-01-05 13:08:45.000000000","message":"what exactly is the conflict?\nis it conceptually the fact that we do not want to \u0027fail\u0027 in such cases or is it a functional one.\n\nfunctionally both patches do not cover the same cases, mine handles the case of a non-dvr router being scheduled to the same agent twice while the other patch doesn\u0027t cover it.","commit_id":"224e838c797e2b54df568880eed61325f0e8aa87"}]}
