)]}'
{"networking_ovn/ovn_db_sync.py":[{"author":{"_account_id":23804,"name":"Daniel Alvarez","email":"dalvarez@redhat.com","username":"dalvarez"},"change_message_id":"cb59bc04f9c2fdcd760a406faa47e0365a50cf0b","unresolved":false,"context_lines":[{"line_number":770,"context_line":"                        LOG.warning(\u0027Creating metadata port %s for network \u0027"},{"line_number":771,"context_line":"                                    \u0027%s in OVN\u0027,"},{"line_number":772,"context_line":"                                    port[\u0027id\u0027], net[\u0027id\u0027])"},{"line_number":773,"context_line":"                        self._create_port_in_ovn(ctx, port)"},{"line_number":774,"context_line":"                    db_ports.pop(port[\u0027id\u0027])"},{"line_number":775,"context_line":""},{"line_number":776,"context_line":"            if self.mode \u003d\u003d SYNC_MODE_REPAIR:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_78636443","line":773,"range":{"start_line":773,"start_character":29,"end_line":773,"end_character":48},"updated":"2017-10-16 08:53:59.000000000","message":"It\u0027s not yet clear to me why we need this. Later on, when syncing ports, it\u0027ll be seen that this port exists in Neutron and not in OVN and it\u0027ll be created then. Similarly, in L748 we\u0027re not creating the port in OVN in the case of the cmd tool since the ML2 driver is overriden and the post_commit method is not called, thus the localport in OVN is not going to be created.","commit_id":"aab6fcb7132bb46e87bb4f55945c29872f415d81"},{"author":{"_account_id":23458,"name":"Dong Jun","email":"dongjun.01@bytedance.com","username":"Dongj"},"change_message_id":"88c328f55f1871a0fb94218ceda00d6d41e15e9e","unresolved":false,"context_lines":[{"line_number":770,"context_line":"                        LOG.warning(\u0027Creating metadata port %s for network \u0027"},{"line_number":771,"context_line":"                                    \u0027%s in OVN\u0027,"},{"line_number":772,"context_line":"                                    port[\u0027id\u0027], net[\u0027id\u0027])"},{"line_number":773,"context_line":"                        self._create_port_in_ovn(ctx, port)"},{"line_number":774,"context_line":"                    db_ports.pop(port[\u0027id\u0027])"},{"line_number":775,"context_line":""},{"line_number":776,"context_line":"            if self.mode \u003d\u003d SYNC_MODE_REPAIR:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_91494461","line":773,"range":{"start_line":773,"start_character":29,"end_line":773,"end_character":48},"in_reply_to":"5f4e5783_11cd6b65","updated":"2017-10-17 03:07:00.000000000","message":"Daniel you are most experienced on metadata and I am fine if you improve or refactor this patch, seems patch of this version only solve some of the problems.","commit_id":"aab6fcb7132bb46e87bb4f55945c29872f415d81"},{"author":{"_account_id":23804,"name":"Daniel Alvarez","email":"dalvarez@redhat.com","username":"dalvarez"},"change_message_id":"eb66a0decf55dbaaebcdcacbe067806f3666d361","unresolved":false,"context_lines":[{"line_number":770,"context_line":"                        LOG.warning(\u0027Creating metadata port %s for network \u0027"},{"line_number":771,"context_line":"                                    \u0027%s in OVN\u0027,"},{"line_number":772,"context_line":"                                    port[\u0027id\u0027], net[\u0027id\u0027])"},{"line_number":773,"context_line":"                        self._create_port_in_ovn(ctx, port)"},{"line_number":774,"context_line":"                    db_ports.pop(port[\u0027id\u0027])"},{"line_number":775,"context_line":""},{"line_number":776,"context_line":"            if self.mode \u003d\u003d SYNC_MODE_REPAIR:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_11cd6b65","line":773,"range":{"start_line":773,"start_character":29,"end_line":773,"end_character":48},"in_reply_to":"5f4e5783_717c9f82","updated":"2017-10-16 10:22:56.000000000","message":"Hm... I need to double check, if it\u0027s not created later then it\u0027s definitely a bug. I expected sync_networks_ports_and_dhcp_opts to create it but now that you mention is possible that I moved the call to _sync_metadata_ports() inside it and db_ports doesn\u0027t contain the newly created port. I think you\u0027re right and it\u0027s a bug for the cmd tool.","commit_id":"aab6fcb7132bb46e87bb4f55945c29872f415d81"},{"author":{"_account_id":23458,"name":"Dong Jun","email":"dongjun.01@bytedance.com","username":"Dongj"},"change_message_id":"0104a21577fe428539af638c79c79427e8439b5f","unresolved":false,"context_lines":[{"line_number":770,"context_line":"                        LOG.warning(\u0027Creating metadata port %s for network \u0027"},{"line_number":771,"context_line":"                                    \u0027%s in OVN\u0027,"},{"line_number":772,"context_line":"                                    port[\u0027id\u0027], net[\u0027id\u0027])"},{"line_number":773,"context_line":"                        self._create_port_in_ovn(ctx, port)"},{"line_number":774,"context_line":"                    db_ports.pop(port[\u0027id\u0027])"},{"line_number":775,"context_line":""},{"line_number":776,"context_line":"            if self.mode \u003d\u003d SYNC_MODE_REPAIR:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_717c9f82","line":773,"range":{"start_line":773,"start_character":29,"end_line":773,"end_character":48},"in_reply_to":"5f4e5783_78636443","updated":"2017-10-16 10:03:55.000000000","message":"Thanks Daniel.\nFor the other sync, neutron-server restarting with repair- mode, ml2-plugin is same as that of sync functional test.\n\nFor _create_port_in_ovn, when lsp is not present, L778 will throw a RuntimeError for lsp non-existing, I think there is a timing issue about creating lsp.\n\nAbout L748, is this a known bug? For sync cmd tool, lsp is not created here and not created later.","commit_id":"aab6fcb7132bb46e87bb4f55945c29872f415d81"}]}
