)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":21249,"name":"Quan Tian","email":"qtian@vmware.com","username":"tianquan"},"change_message_id":"6ceed1c9da7bd07a67b3a303ef947e156c9164bc","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In case when process using IptablesFirewall driver is running in namespaces,"},{"line_number":10,"context_line":"there is no /proc/sys/net/bridge in namespace available and enable of netfilter"},{"line_number":11,"context_line":"for bridge fails with stactrace in logs."},{"line_number":12,"context_line":"This patch adds check if /proc/sys/net/bridge exists and if not, then print some"},{"line_number":13,"context_line":"warning message in logs instead of printing this stacktrace."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a3905b3_f46fa028","line":11,"range":{"start_line":11,"start_character":22,"end_line":11,"end_character":31},"updated":"2017-01-22 11:00:09.000000000","message":"stacktrace","commit_id":"fec8e4c87aee9dbf1039d21a9f48c1f1a99b6d02"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"99a7828367c0a36c3eb5bafca4b44785d05f46b2","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In case when process using IptablesFirewall driver is running in namespaces,"},{"line_number":10,"context_line":"there is no /proc/sys/net/bridge in namespace available and enable of netfilter"},{"line_number":11,"context_line":"for bridge fails with stactrace in logs."},{"line_number":12,"context_line":"This patch adds check if /proc/sys/net/bridge exists and if not, then print some"},{"line_number":13,"context_line":"warning message in logs instead of printing this stacktrace."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a3905b3_3f8ca17e","line":11,"range":{"start_line":11,"start_character":22,"end_line":11,"end_character":31},"in_reply_to":"5a3905b3_f46fa028","updated":"2017-01-22 11:48:49.000000000","message":"thx, changed","commit_id":"fec8e4c87aee9dbf1039d21a9f48c1f1a99b6d02"},{"author":{"_account_id":18051,"name":"David Shaughnessy","email":"david.shaughnessy@intel.com","username":"davidsha"},"change_message_id":"8792c7e869cd20032d1dd8b96dda883acefdba7f","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Handle attempt to enable br_netfilter in namespace"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In case when process using IptablesFirewall driver is"},{"line_number":10,"context_line":"running in namespaces, there is no /proc/sys/net/bridge"},{"line_number":11,"context_line":"in namespace available and enable of netfilter for"},{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_bc659b1e","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":21},"updated":"2017-01-24 15:35:54.000000000","message":"When the process is using the IptablesFirewall driver and is running in namespaces","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"ab447f36b8a67024e5171213e11d68c8c7b215c1","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Handle attempt to enable br_netfilter in namespace"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In case when process using IptablesFirewall driver is"},{"line_number":10,"context_line":"running in namespaces, there is no /proc/sys/net/bridge"},{"line_number":11,"context_line":"in namespace available and enable of netfilter for"},{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_496b121e","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":21},"in_reply_to":"5a3905b3_bc659b1e","updated":"2017-01-24 16:26:10.000000000","message":"Done","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":18051,"name":"David Shaughnessy","email":"david.shaughnessy@intel.com","username":"davidsha"},"change_message_id":"8792c7e869cd20032d1dd8b96dda883acefdba7f","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In case when process using IptablesFirewall driver is"},{"line_number":10,"context_line":"running in namespaces, there is no /proc/sys/net/bridge"},{"line_number":11,"context_line":"in namespace available and enable of netfilter for"},{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"},{"line_number":14,"context_line":"get names of net.bridge sysctl knobs and print some"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_fc42c366","line":11,"range":{"start_line":11,"start_character":0,"end_line":11,"end_character":2},"updated":"2017-01-24 15:35:54.000000000","message":"in the","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"ab447f36b8a67024e5171213e11d68c8c7b215c1","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In case when process using IptablesFirewall driver is"},{"line_number":10,"context_line":"running in namespaces, there is no /proc/sys/net/bridge"},{"line_number":11,"context_line":"in namespace available and enable of netfilter for"},{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"},{"line_number":14,"context_line":"get names of net.bridge sysctl knobs and print some"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_c9654245","line":11,"range":{"start_line":11,"start_character":0,"end_line":11,"end_character":2},"in_reply_to":"5a3905b3_fc42c366","updated":"2017-01-24 16:26:10.000000000","message":"Done","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":18051,"name":"David Shaughnessy","email":"david.shaughnessy@intel.com","username":"davidsha"},"change_message_id":"8792c7e869cd20032d1dd8b96dda883acefdba7f","unresolved":false,"context_lines":[{"line_number":10,"context_line":"running in namespaces, there is no /proc/sys/net/bridge"},{"line_number":11,"context_line":"in namespace available and enable of netfilter for"},{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"},{"line_number":14,"context_line":"get names of net.bridge sysctl knobs and print some"},{"line_number":15,"context_line":"info message in logs instead of printing this stacktrace."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_dc36e701","line":13,"range":{"start_line":13,"start_character":0,"end_line":13,"end_character":3},"updated":"2017-01-24 15:35:54.000000000","message":"This","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"ab447f36b8a67024e5171213e11d68c8c7b215c1","unresolved":false,"context_lines":[{"line_number":10,"context_line":"running in namespaces, there is no /proc/sys/net/bridge"},{"line_number":11,"context_line":"in namespace available and enable of netfilter for"},{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"},{"line_number":14,"context_line":"get names of net.bridge sysctl knobs and print some"},{"line_number":15,"context_line":"info message in logs instead of printing this stacktrace."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_89489ab4","line":13,"range":{"start_line":13,"start_character":0,"end_line":13,"end_character":3},"in_reply_to":"5a3905b3_dc36e701","updated":"2017-01-24 16:26:10.000000000","message":"Done","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":18051,"name":"David Shaughnessy","email":"david.shaughnessy@intel.com","username":"davidsha"},"change_message_id":"8792c7e869cd20032d1dd8b96dda883acefdba7f","unresolved":false,"context_lines":[{"line_number":11,"context_line":"in namespace available and enable of netfilter for"},{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"},{"line_number":14,"context_line":"get names of net.bridge sysctl knobs and print some"},{"line_number":15,"context_line":"info message in logs instead of printing this stacktrace."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I1ff6cedbf933ac54ef4bbf1d44fc8f57f68d57fc"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_1c14ef4a","line":14,"range":{"start_line":14,"start_character":47,"end_line":14,"end_character":51},"updated":"2017-01-24 15:35:54.000000000","message":"an","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":18051,"name":"David Shaughnessy","email":"david.shaughnessy@intel.com","username":"davidsha"},"change_message_id":"8792c7e869cd20032d1dd8b96dda883acefdba7f","unresolved":false,"context_lines":[{"line_number":10,"context_line":"running in namespaces, there is no /proc/sys/net/bridge"},{"line_number":11,"context_line":"in namespace available and enable of netfilter for"},{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"},{"line_number":14,"context_line":"get names of net.bridge sysctl knobs and print some"},{"line_number":15,"context_line":"info message in logs instead of printing this stacktrace."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I1ff6cedbf933ac54ef4bbf1d44fc8f57f68d57fc"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_30238f57","line":14,"range":{"start_line":13,"start_character":10,"end_line":14,"end_character":36},"updated":"2017-01-24 15:35:54.000000000","message":"handles the exception thrown during a failed attempted to retrieve net.bridge variable names","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":18051,"name":"David Shaughnessy","email":"david.shaughnessy@intel.com","username":"davidsha"},"change_message_id":"8792c7e869cd20032d1dd8b96dda883acefdba7f","unresolved":false,"context_lines":[{"line_number":11,"context_line":"in namespace available and enable of netfilter for"},{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"},{"line_number":14,"context_line":"get names of net.bridge sysctl knobs and print some"},{"line_number":15,"context_line":"info message in logs instead of printing this stacktrace."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I1ff6cedbf933ac54ef4bbf1d44fc8f57f68d57fc"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_3c0feb37","line":14,"range":{"start_line":14,"start_character":41,"end_line":14,"end_character":46},"updated":"2017-01-24 15:35:54.000000000","message":"prints","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"ab447f36b8a67024e5171213e11d68c8c7b215c1","unresolved":false,"context_lines":[{"line_number":11,"context_line":"in namespace available and enable of netfilter for"},{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"},{"line_number":14,"context_line":"get names of net.bridge sysctl knobs and print some"},{"line_number":15,"context_line":"info message in logs instead of printing this stacktrace."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I1ff6cedbf933ac54ef4bbf1d44fc8f57f68d57fc"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_89dfbad4","line":14,"range":{"start_line":14,"start_character":47,"end_line":14,"end_character":51},"in_reply_to":"5a3905b3_1c14ef4a","updated":"2017-01-24 16:26:10.000000000","message":"Done","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"ab447f36b8a67024e5171213e11d68c8c7b215c1","unresolved":false,"context_lines":[{"line_number":10,"context_line":"running in namespaces, there is no /proc/sys/net/bridge"},{"line_number":11,"context_line":"in namespace available and enable of netfilter for"},{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"},{"line_number":14,"context_line":"get names of net.bridge sysctl knobs and print some"},{"line_number":15,"context_line":"info message in logs instead of printing this stacktrace."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I1ff6cedbf933ac54ef4bbf1d44fc8f57f68d57fc"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_09b82a74","line":14,"range":{"start_line":13,"start_character":10,"end_line":14,"end_character":36},"in_reply_to":"5a3905b3_30238f57","updated":"2017-01-24 16:26:10.000000000","message":"Done","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"ab447f36b8a67024e5171213e11d68c8c7b215c1","unresolved":false,"context_lines":[{"line_number":11,"context_line":"in namespace available and enable of netfilter for"},{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"},{"line_number":14,"context_line":"get names of net.bridge sysctl knobs and print some"},{"line_number":15,"context_line":"info message in logs instead of printing this stacktrace."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I1ff6cedbf933ac54ef4bbf1d44fc8f57f68d57fc"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_29b32699","line":14,"range":{"start_line":14,"start_character":41,"end_line":14,"end_character":46},"in_reply_to":"5a3905b3_3c0feb37","updated":"2017-01-24 16:26:10.000000000","message":"Done","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":18051,"name":"David Shaughnessy","email":"david.shaughnessy@intel.com","username":"davidsha"},"change_message_id":"8792c7e869cd20032d1dd8b96dda883acefdba7f","unresolved":false,"context_lines":[{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"},{"line_number":14,"context_line":"get names of net.bridge sysctl knobs and print some"},{"line_number":15,"context_line":"info message in logs instead of printing this stacktrace."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I1ff6cedbf933ac54ef4bbf1d44fc8f57f68d57fc"},{"line_number":18,"context_line":"Closes-bug: 1658343"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_b0285f87","line":15,"range":{"start_line":15,"start_character":41,"end_line":15,"end_character":45},"updated":"2017-01-24 15:35:54.000000000","message":"a","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":18051,"name":"David Shaughnessy","email":"david.shaughnessy@intel.com","username":"davidsha"},"change_message_id":"8792c7e869cd20032d1dd8b96dda883acefdba7f","unresolved":false,"context_lines":[{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"},{"line_number":14,"context_line":"get names of net.bridge sysctl knobs and print some"},{"line_number":15,"context_line":"info message in logs instead of printing this stacktrace."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I1ff6cedbf933ac54ef4bbf1d44fc8f57f68d57fc"},{"line_number":18,"context_line":"Closes-bug: 1658343"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_5011fb50","line":15,"range":{"start_line":15,"start_character":16,"end_line":15,"end_character":20},"updated":"2017-01-24 15:35:54.000000000","message":"q-agt(?) logs","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"ab447f36b8a67024e5171213e11d68c8c7b215c1","unresolved":false,"context_lines":[{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"},{"line_number":14,"context_line":"get names of net.bridge sysctl knobs and print some"},{"line_number":15,"context_line":"info message in logs instead of printing this stacktrace."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I1ff6cedbf933ac54ef4bbf1d44fc8f57f68d57fc"},{"line_number":18,"context_line":"Closes-bug: 1658343"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_e942fe66","line":15,"range":{"start_line":15,"start_character":16,"end_line":15,"end_character":20},"in_reply_to":"5a3905b3_5011fb50","updated":"2017-01-24 16:26:10.000000000","message":"Done","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"ab447f36b8a67024e5171213e11d68c8c7b215c1","unresolved":false,"context_lines":[{"line_number":12,"context_line":"bridge fails with stacktrace in logs."},{"line_number":13,"context_line":"The patch adds handle of exception during attempt to"},{"line_number":14,"context_line":"get names of net.bridge sysctl knobs and print some"},{"line_number":15,"context_line":"info message in logs instead of printing this stacktrace."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I1ff6cedbf933ac54ef4bbf1d44fc8f57f68d57fc"},{"line_number":18,"context_line":"Closes-bug: 1658343"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a3905b3_495cf24a","line":15,"range":{"start_line":15,"start_character":41,"end_line":15,"end_character":45},"in_reply_to":"5a3905b3_b0285f87","updated":"2017-01-24 16:26:10.000000000","message":"Done","commit_id":"9c1437002253c92c5846a92d01a7cf54bfdc9fa1"}],"neutron/agent/linux/iptables_firewall.py":[{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"c023f6df1b69b78fab794e0336d5f263381d42b9","unresolved":false,"context_lines":[{"line_number":101,"context_line":"            self._enabled_netfilter_for_bridges \u003d True"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"        if not os.path.exists(\"/proc/sys/net/bridge\"):"},{"line_number":104,"context_line":"            LOG.warning(_LW(\"Process is running in namespace or \""},{"line_number":105,"context_line":"                            \"kernel module br_netfilter is not loaded. \""},{"line_number":106,"context_line":"                            \"Please ensure that netfilter options for bridge \""},{"line_number":107,"context_line":"                            \"are enabled to provide working security groups\"))"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a3905b3_aa191a8a","line":104,"range":{"start_line":104,"start_character":16,"end_line":104,"end_character":23},"updated":"2017-01-23 09:57:58.000000000","message":"Do you think debug or info would make more sense for namespace case? For not having br_netfilter plugged, error makes sense. But I don\u0027t know if we can somehow (other than checking for bridge module availabel in kernel) distinguish between those two cases.","commit_id":"44edb6e4ca202d3209e7456413624c6f0b07aa83"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"27a1a65c506f8e4eae65d3b8a19dc2b120716889","unresolved":false,"context_lines":[{"line_number":101,"context_line":"            self._enabled_netfilter_for_bridges \u003d True"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"        if not os.path.exists(\"/proc/sys/net/bridge\"):"},{"line_number":104,"context_line":"            LOG.warning(_LW(\"Process is running in namespace or \""},{"line_number":105,"context_line":"                            \"kernel module br_netfilter is not loaded. \""},{"line_number":106,"context_line":"                            \"Please ensure that netfilter options for bridge \""},{"line_number":107,"context_line":"                            \"are enabled to provide working security groups\"))"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a3905b3_52e5ada5","line":104,"range":{"start_line":104,"start_character":16,"end_line":104,"end_character":23},"in_reply_to":"5a3905b3_7b229853","updated":"2017-01-23 20:58:30.000000000","message":"Done","commit_id":"44edb6e4ca202d3209e7456413624c6f0b07aa83"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"75602a7834f87950f11f054273c7b9b4a83ced21","unresolved":false,"context_lines":[{"line_number":101,"context_line":"            self._enabled_netfilter_for_bridges \u003d True"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"        if not os.path.exists(\"/proc/sys/net/bridge\"):"},{"line_number":104,"context_line":"            LOG.warning(_LW(\"Process is running in namespace or \""},{"line_number":105,"context_line":"                            \"kernel module br_netfilter is not loaded. \""},{"line_number":106,"context_line":"                            \"Please ensure that netfilter options for bridge \""},{"line_number":107,"context_line":"                            \"are enabled to provide working security groups\"))"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a3905b3_7b229853","line":104,"range":{"start_line":104,"start_character":16,"end_line":104,"end_character":23},"in_reply_to":"5a3905b3_aa191a8a","updated":"2017-01-23 14:43:57.000000000","message":"It makes sense. I will change it. Thx","commit_id":"44edb6e4ca202d3209e7456413624c6f0b07aa83"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"f51a5d60237d41da42066036c0bf237d561ca2ff","unresolved":false,"context_lines":[{"line_number":102,"context_line":""},{"line_number":103,"context_line":"        if not os.path.exists(\"/proc/sys/net/bridge\"):"},{"line_number":104,"context_line":"            LOG.warning(_LW(\"Process is running in namespace or \""},{"line_number":105,"context_line":"                            \"kernel module br_netfilter is not loaded. \""},{"line_number":106,"context_line":"                            \"Please ensure that netfilter options for bridge \""},{"line_number":107,"context_line":"                            \"are enabled to provide working security groups\"))"},{"line_number":108,"context_line":"            return"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a3905b3_d67a96f0","line":105,"range":{"start_line":105,"start_character":29,"end_line":105,"end_character":69},"updated":"2017-01-23 09:29:17.000000000","message":"This case should happen because is guaranteed by \"check_bridge_firewalling_enabled\" in cmd/sanity_check.py","commit_id":"44edb6e4ca202d3209e7456413624c6f0b07aa83"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"2aec4156ac9401a7d73b9561279f0b1faa0dd66b","unresolved":false,"context_lines":[{"line_number":102,"context_line":""},{"line_number":103,"context_line":"        if not os.path.exists(\"/proc/sys/net/bridge\"):"},{"line_number":104,"context_line":"            LOG.warning(_LW(\"Process is running in namespace or \""},{"line_number":105,"context_line":"                            \"kernel module br_netfilter is not loaded. \""},{"line_number":106,"context_line":"                            \"Please ensure that netfilter options for bridge \""},{"line_number":107,"context_line":"                            \"are enabled to provide working security groups\"))"},{"line_number":108,"context_line":"            return"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a3905b3_ed541cff","line":105,"range":{"start_line":105,"start_character":29,"end_line":105,"end_character":69},"in_reply_to":"5a3905b3_6a6ad282","updated":"2017-01-23 09:56:22.000000000","message":"bridge_firewalling_enabled function from sanity.checks is checking exactly same thing like is here but it\u0027s not running every time when e.g. agent is started so IMHO it can be possible (maybe very rare, but possible)","commit_id":"44edb6e4ca202d3209e7456413624c6f0b07aa83"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"63afeffa263347895a3dad51415e8379f0c2d879","unresolved":false,"context_lines":[{"line_number":102,"context_line":""},{"line_number":103,"context_line":"        if not os.path.exists(\"/proc/sys/net/bridge\"):"},{"line_number":104,"context_line":"            LOG.warning(_LW(\"Process is running in namespace or \""},{"line_number":105,"context_line":"                            \"kernel module br_netfilter is not loaded. \""},{"line_number":106,"context_line":"                            \"Please ensure that netfilter options for bridge \""},{"line_number":107,"context_line":"                            \"are enabled to provide working security groups\"))"},{"line_number":108,"context_line":"            return"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a3905b3_6a6ad282","line":105,"range":{"start_line":105,"start_character":29,"end_line":105,"end_character":69},"in_reply_to":"5a3905b3_d67a96f0","updated":"2017-01-23 09:41:55.000000000","message":"The sanity check code doesn\u0027t rely on this method but attempts to set sysctl knobs itself.","commit_id":"44edb6e4ca202d3209e7456413624c6f0b07aa83"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"c023f6df1b69b78fab794e0336d5f263381d42b9","unresolved":false,"context_lines":[{"line_number":113,"context_line":"        # enabled by default or not (Ubuntu - yes, Redhat - no, for"},{"line_number":114,"context_line":"        # example)."},{"line_number":115,"context_line":"        LOG.debug(\"Enabling netfilter for bridges\")"},{"line_number":116,"context_line":"        entries \u003d utils.execute([\u0027sysctl\u0027, \u0027-N\u0027, \u0027net.bridge\u0027],"},{"line_number":117,"context_line":"                                run_as_root\u003dTrue).splitlines()"},{"line_number":118,"context_line":"        for proto in (\u0027ip\u0027, \u0027ip6\u0027):"},{"line_number":119,"context_line":"            knob \u003d \u0027net.bridge.bridge-nf-call-%stables\u0027 % proto"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a3905b3_4a88b6c5","line":116,"updated":"2017-01-23 09:57:58.000000000","message":"You can avoid extra checking for bridge presence on L103 by wrapping this line to try-block and passing log_fail_as_error\u003dFalse.","commit_id":"44edb6e4ca202d3209e7456413624c6f0b07aa83"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"75602a7834f87950f11f054273c7b9b4a83ced21","unresolved":false,"context_lines":[{"line_number":113,"context_line":"        # enabled by default or not (Ubuntu - yes, Redhat - no, for"},{"line_number":114,"context_line":"        # example)."},{"line_number":115,"context_line":"        LOG.debug(\"Enabling netfilter for bridges\")"},{"line_number":116,"context_line":"        entries \u003d utils.execute([\u0027sysctl\u0027, \u0027-N\u0027, \u0027net.bridge\u0027],"},{"line_number":117,"context_line":"                                run_as_root\u003dTrue).splitlines()"},{"line_number":118,"context_line":"        for proto in (\u0027ip\u0027, \u0027ip6\u0027):"},{"line_number":119,"context_line":"            knob \u003d \u0027net.bridge.bridge-nf-call-%stables\u0027 % proto"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a3905b3_fbd4c820","line":116,"in_reply_to":"5a3905b3_4a88b6c5","updated":"2017-01-23 14:43:57.000000000","message":"thx, I will change it","commit_id":"44edb6e4ca202d3209e7456413624c6f0b07aa83"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"27a1a65c506f8e4eae65d3b8a19dc2b120716889","unresolved":false,"context_lines":[{"line_number":113,"context_line":"        # enabled by default or not (Ubuntu - yes, Redhat - no, for"},{"line_number":114,"context_line":"        # example)."},{"line_number":115,"context_line":"        LOG.debug(\"Enabling netfilter for bridges\")"},{"line_number":116,"context_line":"        entries \u003d utils.execute([\u0027sysctl\u0027, \u0027-N\u0027, \u0027net.bridge\u0027],"},{"line_number":117,"context_line":"                                run_as_root\u003dTrue).splitlines()"},{"line_number":118,"context_line":"        for proto in (\u0027ip\u0027, \u0027ip6\u0027):"},{"line_number":119,"context_line":"            knob \u003d \u0027net.bridge.bridge-nf-call-%stables\u0027 % proto"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a3905b3_72e0e996","line":116,"in_reply_to":"5a3905b3_fbd4c820","updated":"2017-01-23 20:58:30.000000000","message":"Done","commit_id":"44edb6e4ca202d3209e7456413624c6f0b07aa83"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"cb7f6d14fb8123f1f57cd64f892e5f00742d275d","unresolved":false,"context_lines":[{"line_number":112,"context_line":"            LOG.info(_LI(\"Process is probably running in namespace or \""},{"line_number":113,"context_line":"                         \"kernel module br_netfilter is not loaded. \""},{"line_number":114,"context_line":"                         \"Please ensure that netfilter options for bridge \""},{"line_number":115,"context_line":"                         \"are enabled to provide working security groups\"))"},{"line_number":116,"context_line":"            return"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"        LOG.debug(\"Enabling netfilter for bridges\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"5a3905b3_67cc8489","line":115,"updated":"2017-01-24 13:21:31.000000000","message":"Nit: Missing trailing dot.","commit_id":"95a763fb5db19703c2f3aecf5384849685d3a826"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"9f96e4b0d9ba8f9afc940945b92393af4ec15261","unresolved":false,"context_lines":[{"line_number":112,"context_line":"            LOG.info(_LI(\"Process is probably running in namespace or \""},{"line_number":113,"context_line":"                         \"kernel module br_netfilter is not loaded. \""},{"line_number":114,"context_line":"                         \"Please ensure that netfilter options for bridge \""},{"line_number":115,"context_line":"                         \"are enabled to provide working security groups\"))"},{"line_number":116,"context_line":"            return"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"        LOG.debug(\"Enabling netfilter for bridges\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"5a3905b3_76199421","line":115,"in_reply_to":"5a3905b3_67cc8489","updated":"2017-01-24 14:44:17.000000000","message":"Done","commit_id":"95a763fb5db19703c2f3aecf5384849685d3a826"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"81cae57f0a2c28af12907f73e9f526fb1f08647d","unresolved":false,"context_lines":[{"line_number":104,"context_line":"        # OVS Hybrid.  Distributions can differ on whether this is"},{"line_number":105,"context_line":"        # enabled by default or not (Ubuntu - yes, Redhat - no, for"},{"line_number":106,"context_line":"        # example)."},{"line_number":107,"context_line":"        try:"},{"line_number":108,"context_line":"            entries \u003d utils.execute("},{"line_number":109,"context_line":"                [\u0027sysctl\u0027, \u0027-N\u0027, \u0027net.bridge\u0027], run_as_root\u003dTrue,"},{"line_number":110,"context_line":"                log_fail_as_error\u003dFalse).splitlines()"}],"source_content_type":"text/x-python","patch_set":5,"id":"5a3905b3_f96ba2ef","line":107,"updated":"2017-01-24 20:38:19.000000000","message":"If I were you, I would put that section below line 118 so that always have it logged for each attempt, but that\u0027s just a matter of taste because we still can detect it by looking for the new message you added.","commit_id":"283ebf011fdf80aaa4de6e4f152d7068b6bab1f1"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"c374e574236f4b0d9b3307d0c5d694ec54315096","unresolved":false,"context_lines":[{"line_number":104,"context_line":"        # OVS Hybrid.  Distributions can differ on whether this is"},{"line_number":105,"context_line":"        # enabled by default or not (Ubuntu - yes, Redhat - no, for"},{"line_number":106,"context_line":"        # example)."},{"line_number":107,"context_line":"        try:"},{"line_number":108,"context_line":"            entries \u003d utils.execute("},{"line_number":109,"context_line":"                [\u0027sysctl\u0027, \u0027-N\u0027, \u0027net.bridge\u0027], run_as_root\u003dTrue,"},{"line_number":110,"context_line":"                log_fail_as_error\u003dFalse).splitlines()"}],"source_content_type":"text/x-python","patch_set":5,"id":"5a3905b3_5e8813c7","line":107,"in_reply_to":"5a3905b3_f96ba2ef","updated":"2017-01-24 23:40:27.000000000","message":"I first though to put it this debug message because in fact if this exception will occurs, then there will be not \"enabling netfilter for bridges\".\nBut You\u0027re right, it will be better as You said because then there will be in logs info that this enabling was started and what was happen later :)","commit_id":"283ebf011fdf80aaa4de6e4f152d7068b6bab1f1"}]}
