)]}'
{"neutron/agent/l3/dvr_edge_router.py":[{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"d21c8902a1914a44c797cdfec0fd0f7377e615be","unresolved":false,"context_lines":[{"line_number":317,"context_line":"        try:"},{"line_number":318,"context_line":"            ip_lib.add_ip_address(fip_cidr, interface_name,"},{"line_number":319,"context_line":"                                  namespace\u003dself.snat_namespace.name)"},{"line_number":320,"context_line":"        except RuntimeError:"},{"line_number":321,"context_line":"            LOG.warning(\"Unable to configure IP address for centralized \""},{"line_number":322,"context_line":"                        \"floating IP: %s\", fip[\u0027id\u0027])"},{"line_number":323,"context_line":"            return lib_constants.FLOATINGIP_STATUS_ERROR"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fdfeff1_69e80916","line":320,"range":{"start_line":320,"start_character":15,"end_line":320,"end_character":27},"updated":"2019-01-18 23:56:52.000000000","message":"Are you sure catching this error is enough? By looking at http://git.openstack.org/cgit/openstack/neutron/tree/neutron/privileged/agent/linux/ip_lib.py#n242 , NetlinkError might also raise.","commit_id":"a4497ebf7ead07569224bc2f3c1ef73dc3078b89"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"3e2b6f8e1d098b1f784a6f2810e3dd18d7af25fd","unresolved":false,"context_lines":[{"line_number":317,"context_line":"        try:"},{"line_number":318,"context_line":"            ip_lib.add_ip_address(fip_cidr, interface_name,"},{"line_number":319,"context_line":"                                  namespace\u003dself.snat_namespace.name)"},{"line_number":320,"context_line":"        except RuntimeError:"},{"line_number":321,"context_line":"            LOG.warning(\"Unable to configure IP address for centralized \""},{"line_number":322,"context_line":"                        \"floating IP: %s\", fip[\u0027id\u0027])"},{"line_number":323,"context_line":"            return lib_constants.FLOATINGIP_STATUS_ERROR"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fdfeff1_8a9e5a05","line":320,"range":{"start_line":320,"start_character":15,"end_line":320,"end_character":27},"in_reply_to":"9fdfeff1_20a0b4f4","updated":"2019-01-22 10:24:22.000000000","message":"It seems we forgot to cover NetlinkError when we switched to pyroute2. Previously we called a command directly so only RuntimeError can be raised from ip_lib, but it is not true now. It looks better to cover it in a separate patch.","commit_id":"a4497ebf7ead07569224bc2f3c1ef73dc3078b89"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"1833f08a4b1579f606ceaf2de36adb66ad3e6b2a","unresolved":false,"context_lines":[{"line_number":317,"context_line":"        try:"},{"line_number":318,"context_line":"            ip_lib.add_ip_address(fip_cidr, interface_name,"},{"line_number":319,"context_line":"                                  namespace\u003dself.snat_namespace.name)"},{"line_number":320,"context_line":"        except RuntimeError:"},{"line_number":321,"context_line":"            LOG.warning(\"Unable to configure IP address for centralized \""},{"line_number":322,"context_line":"                        \"floating IP: %s\", fip[\u0027id\u0027])"},{"line_number":323,"context_line":"            return lib_constants.FLOATINGIP_STATUS_ERROR"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fdfeff1_20a0b4f4","line":320,"range":{"start_line":320,"start_character":15,"end_line":320,"end_character":27},"in_reply_to":"9fdfeff1_69e80916","updated":"2019-01-22 07:23:55.000000000","message":"One exception is catched here:\nhttps://review.openstack.org/#/c/629960/5/neutron/agent/l3/dvr_edge_router.py\nto fix bug #1811213.","commit_id":"a4497ebf7ead07569224bc2f3c1ef73dc3078b89"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"fd9f1257d449a0688dca5f76fd46674217eda03a","unresolved":false,"context_lines":[{"line_number":317,"context_line":"        try:"},{"line_number":318,"context_line":"            ip_lib.add_ip_address(fip_cidr, interface_name,"},{"line_number":319,"context_line":"                                  namespace\u003dself.snat_namespace.name)"},{"line_number":320,"context_line":"        except RuntimeError:"},{"line_number":321,"context_line":"            LOG.warning(\"Unable to configure IP address for centralized \""},{"line_number":322,"context_line":"                        \"floating IP: %s\", fip[\u0027id\u0027])"},{"line_number":323,"context_line":"            return lib_constants.FLOATINGIP_STATUS_ERROR"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fdfeff1_04f47f85","line":320,"range":{"start_line":320,"start_character":15,"end_line":320,"end_character":27},"in_reply_to":"9fdfeff1_8a9e5a05","updated":"2019-01-23 17:29:40.000000000","message":"Yes, I can create a follow-on that also catches NetlinkError, but I think most errors are caught as before and raised as RuntimeErrors at the moment - namespace does not exist, IP exists, interface not found, and interface operation not supported.  Or we change privileged code to always raise RuntimeError in _translate_ip_device_exception() but there was probably a reason we didn\u0027t do that.","commit_id":"a4497ebf7ead07569224bc2f3c1ef73dc3078b89"}]}
