)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":704,"name":"Edgar Magana","email":"emagana@gmail.com","username":"emagana"},"change_message_id":"3a5dcc57def417a2d74a6574b5c2968a7cc04e30","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Variable device_list initialisation and usage is messed up in method"},{"line_number":10,"context_line":"IpRouteCommand.pullup_route. This lead to multiple remove/add same"},{"line_number":11,"context_line":"routes on interface. It\u0027s not affect final result, but it do extra work."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"By the way, is someone know this method need for? Method\u0027s docsting tell"},{"line_number":14,"context_line":"us \"Ensures that the route entry for the interface is before all others"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1abeadc6_d63be7ce","line":11,"updated":"2014-08-21 20:03:14.000000000","message":"typo: do/does","commit_id":"3604df80406fb62b9d16a73e029ec6d7e448bc65"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"44db86fc21f085ac4e8a464a49b68f8a9cfc7b84","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Variable device_list initialisation and usage is messed up in method"},{"line_number":10,"context_line":"IpRouteCommand.pullup_route. This lead to multiple remove/add same"},{"line_number":11,"context_line":"routes on interface. It\u0027s not affect final result, but it do extra work."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"By the way, is someone know this method need for? Method\u0027s docsting tell"},{"line_number":14,"context_line":"us \"Ensures that the route entry for the interface is before all others"},{"line_number":15,"context_line":"on the same subnet.\" But this have no sense."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1abeadc6_201083a7","line":12,"updated":"2014-08-20 18:02:53.000000000","message":"I always wondered about this as well.","commit_id":"3604df80406fb62b9d16a73e029ec6d7e448bc65"},{"author":{"_account_id":704,"name":"Edgar Magana","email":"emagana@gmail.com","username":"emagana"},"change_message_id":"3a5dcc57def417a2d74a6574b5c2968a7cc04e30","unresolved":false,"context_lines":[{"line_number":19,"context_line":"to change order of records in routing table he should use separate"},{"line_number":20,"context_line":"routing table (See \"man ip-route\" for info about routing tables and"},{"line_number":21,"context_line":"routing rules. Don\u0027t mess routing rules and routing records.)"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Change-Id: I0b4d937cbb30fe0f8e6a5f130943965447a551ab"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1abeadc6_564fd76a","line":22,"updated":"2014-08-21 20:03:14.000000000","message":"A bug need to be associate it with this fix","commit_id":"3604df80406fb62b9d16a73e029ec6d7e448bc65"},{"author":{"_account_id":12631,"name":"Bogun Dmitriy","email":"dbogun@mirantis.com","username":"dbogun"},"change_message_id":"0689ffcc415075a1d0d27d7f4d8f924c99adda89","unresolved":false,"context_lines":[{"line_number":19,"context_line":"to change order of records in routing table he should use separate"},{"line_number":20,"context_line":"routing table (See \"man ip-route\" for info about routing tables and"},{"line_number":21,"context_line":"routing rules. Don\u0027t mess routing rules and routing records.)"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Change-Id: I0b4d937cbb30fe0f8e6a5f130943965447a551ab"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1abeadc6_673edf8d","line":22,"in_reply_to":"1abeadc6_564fd76a","updated":"2014-08-21 21:36:29.000000000","message":"There is no bug. There is no any side effect of this error. And I can\u0027t predict condition where it can be notable in logs.\n\nI have found it by reading the code. If you want to fix only reported error, but not detected errors, well this is your choice.","commit_id":"3604df80406fb62b9d16a73e029ec6d7e448bc65"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"6bd85ed1f491efd5507b76dcc7bd7977437388f1","unresolved":false,"context_lines":[{"line_number":10,"context_line":"IpRouteCommand.pullup_route. This lead to multiple remove/add same"},{"line_number":11,"context_line":"routes on interface. It\u0027s not affect final result, but it does extra"},{"line_number":12,"context_line":"work."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"By the way, is someone know this method need for? Method\u0027s docsting tell"},{"line_number":15,"context_line":"us \"Ensures that the route entry for the interface is before all others"},{"line_number":16,"context_line":"on the same subnet.\" But this have no sense."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1abeadc6_5d4926b6","line":13,"updated":"2014-08-26 16:14:40.000000000","message":"This was bothering me so I hunted it down to this bug:\n\nhttps://bugs.launchpad.net/neutron/+bug/1083238\n\nAnd this patch:\n\nhttps://review.openstack.org/#/c/16907/\n\nAs you can see the method is only used in the DHCP agent when namespaces is turned off: IE the DHCP agent can only serve a single network. The L3 agent on the same node will serve only a single router, all in the root namespace. Therefor you will end up in a situation like this:\n\n20.0.0.0/8 dev tap25755907-67  proto kernel  scope link  src 20.0.0.3 \n20.0.0.0/8 dev qr-fcb7b12d-46  proto kernel  scope link  src 20.0.0.1\n\ntap25755907-67 is the device bound to the dnsmasq process, and qr-fcb7b12d-46 is the internal device for the router. Both routes are for the same CIDR. I think outgoing traffic is not a problem because it comes from a certain IP address so the \u0027src\u0027 field can be consulted, and incoming traffic should be switched by br-int according to MAC, so I don\u0027t know why that\u0027s an issue either. Unfortunately I wasn\u0027t able to investigate this further to fully understand why is the pull necessary.","commit_id":"3830218e9431ae0c02105628d0df9606ce2f0c1d"}],"neutron/agent/linux/ip_lib.py":[{"author":{"_account_id":704,"name":"Edgar Magana","email":"emagana@gmail.com","username":"emagana"},"change_message_id":"3a5dcc57def417a2d74a6574b5c2968a7cc04e30","unresolved":false,"context_lines":[{"line_number":438,"context_line":"        \"\"\"Ensures that the route entry for the interface is before all"},{"line_number":439,"context_line":"        others on the same subnet."},{"line_number":440,"context_line":""},{"line_number":441,"context_line":"        # FIXME(dbogun): when this can happen? records in routing table sorted"},{"line_number":442,"context_line":"        according to destination netmask length. If someone need change order"},{"line_number":443,"context_line":"        of records in routing table he should use separate routing table (See"},{"line_number":444,"context_line":"        man ip-route for info about routing tables and routing rules. Don\u0027t"}],"source_content_type":"text/x-python","patch_set":1,"id":"1abeadc6_f66623ec","line":441,"updated":"2014-08-21 20:03:14.000000000","message":"I like the fix but I don\u0027t understand how this issue was found if the committer does not know exactly when this method is called. (based on this commit message)","commit_id":"3604df80406fb62b9d16a73e029ec6d7e448bc65"},{"author":{"_account_id":12631,"name":"Bogun Dmitriy","email":"dbogun@mirantis.com","username":"dbogun"},"change_message_id":"0689ffcc415075a1d0d27d7f4d8f924c99adda89","unresolved":false,"context_lines":[{"line_number":438,"context_line":"        \"\"\"Ensures that the route entry for the interface is before all"},{"line_number":439,"context_line":"        others on the same subnet."},{"line_number":440,"context_line":""},{"line_number":441,"context_line":"        # FIXME(dbogun): when this can happen? records in routing table sorted"},{"line_number":442,"context_line":"        according to destination netmask length. If someone need change order"},{"line_number":443,"context_line":"        of records in routing table he should use separate routing table (See"},{"line_number":444,"context_line":"        man ip-route for info about routing tables and routing rules. Don\u0027t"}],"source_content_type":"text/x-python","patch_set":1,"id":"1abeadc6_6cf5e455","line":441,"in_reply_to":"1abeadc6_f66623ec","updated":"2014-08-21 21:36:29.000000000","message":"I know when it called. My question is \"When/why routing rules can be in wrong order?\".\n\nI have found this issue reading the code. I have investigated project \"manila\"(it have a copy of ip_lib.py). And saw this method doing extremely weird things. This method do weird thing in weird way... and contain logical error. This patch fix this logical error. But this is not main reason for this patch. Real reason is to understand why this method is required.\n\nThis method look up routing rules by some conditions, then remove this rules, then add it back... As far as understand linux network subsystem - this actions have no sense. But someone wrote it. So there are can be some hidden sense. And I will be happy to know it. Or remove this method at all.","commit_id":"3604df80406fb62b9d16a73e029ec6d7e448bc65"}]}
