)]}'
{"networking_ovn/ml2/mech_driver.py":[{"author":{"_account_id":23458,"name":"Dong Jun","email":"dongjun.01@bytedance.com","username":"Dongj"},"change_message_id":"ec983a26da4eaf91ece08a9a0313e0505fa33e5d","unresolved":false,"context_lines":[{"line_number":167,"context_line":"        # NOTE(rtheis): This will initialize all workers (API, RPC,"},{"line_number":168,"context_line":"        # plugin service and OVN) with OVN IDL connections."},{"line_number":169,"context_line":"        self._post_fork_event.clear()"},{"line_number":170,"context_line":"        self._ovn_client_inst \u003d None"},{"line_number":171,"context_line":"        self._nb_ovn, self._sb_ovn \u003d impl_idl_ovn.get_ovn_idls(self,"},{"line_number":172,"context_line":"                                                               trigger)"},{"line_number":173,"context_line":"        # Now IDL connections can be safely used."}],"source_content_type":"text/x-python","patch_set":1,"id":"ff82abbf_fc6270d8","line":170,"range":{"start_line":170,"start_character":8,"end_line":170,"end_character":36},"updated":"2017-11-21 02:46:00.000000000","message":"Based on the change itself, I think it is a bit more relevant to add it in restart() in base.py, as the idl is cleared there and both mech_driver._ovn_client_inst and l3_plugin._ovn_client_inst are recommended to be set to None. What do you think?\n\n[1]https://github.com/openstack/networking-ovn/blob/a9af75cd3ce6cd6685b6435b325c97cacc83ce0e/networking_ovn/tests/functional/base.py#L193","commit_id":"a939853fdb8ae178304a6f2f485c458ad9ceaa5b"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"2586653372936d1c30515bed685733872d72e18b","unresolved":false,"context_lines":[{"line_number":167,"context_line":"        # NOTE(rtheis): This will initialize all workers (API, RPC,"},{"line_number":168,"context_line":"        # plugin service and OVN) with OVN IDL connections."},{"line_number":169,"context_line":"        self._post_fork_event.clear()"},{"line_number":170,"context_line":"        self._ovn_client_inst \u003d None"},{"line_number":171,"context_line":"        self._nb_ovn, self._sb_ovn \u003d impl_idl_ovn.get_ovn_idls(self,"},{"line_number":172,"context_line":"                                                               trigger)"},{"line_number":173,"context_line":"        # Now IDL connections can be safely used."}],"source_content_type":"text/x-python","patch_set":1,"id":"ff82abbf_d30d1291","line":170,"range":{"start_line":170,"start_character":8,"end_line":170,"end_character":36},"in_reply_to":"ff82abbf_fc6270d8","updated":"2017-11-21 10:04:47.000000000","message":"That\u0027s a good point! It def sounds like the right place to do it.\n\nThis patch seems to also have fixed the error in the rally job, I\u0027m wondering how they are related... hmm...","commit_id":"a939853fdb8ae178304a6f2f485c458ad9ceaa5b"}],"networking_ovn/tests/functional/base.py":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"21a75c33816b5588fb373fc8e89e42f27e4e7be7","unresolved":false,"context_lines":[{"line_number":207,"context_line":"        self.mech_driver._ovn_client_inst \u003d None"},{"line_number":208,"context_line":"        self.l3_plugin._nb_ovn_idl \u003d None"},{"line_number":209,"context_line":"        self.l3_plugin._sb_ovn_idl \u003d None"},{"line_number":210,"context_line":"        self.l3_plugin._ovn_client_inst \u003d None"},{"line_number":211,"context_line":"        self.nb_api.ovsdb_connection \u003d None"},{"line_number":212,"context_line":"        self.sb_api.ovsdb_connection \u003d None"},{"line_number":213,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ff82abbf_017eb26a","line":210,"updated":"2017-11-21 18:58:49.000000000","message":"Apparently cleaning it here does not work, I looked and restart() is only called at [0].\n\nMaybe we should force a self.restart() at L183 ? Or create another method to clean the IDLs/OVNClient which can be called at L183 as well as in restart() ?\n\n[0] https://github.com/openstack/networking-ovn/blob/dccb47e846e4205f5f51ee51f3b496dab5e86c23/networking_ovn/tests/functional/test_ovn_db_sync.py#L1236","commit_id":"8c3a54ed0d90aeb055dc6065dbf4fac3f7b8fde1"}]}
