)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"7106c6bb561b06676c4b1275a53f00aece27b5f0","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Currently treat_devices_added_or_updated in the OVS agent skips"},{"line_number":10,"context_line":"processing devices which disappeared from the integration bridge"},{"line_number":11,"context_line":"during the agent loop."},{"line_number":12,"context_line":"This is fine, however the agent should not mark this devices as"},{"line_number":13,"context_line":"processed. Otherwise they won\u0027t be processed should they appear"},{"line_number":14,"context_line":"again on the bridge."},{"line_number":15,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"baada198_3db84c10","line":12,"updated":"2014-07-07 21:50:23.000000000","message":"these","commit_id":"c56017569323b49d72205b944d92c269ef8fa6a9"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"7106c6bb561b06676c4b1275a53f00aece27b5f0","unresolved":false,"context_lines":[{"line_number":10,"context_line":"processing devices which disappeared from the integration bridge"},{"line_number":11,"context_line":"during the agent loop."},{"line_number":12,"context_line":"This is fine, however the agent should not mark this devices as"},{"line_number":13,"context_line":"processed. Otherwise they won\u0027t be processed should they appear"},{"line_number":14,"context_line":"again on the bridge."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"This patch ensures these devices are not added to the current"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"baada198_7d3d648e","line":13,"updated":"2014-07-07 21:50:23.000000000","message":"insert a comma between processed and should","commit_id":"c56017569323b49d72205b944d92c269ef8fa6a9"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"7106c6bb561b06676c4b1275a53f00aece27b5f0","unresolved":false,"context_lines":[{"line_number":16,"context_line":"This patch ensures these devices are not added to the current"},{"line_number":17,"context_line":"device set."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"The patch also amend an inaccurate related comment."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Closes-Bug: #1329546"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"baada198_bd437c11","line":19,"updated":"2014-07-07 21:50:23.000000000","message":"also amends","commit_id":"c56017569323b49d72205b944d92c269ef8fa6a9"}],"neutron/plugins/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"ad27fa981be5dfc4c7a4f11113e73d76bca598a6","unresolved":false,"context_lines":[{"line_number":1116,"context_line":"            LOG.debug(\"Unable to get port details for %(devices)s: %(e)s\","},{"line_number":1117,"context_line":"                      {\u0027devices\u0027: devices, \u0027e\u0027: e})"},{"line_number":1118,"context_line":"            # resync is needed"},{"line_number":1119,"context_line":"            return True, processed_devices"},{"line_number":1120,"context_line":"        for details in devices_details_list:"},{"line_number":1121,"context_line":"            device \u003d details[\u0027device\u0027]"},{"line_number":1122,"context_line":"            LOG.debug(\"Processing port: %s\", device)"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_fd233402","line":1119,"updated":"2014-07-07 22:12:29.000000000","message":"Pedant comment: Do we need to return True or False in addition to processed_devices here? I guess it\u0027s fine, but we could technically use the fact processed_devices would be an empty list to detect this.","commit_id":"c56017569323b49d72205b944d92c269ef8fa6a9"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"1d29c37b488de4bb41224a0398b470d0fd6bbff5","unresolved":false,"context_lines":[{"line_number":1116,"context_line":"            LOG.debug(\"Unable to get port details for %(devices)s: %(e)s\","},{"line_number":1117,"context_line":"                      {\u0027devices\u0027: devices, \u0027e\u0027: e})"},{"line_number":1118,"context_line":"            # resync is needed"},{"line_number":1119,"context_line":"            return True, processed_devices"},{"line_number":1120,"context_line":"        for details in devices_details_list:"},{"line_number":1121,"context_line":"            device \u003d details[\u0027device\u0027]"},{"line_number":1122,"context_line":"            LOG.debug(\"Processing port: %s\", device)"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_78881271","line":1119,"in_reply_to":"baada198_fd233402","updated":"2014-07-07 22:33:11.000000000","message":"That\u0027s because of semantics.\nThe first item in the return tuple tells you whether resync is needed, whereas the latter tells you which devices where processed.\nIn theory it is ok you should not need a resync even if no device was processed.\n\nHowever the code has already changed in a way that this needs_resync return parameter is probably unnecessary.\n\nTherefore tomorrow I\u0027ll try to address this in this patch; if it does not bloat the patch over the 100 lines diff, then I\u0027ll do it here, otherwise add a #TODO comment, file a bug, and fix it in another patch.","commit_id":"c56017569323b49d72205b944d92c269ef8fa6a9"},{"author":{"_account_id":1689,"name":"Robert Kukura","email":"rk@theep.net","username":"rkukura"},"change_message_id":"a6553fafd7b49fc66cefd5cca1367ed2a8b76992","unresolved":false,"context_lines":[{"line_number":1122,"context_line":"            LOG.debug(\"Processing port: %s\", device)"},{"line_number":1123,"context_line":"            port \u003d self.int_br.get_vif_port_by_id(device)"},{"line_number":1124,"context_line":"            if not port:"},{"line_number":1125,"context_line":"                # The port disappeared and cannnot be processed"},{"line_number":1126,"context_line":"                LOG.info(_(\"Port %s was not found on the integration bridge \""},{"line_number":1127,"context_line":"                           \"and will therefore not be processed\"), device)"},{"line_number":1128,"context_line":"                continue"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_bdb29ce2","line":1125,"updated":"2014-07-07 22:04:53.000000000","message":"Nit: \u0027cannnot\u0027 -\u003e \u0027cannot\u0027","commit_id":"c56017569323b49d72205b944d92c269ef8fa6a9"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5d5ff0fdb3fe4a1ea48363243a0cc85b09c33ba","unresolved":false,"context_lines":[{"line_number":53,"context_line":"DEAD_VLAN_TAG \u003d str(q_const.MAX_VLAN_TAG + 1)"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"class DeviceListRetrievalError(exceptions.NeutronException):"},{"line_number":57,"context_line":"    message \u003d _(\"Unable to retrieve port details for devices: %(devices)s \""},{"line_number":58,"context_line":"                \"because of error: %(error)s\")"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_bafeed03","line":56,"range":{"start_line":56,"start_character":6,"end_line":56,"end_character":30},"updated":"2014-07-09 05:18:27.000000000","message":"DeviceDetailRetrievalError would be a better name.","commit_id":"90fedbe44ca6bfccce5d71465532fbdc85ee3814"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"15b7b4c48935255d0d83202db35df37b6a0a6b99","unresolved":false,"context_lines":[{"line_number":53,"context_line":"DEAD_VLAN_TAG \u003d str(q_const.MAX_VLAN_TAG + 1)"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"class DeviceListRetrievalError(exceptions.NeutronException):"},{"line_number":57,"context_line":"    message \u003d _(\"Unable to retrieve port details for devices: %(devices)s \""},{"line_number":58,"context_line":"                \"because of error: %(error)s\")"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_8e4acb53","line":56,"in_reply_to":"baada198_bafeed03","updated":"2014-07-09 08:01:25.000000000","message":"As you wish","commit_id":"90fedbe44ca6bfccce5d71465532fbdc85ee3814"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c5d5ff0fdb3fe4a1ea48363243a0cc85b09c33ba","unresolved":false,"context_lines":[{"line_number":1254,"context_line":"                           \u0027num_current\u0027: len(port_info[\u0027current\u0027]),"},{"line_number":1255,"context_line":"                           \u0027elapsed\u0027: time.time() - start})"},{"line_number":1256,"context_line":"                # Update the list of current ports storing only those which"},{"line_number":1257,"context_line":"                # have been actually processed."},{"line_number":1258,"context_line":"                port_info[\u0027current\u0027] \u003d (port_info[\u0027current\u0027] -"},{"line_number":1259,"context_line":"                                        set(skipped_devices))"},{"line_number":1260,"context_line":"            except DeviceListRetrievalError:"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_ba9a6dc3","line":1257,"updated":"2014-07-09 05:18:27.000000000","message":"why don\u0027t you do the same for ancillary ports?","commit_id":"90fedbe44ca6bfccce5d71465532fbdc85ee3814"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"15b7b4c48935255d0d83202db35df37b6a0a6b99","unresolved":false,"context_lines":[{"line_number":1254,"context_line":"                           \u0027num_current\u0027: len(port_info[\u0027current\u0027]),"},{"line_number":1255,"context_line":"                           \u0027elapsed\u0027: time.time() - start})"},{"line_number":1256,"context_line":"                # Update the list of current ports storing only those which"},{"line_number":1257,"context_line":"                # have been actually processed."},{"line_number":1258,"context_line":"                port_info[\u0027current\u0027] \u003d (port_info[\u0027current\u0027] -"},{"line_number":1259,"context_line":"                                        set(skipped_devices))"},{"line_number":1260,"context_line":"            except DeviceListRetrievalError:"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_ee51870f","line":1257,"in_reply_to":"baada198_ba9a6dc3","updated":"2014-07-09 08:01:25.000000000","message":"Because if you look at the code for processing ancillary devices added, the only thing that method does is signalling it up, it does not fetch it again from the bridge and configures it. So the condition which leads to skipping cannot occur there.","commit_id":"90fedbe44ca6bfccce5d71465532fbdc85ee3814"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"d049f7f9f94f08dabd06e36edbc391733036d500","unresolved":false,"context_lines":[{"line_number":1254,"context_line":"                           \u0027num_current\u0027: len(port_info[\u0027current\u0027]),"},{"line_number":1255,"context_line":"                           \u0027elapsed\u0027: time.time() - start})"},{"line_number":1256,"context_line":"                # Update the list of current ports storing only those which"},{"line_number":1257,"context_line":"                # have been actually processed."},{"line_number":1258,"context_line":"                port_info[\u0027current\u0027] \u003d (port_info[\u0027current\u0027] -"},{"line_number":1259,"context_line":"                                        set(skipped_devices))"},{"line_number":1260,"context_line":"            except DeviceListRetrievalError:"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_29a45956","line":1257,"in_reply_to":"baada198_ee51870f","updated":"2014-07-09 08:55:07.000000000","message":"ok i see.\nthank you for explanation.","commit_id":"90fedbe44ca6bfccce5d71465532fbdc85ee3814"}]}
