)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"97b01312f2abcab50d3e6202756319385380b5f5","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add logging of agent heartbeats"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Make it configurable on server and agent sides."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I0a127ef274a84bba5de47395d47b62f48bd4be16"},{"line_number":12,"context_line":"Closes-Bug: #1452582"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"9a0c5dc1_9b163b54","line":9,"updated":"2015-05-12 04:52:43.000000000","message":"it seems you removed the server-side config in PS6.","commit_id":"417341a29dcf354bb86d852e5cf3bfbbb1cc03dc"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"55f7121faa4fc64a278d9d9c0191dae40303f92c","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add logging of agent heartbeats"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Make it configurable on server and agent sides."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I0a127ef274a84bba5de47395d47b62f48bd4be16"},{"line_number":12,"context_line":"Closes-Bug: #1452582"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"9a0c5dc1_4149f6cf","line":9,"in_reply_to":"9a0c5dc1_9b163b54","updated":"2015-05-12 06:31:33.000000000","message":"Good catch. Given that each agent is configurable independently, server-side config doesn\u0027t make much sense.","commit_id":"417341a29dcf354bb86d852e5cf3bfbbb1cc03dc"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"c83f7f67c047a7038ebf38a74b89a0df0498f130","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Add logging of agent heartbeats"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Make it configurable on server and agent sides."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I0a127ef274a84bba5de47395d47b62f48bd4be16"},{"line_number":12,"context_line":"Closes-Bug: #1452582"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"9a0c5dc1_d69feab2","line":10,"updated":"2015-05-12 05:02:44.000000000","message":"This needs DocImpact tag","commit_id":"417341a29dcf354bb86d852e5cf3bfbbb1cc03dc"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"55f7121faa4fc64a278d9d9c0191dae40303f92c","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Add logging of agent heartbeats"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Make it configurable on server and agent sides."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I0a127ef274a84bba5de47395d47b62f48bd4be16"},{"line_number":12,"context_line":"Closes-Bug: #1452582"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"9a0c5dc1_e116aaa6","line":10,"in_reply_to":"9a0c5dc1_d69feab2","updated":"2015-05-12 06:31:33.000000000","message":"ok","commit_id":"417341a29dcf354bb86d852e5cf3bfbbb1cc03dc"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"5632d5988348be37819da4ff03939c7e4a9f0f64","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add logging of agent heartbeats"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Make it configurable on agent side."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"DocImpact"},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":10,"id":"3afb71cf_2b8ffacd","line":9,"updated":"2015-06-11 16:34:43.000000000","message":"it would be great if you could add why you are making this change. It\u0027s explained in the bug report but it wouldn\u0027t hurt here.","commit_id":"c3b058b752b0096aa4c456b54a56dd7c123c0ea3"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"c1cb403c54b134709beb6be33d331ee6bc509154","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add logging of agent heartbeats"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Make it configurable on agent side."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"DocImpact"},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":10,"id":"1af86dd1_3d1a9f18","line":9,"in_reply_to":"3afb71cf_2b8ffacd","updated":"2015-06-12 00:40:45.000000000","message":"Done","commit_id":"c3b058b752b0096aa4c456b54a56dd7c123c0ea3"}],"etc/dhcp_agent.ini":[{"author":{"_account_id":16347,"name":"Purandhar Mannidi","display_name":"Sai","email":"sai438@gmail.com","username":"mpsairam"},"change_message_id":"ae6b547566043559ba7335eae41a78b98e5c2862","unresolved":false,"context_lines":[{"line_number":91,"context_line":"[AGENT]"},{"line_number":92,"context_line":"# Log agent heartbeats from DHCP agent"},{"line_number":93,"context_line":"# log_agent_heartbeats \u003d False"},{"line_number":94,"context_line":"log_agent_heartbeats \u003d True"}],"source_content_type":"text/x-properties","patch_set":8,"id":"7a016987_9ff7cf58","line":94,"updated":"2015-05-19 06:16:54.000000000","message":"Why duplicate the same config option across all the agent configuration files? Why can\u0027t be it common for all?","commit_id":"e093d30928b0d5c09c6a7b659b8eddeb9b53ce7a"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"4f8869e1eb6782160f7a151f55367861e7a93df2","unresolved":false,"context_lines":[{"line_number":91,"context_line":"[AGENT]"},{"line_number":92,"context_line":"# Log agent heartbeats from DHCP agent"},{"line_number":93,"context_line":"# log_agent_heartbeats \u003d False"},{"line_number":94,"context_line":"log_agent_heartbeats \u003d True"}],"source_content_type":"text/x-properties","patch_set":8,"id":"7a016987_425def77","line":94,"in_reply_to":"7a016987_9ff7cf58","updated":"2015-05-19 16:03:53.000000000","message":"It\u0027s not common for all. Each agent can be configured individually. That\u0027s the point of having this option.","commit_id":"e093d30928b0d5c09c6a7b659b8eddeb9b53ce7a"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"eea8df488217a459072a90b8b362fd55e1cde0b1","unresolved":false,"context_lines":[{"line_number":89,"context_line":"# ovs_vsctl_timeout \u003d 10"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"[AGENT]"},{"line_number":92,"context_line":"# Log agent heartbeats from DHCP agent"},{"line_number":93,"context_line":"# log_agent_heartbeats \u003d False"}],"source_content_type":"text/x-properties","patch_set":9,"id":"7a016987_b94cd59e","line":92,"updated":"2015-05-19 22:39:05.000000000","message":"\"from this agent\" might be a better description.\nditto for other example ini files.","commit_id":"72851930bf8c613b2d9e8111d55d9beef96b819a"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"606b92b90fb525685e7cef18ac5bc6509a0db1e4","unresolved":false,"context_lines":[{"line_number":89,"context_line":"# ovs_vsctl_timeout \u003d 10"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"[AGENT]"},{"line_number":92,"context_line":"# Log agent heartbeats from DHCP agent"},{"line_number":93,"context_line":"# log_agent_heartbeats \u003d False"}],"source_content_type":"text/x-properties","patch_set":9,"id":"7a016987_0b470c4c","line":92,"in_reply_to":"7a016987_b94cd59e","updated":"2015-05-19 22:51:24.000000000","message":"Done","commit_id":"72851930bf8c613b2d9e8111d55d9beef96b819a"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"d962d4eef69af8a07b7d7f849c984c13b729d1c4","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":"[AGENT]"},{"line_number":92,"context_line":"# Log agent heartbeats from this DHCP agent"},{"line_number":93,"context_line":"# log_agent_heartbeats \u003d False"}],"source_content_type":"text/x-properties","patch_set":11,"id":"fa32b979_ca93a5a2","line":93,"updated":"2015-06-14 13:57:15.000000000","message":"Why not setting it into the [AGENT] section of neutron conf?, do we need this level of granularity?\n\nUser could do set it granularly yet in the ini files if he wanted, but may be we over-complicate files replicating this section all around.","commit_id":"b0baa72182186654bd9273637799bb5f122698ba"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"abfa11eaa3ea8845e766cc8ba8a881009982a886","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":"[AGENT]"},{"line_number":92,"context_line":"# Log agent heartbeats from this DHCP agent"},{"line_number":93,"context_line":"# log_agent_heartbeats \u003d False"}],"source_content_type":"text/x-properties","patch_set":11,"id":"fa32b979_e5f25a06","line":93,"in_reply_to":"fa32b979_ca93a5a2","updated":"2015-06-14 19:05:37.000000000","message":"Yes, that was done specifically for the granularity.\nThink of automatic deployment which puts neutron.conf on every controller and compute and passes it to ovs-agent and l3-agent on each node.\n\nThey clearly should use different per-host-per-agent settings.","commit_id":"b0baa72182186654bd9273637799bb5f122698ba"}],"etc/l3_agent.ini":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"d962d4eef69af8a07b7d7f849c984c13b729d1c4","unresolved":false,"context_lines":[{"line_number":122,"context_line":""},{"line_number":123,"context_line":"[AGENT]"},{"line_number":124,"context_line":"# Log agent heartbeats from this L3 agent"},{"line_number":125,"context_line":"# log_agent_heartbeats \u003d False"}],"source_content_type":"text/x-properties","patch_set":11,"id":"fa32b979_6a905996","line":125,"updated":"2015-06-14 13:57:15.000000000","message":"ditto in dhcp_agent.ini","commit_id":"b0baa72182186654bd9273637799bb5f122698ba"}],"etc/metadata_agent.ini":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"d962d4eef69af8a07b7d7f849c984c13b729d1c4","unresolved":false,"context_lines":[{"line_number":69,"context_line":""},{"line_number":70,"context_line":"[AGENT]"},{"line_number":71,"context_line":"# Log agent heartbeats from this Metadata agent"},{"line_number":72,"context_line":"# log_agent_heartbeats \u003d False"}],"source_content_type":"text/x-properties","patch_set":11,"id":"fa32b979_8a8d9d7d","line":72,"updated":"2015-06-14 13:57:15.000000000","message":"ditto in dhcp_agent.ini","commit_id":"b0baa72182186654bd9273637799bb5f122698ba"}],"etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"d962d4eef69af8a07b7d7f849c984c13b729d1c4","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"[agent]"},{"line_number":61,"context_line":"# Log agent heartbeats from this OVS agent"},{"line_number":62,"context_line":"# log_agent_heartbeats \u003d False"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"# Agent\u0027s polling interval in seconds"},{"line_number":65,"context_line":"# polling_interval \u003d 2"}],"source_content_type":"text/x-properties","patch_set":11,"id":"fa32b979_2ae9f11a","line":62,"updated":"2015-06-14 13:57:15.000000000","message":"ditto in dhcp_agent.ini","commit_id":"b0baa72182186654bd9273637799bb5f122698ba"}],"neutron/agent/common/config.py":[{"author":{"_account_id":11343,"name":"Gal Sagie","email":"gal.sagie@gmail.com","username":"GalSagie"},"change_message_id":"884574519fa73c05bd4ea004fe2c5275806f026e","unresolved":false,"context_lines":[{"line_number":44,"context_line":"                 help\u003d_(\u0027Seconds between nodes reporting state to server; \u0027"},{"line_number":45,"context_line":"                        \u0027should be less than agent_down_time, best if it \u0027"},{"line_number":46,"context_line":"                        \u0027is half or less than agent_down_time.\u0027)),"},{"line_number":47,"context_line":"    cfg.BoolOpt(\u0027log_agent_heartbeats\u0027, default\u003dTrue,"},{"line_number":48,"context_line":"                help\u003d_(\u0027Log agent heartbeats from particular agent\u0027)),"},{"line_number":49,"context_line":"]"},{"line_number":50,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"1aca2d91_65f484f1","line":47,"updated":"2015-05-08 13:40:27.000000000","message":"I personally think this should be defaulted to False, But if you are against it i will remove my review :)","commit_id":"d54a9ff954d9da210278d94eb34b4648ef9db037"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"ecca3c4b5227423c31aa711e2dc90cf6ae8b0718","unresolved":false,"context_lines":[{"line_number":44,"context_line":"                 help\u003d_(\u0027Seconds between nodes reporting state to server; \u0027"},{"line_number":45,"context_line":"                        \u0027should be less than agent_down_time, best if it \u0027"},{"line_number":46,"context_line":"                        \u0027is half or less than agent_down_time.\u0027)),"},{"line_number":47,"context_line":"    cfg.BoolOpt(\u0027log_agent_heartbeats\u0027, default\u003dTrue,"},{"line_number":48,"context_line":"                help\u003d_(\u0027Log agent heartbeats from particular agent\u0027)),"},{"line_number":49,"context_line":"]"},{"line_number":50,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"1aca2d91_866206ac","line":47,"in_reply_to":"1aca2d91_65f484f1","updated":"2015-05-08 14:32:27.000000000","message":"it will be False, while patch is WIP i\u0027m just testing it in check jobs.","commit_id":"d54a9ff954d9da210278d94eb34b4648ef9db037"},{"author":{"_account_id":11343,"name":"Gal Sagie","email":"gal.sagie@gmail.com","username":"GalSagie"},"change_message_id":"6c3d99533ce2b716f65c8163a18578cb413e63c7","unresolved":false,"context_lines":[{"line_number":44,"context_line":"                 help\u003d_(\u0027Seconds between nodes reporting state to server; \u0027"},{"line_number":45,"context_line":"                        \u0027should be less than agent_down_time, best if it \u0027"},{"line_number":46,"context_line":"                        \u0027is half or less than agent_down_time.\u0027)),"},{"line_number":47,"context_line":"    cfg.BoolOpt(\u0027log_agent_heartbeats\u0027, default\u003dTrue,"},{"line_number":48,"context_line":"                help\u003d_(\u0027Log agent heartbeats from particular agent\u0027)),"},{"line_number":49,"context_line":"]"},{"line_number":50,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"1aca2d91_e6c9ba79","line":47,"in_reply_to":"1aca2d91_866206ac","updated":"2015-05-08 14:34:59.000000000","message":"ok, thanks, sorry for the noise then","commit_id":"d54a9ff954d9da210278d94eb34b4648ef9db037"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"56fc579087d50fb9dd9058ffa8aa5aeace3ae9d5","unresolved":false,"context_lines":[{"line_number":44,"context_line":"                 help\u003d_(\u0027Seconds between nodes reporting state to server; \u0027"},{"line_number":45,"context_line":"                        \u0027should be less than agent_down_time, best if it \u0027"},{"line_number":46,"context_line":"                        \u0027is half or less than agent_down_time.\u0027)),"},{"line_number":47,"context_line":"    cfg.BoolOpt(\u0027log_agent_heartbeats\u0027, default\u003dFalse,"},{"line_number":48,"context_line":"                help\u003d_(\u0027Log agent heartbeats from particular agent\u0027)),"},{"line_number":49,"context_line":"]"},{"line_number":50,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"7a016987_b01a1c6d","line":47,"updated":"2015-05-14 17:24:33.000000000","message":"you should add this option in etc/neutron.conf","commit_id":"f6db32b161e33abed476a1f296e54517a3a57028"},{"author":{"_account_id":16347,"name":"Purandhar Mannidi","display_name":"Sai","email":"sai438@gmail.com","username":"mpsairam"},"change_message_id":"8fd0513222f69e9e863453fe7aad8a75080951a1","unresolved":false,"context_lines":[{"line_number":44,"context_line":"                 help\u003d_(\u0027Seconds between nodes reporting state to server; \u0027"},{"line_number":45,"context_line":"                        \u0027should be less than agent_down_time, best if it \u0027"},{"line_number":46,"context_line":"                        \u0027is half or less than agent_down_time.\u0027)),"},{"line_number":47,"context_line":"    cfg.BoolOpt(\u0027log_agent_heartbeats\u0027, default\u003dFalse,"},{"line_number":48,"context_line":"                help\u003d_(\u0027Log agent heartbeats from particular agent\u0027)),"},{"line_number":49,"context_line":"]"},{"line_number":50,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"7a016987_3fe69bb0","line":47,"in_reply_to":"7a016987_656859f6","updated":"2015-05-19 06:15:11.000000000","message":"Why duplicate the same config option across all the agent configuration files?\nWhy can\u0027t be it common for all?","commit_id":"f6db32b161e33abed476a1f296e54517a3a57028"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"7d90eb5fd2983491585f0ada4d280d243872ada6","unresolved":false,"context_lines":[{"line_number":44,"context_line":"                 help\u003d_(\u0027Seconds between nodes reporting state to server; \u0027"},{"line_number":45,"context_line":"                        \u0027should be less than agent_down_time, best if it \u0027"},{"line_number":46,"context_line":"                        \u0027is half or less than agent_down_time.\u0027)),"},{"line_number":47,"context_line":"    cfg.BoolOpt(\u0027log_agent_heartbeats\u0027, default\u003dFalse,"},{"line_number":48,"context_line":"                help\u003d_(\u0027Log agent heartbeats from particular agent\u0027)),"},{"line_number":49,"context_line":"]"},{"line_number":50,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"7a016987_656859f6","line":47,"in_reply_to":"7a016987_b01a1c6d","updated":"2015-05-14 22:24:26.000000000","message":"Not really. This is where agent\u0027s options belong. those in agents_db are not defined on agent\u0027s side.","commit_id":"f6db32b161e33abed476a1f296e54517a3a57028"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"5632d5988348be37819da4ff03939c7e4a9f0f64","unresolved":false,"context_lines":[{"line_number":45,"context_line":"                        \u0027should be less than agent_down_time, best if it \u0027"},{"line_number":46,"context_line":"                        \u0027is half or less than agent_down_time.\u0027)),"},{"line_number":47,"context_line":"    cfg.BoolOpt(\u0027log_agent_heartbeats\u0027, default\u003dFalse,"},{"line_number":48,"context_line":"                help\u003d_(\u0027Log agent heartbeats from particular agent\u0027)),"},{"line_number":49,"context_line":"]"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"INTERFACE_DRIVER_OPTS \u003d ["}],"source_content_type":"text/x-python","patch_set":10,"id":"3afb71cf_6b47321e","line":48,"updated":"2015-06-11 16:34:43.000000000","message":"nit: I think \"Log agent heartbeats\" is enough","commit_id":"c3b058b752b0096aa4c456b54a56dd7c123c0ea3"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"c1cb403c54b134709beb6be33d331ee6bc509154","unresolved":false,"context_lines":[{"line_number":45,"context_line":"                        \u0027should be less than agent_down_time, best if it \u0027"},{"line_number":46,"context_line":"                        \u0027is half or less than agent_down_time.\u0027)),"},{"line_number":47,"context_line":"    cfg.BoolOpt(\u0027log_agent_heartbeats\u0027, default\u003dFalse,"},{"line_number":48,"context_line":"                help\u003d_(\u0027Log agent heartbeats from particular agent\u0027)),"},{"line_number":49,"context_line":"]"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"INTERFACE_DRIVER_OPTS \u003d ["}],"source_content_type":"text/x-python","patch_set":10,"id":"1af86dd1_fd73e7b2","line":48,"in_reply_to":"3afb71cf_6b47321e","updated":"2015-06-12 00:40:45.000000000","message":"Done","commit_id":"c3b058b752b0096aa4c456b54a56dd7c123c0ea3"}],"neutron/agent/l3/agent.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"97b01312f2abcab50d3e6202756319385380b5f5","unresolved":false,"context_lines":[{"line_number":571,"context_line":"                \u0027gateway_external_network_id\u0027:"},{"line_number":572,"context_line":"                self.conf.gateway_external_network_id,"},{"line_number":573,"context_line":"                \u0027interface_driver\u0027: self.conf.interface_driver,"},{"line_number":574,"context_line":"                \u0027log_agent_heartbeats\u0027: cfg.CONF.AGENT.log_agent_heartbeats},"},{"line_number":575,"context_line":"            \u0027start_flag\u0027: True,"},{"line_number":576,"context_line":"            \u0027agent_type\u0027: l3_constants.AGENT_TYPE_L3}"},{"line_number":577,"context_line":"        report_interval \u003d self.conf.AGENT.report_interval"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a0c5dc1_1b900bec","line":574,"updated":"2015-05-12 04:52:43.000000000","message":"why not self.conf.AGENT.log_agent_heartbeats ?","commit_id":"417341a29dcf354bb86d852e5cf3bfbbb1cc03dc"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"55f7121faa4fc64a278d9d9c0191dae40303f92c","unresolved":false,"context_lines":[{"line_number":571,"context_line":"                \u0027gateway_external_network_id\u0027:"},{"line_number":572,"context_line":"                self.conf.gateway_external_network_id,"},{"line_number":573,"context_line":"                \u0027interface_driver\u0027: self.conf.interface_driver,"},{"line_number":574,"context_line":"                \u0027log_agent_heartbeats\u0027: cfg.CONF.AGENT.log_agent_heartbeats},"},{"line_number":575,"context_line":"            \u0027start_flag\u0027: True,"},{"line_number":576,"context_line":"            \u0027agent_type\u0027: l3_constants.AGENT_TYPE_L3}"},{"line_number":577,"context_line":"        report_interval \u003d self.conf.AGENT.report_interval"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a0c5dc1_41f2169c","line":574,"in_reply_to":"9a0c5dc1_1b900bec","updated":"2015-05-12 06:31:33.000000000","message":"yeah, that would be better","commit_id":"417341a29dcf354bb86d852e5cf3bfbbb1cc03dc"}],"neutron/agent/metadata/agent.py":[{"author":{"_account_id":9423,"name":"Roey Chen","email":"roeyc@vmware.com","username":"roeyc"},"change_message_id":"3a5c09f800a4885d88b1fe5ea08120b99286190c","unresolved":false,"context_lines":[{"line_number":286,"context_line":"                \u0027metadata_proxy_socket\u0027: cfg.CONF.metadata_proxy_socket,"},{"line_number":287,"context_line":"                \u0027nova_metadata_ip\u0027: cfg.CONF.nova_metadata_ip,"},{"line_number":288,"context_line":"                \u0027nova_metadata_port\u0027: cfg.CONF.nova_metadata_port,"},{"line_number":289,"context_line":"                \u0027log_agent_heartbeat\u0027: cfg.CONF.AGENT.log_agent_heartbeats,"},{"line_number":290,"context_line":"            },"},{"line_number":291,"context_line":"            \u0027start_flag\u0027: True,"},{"line_number":292,"context_line":"            \u0027agent_type\u0027: n_const.AGENT_TYPE_METADATA}"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa32b979_0a72ede5","line":289,"updated":"2015-06-14 15:24:29.000000000","message":"log_agent_heartbeat \u003d\u003e log_agent_heartbeats (plural), for consistency, and unless I\u0027m mistaking, also for correctness.","commit_id":"b0baa72182186654bd9273637799bb5f122698ba"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"abfa11eaa3ea8845e766cc8ba8a881009982a886","unresolved":false,"context_lines":[{"line_number":286,"context_line":"                \u0027metadata_proxy_socket\u0027: cfg.CONF.metadata_proxy_socket,"},{"line_number":287,"context_line":"                \u0027nova_metadata_ip\u0027: cfg.CONF.nova_metadata_ip,"},{"line_number":288,"context_line":"                \u0027nova_metadata_port\u0027: cfg.CONF.nova_metadata_port,"},{"line_number":289,"context_line":"                \u0027log_agent_heartbeat\u0027: cfg.CONF.AGENT.log_agent_heartbeats,"},{"line_number":290,"context_line":"            },"},{"line_number":291,"context_line":"            \u0027start_flag\u0027: True,"},{"line_number":292,"context_line":"            \u0027agent_type\u0027: n_const.AGENT_TYPE_METADATA}"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa32b979_a5dd3272","line":289,"in_reply_to":"fa32b979_0a72ede5","updated":"2015-06-14 19:05:37.000000000","message":"yes, this is a mistake, dict key should also be plural","commit_id":"b0baa72182186654bd9273637799bb5f122698ba"}],"neutron/agent/rpc.py":[{"author":{"_account_id":16347,"name":"Purandhar Mannidi","display_name":"Sai","email":"sai438@gmail.com","username":"mpsairam"},"change_message_id":"1b186d5c881b1df8b8f4f5231e8ef2fa1a7b7ec6","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    def report_state(self, context, agent_state, use_call\u003dFalse):"},{"line_number":75,"context_line":"        cctxt \u003d self.client.prepare()"},{"line_number":76,"context_line":"        agent_state[\u0027uuid\u0027] \u003d uuidutils.generate_uuid()"},{"line_number":77,"context_line":"        kwargs \u003d {"},{"line_number":78,"context_line":"            \u0027agent_state\u0027: {\u0027agent_state\u0027: agent_state},"},{"line_number":79,"context_line":"            \u0027time\u0027: timeutils.strtime(),"}],"source_content_type":"text/x-python","patch_set":10,"id":"7a016987_7a9c085d","line":76,"updated":"2015-05-20 06:39:48.000000000","message":"Why uuid?\nAre we storing this in DB or for just differentiating the logs?\nIf only for differentiating purposes then already logging the time delta correct?","commit_id":"c3b058b752b0096aa4c456b54a56dd7c123c0ea3"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"c1cb403c54b134709beb6be33d331ee6bc509154","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    def report_state(self, context, agent_state, use_call\u003dFalse):"},{"line_number":75,"context_line":"        cctxt \u003d self.client.prepare()"},{"line_number":76,"context_line":"        agent_state[\u0027uuid\u0027] \u003d uuidutils.generate_uuid()"},{"line_number":77,"context_line":"        kwargs \u003d {"},{"line_number":78,"context_line":"            \u0027agent_state\u0027: {\u0027agent_state\u0027: agent_state},"},{"line_number":79,"context_line":"            \u0027time\u0027: timeutils.strtime(),"}],"source_content_type":"text/x-python","patch_set":10,"id":"1af86dd1_7d413739","line":76,"in_reply_to":"3afb71cf_cb9d060c","updated":"2015-06-12 00:40:45.000000000","message":"Done","commit_id":"c3b058b752b0096aa4c456b54a56dd7c123c0ea3"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"946d1bb6254689669e084743a9f0927cffb6cbe4","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    def report_state(self, context, agent_state, use_call\u003dFalse):"},{"line_number":75,"context_line":"        cctxt \u003d self.client.prepare()"},{"line_number":76,"context_line":"        agent_state[\u0027uuid\u0027] \u003d uuidutils.generate_uuid()"},{"line_number":77,"context_line":"        kwargs \u003d {"},{"line_number":78,"context_line":"            \u0027agent_state\u0027: {\u0027agent_state\u0027: agent_state},"},{"line_number":79,"context_line":"            \u0027time\u0027: timeutils.strtime(),"}],"source_content_type":"text/x-python","patch_set":10,"id":"7a016987_dacd2e32","line":76,"in_reply_to":"7a016987_7a9c085d","updated":"2015-05-20 17:18:41.000000000","message":"We don\u0027t store this uuid in the DB. uuid is convenient to build correspondence between logs, unlike time/time delta.","commit_id":"c3b058b752b0096aa4c456b54a56dd7c123c0ea3"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"5632d5988348be37819da4ff03939c7e4a9f0f64","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    def report_state(self, context, agent_state, use_call\u003dFalse):"},{"line_number":75,"context_line":"        cctxt \u003d self.client.prepare()"},{"line_number":76,"context_line":"        agent_state[\u0027uuid\u0027] \u003d uuidutils.generate_uuid()"},{"line_number":77,"context_line":"        kwargs \u003d {"},{"line_number":78,"context_line":"            \u0027agent_state\u0027: {\u0027agent_state\u0027: agent_state},"},{"line_number":79,"context_line":"            \u0027time\u0027: timeutils.strtime(),"}],"source_content_type":"text/x-python","patch_set":10,"id":"3afb71cf_cb9d060c","line":76,"in_reply_to":"7a016987_8bfe43ac","updated":"2015-06-11 16:34:43.000000000","message":"it\u0027s probably worth adding a comment","commit_id":"c3b058b752b0096aa4c456b54a56dd7c123c0ea3"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"0cb65e935f0dfa0da20c27e7795b005c60e970b7","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    def report_state(self, context, agent_state, use_call\u003dFalse):"},{"line_number":75,"context_line":"        cctxt \u003d self.client.prepare()"},{"line_number":76,"context_line":"        agent_state[\u0027uuid\u0027] \u003d uuidutils.generate_uuid()"},{"line_number":77,"context_line":"        kwargs \u003d {"},{"line_number":78,"context_line":"            \u0027agent_state\u0027: {\u0027agent_state\u0027: agent_state},"},{"line_number":79,"context_line":"            \u0027time\u0027: timeutils.strtime(),"}],"source_content_type":"text/x-python","patch_set":10,"id":"7a016987_8bfe43ac","line":76,"in_reply_to":"7a016987_b5b603f7","updated":"2015-05-20 21:57:16.000000000","message":"uuid is generated on agent side and logged both on agent and on server sides, that\u0027s what make a correspondence.","commit_id":"c3b058b752b0096aa4c456b54a56dd7c123c0ea3"},{"author":{"_account_id":16347,"name":"Purandhar Mannidi","display_name":"Sai","email":"sai438@gmail.com","username":"mpsairam"},"change_message_id":"4dfc58ebd5e1b7f568069b4017489c213e9b437b","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    def report_state(self, context, agent_state, use_call\u003dFalse):"},{"line_number":75,"context_line":"        cctxt \u003d self.client.prepare()"},{"line_number":76,"context_line":"        agent_state[\u0027uuid\u0027] \u003d uuidutils.generate_uuid()"},{"line_number":77,"context_line":"        kwargs \u003d {"},{"line_number":78,"context_line":"            \u0027agent_state\u0027: {\u0027agent_state\u0027: agent_state},"},{"line_number":79,"context_line":"            \u0027time\u0027: timeutils.strtime(),"}],"source_content_type":"text/x-python","patch_set":10,"id":"7a016987_b5b603f7","line":76,"in_reply_to":"7a016987_dacd2e32","updated":"2015-05-20 17:45:53.000000000","message":"Every time it\u0027ll generate a new UUID how can we correlate the logs.\nI\u0027m confused. I feel UUID is not required.","commit_id":"c3b058b752b0096aa4c456b54a56dd7c123c0ea3"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"69f5453f24142c7de7572119c7f07796d94aab15","unresolved":false,"context_lines":[{"line_number":77,"context_line":"        # that can be logged on server side."},{"line_number":78,"context_line":"        # This create visible correspondence between events on"},{"line_number":79,"context_line":"        # the agent and on the server"},{"line_number":80,"context_line":"        agent_state[\u0027uuid\u0027] \u003d uuidutils.generate_uuid()"},{"line_number":81,"context_line":"        kwargs \u003d {"},{"line_number":82,"context_line":"            \u0027agent_state\u0027: {\u0027agent_state\u0027: agent_state},"},{"line_number":83,"context_line":"            \u0027time\u0027: timeutils.strtime(),"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa32b979_2a9b31cb","line":80,"updated":"2015-06-14 13:49:40.000000000","message":"Why are we not doing a log.debug here? Unless this is already logged on the agent?\n\nIt would be nice if there was something like:\n\n            LOG.debug(\"Heartbeat sent from %(type)s agent on \"\n                      \"host %(host)s, uuid %(uuid)s\",\n                      {\u0027type\u0027: agent_db.agent_type,\n                       \u0027host\u0027: agent_db.host,\n                       \u0027uuid\u0027: state.get(\u0027uuid\u0027)})","commit_id":"b0baa72182186654bd9273637799bb5f122698ba"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"abfa11eaa3ea8845e766cc8ba8a881009982a886","unresolved":false,"context_lines":[{"line_number":77,"context_line":"        # that can be logged on server side."},{"line_number":78,"context_line":"        # This create visible correspondence between events on"},{"line_number":79,"context_line":"        # the agent and on the server"},{"line_number":80,"context_line":"        agent_state[\u0027uuid\u0027] \u003d uuidutils.generate_uuid()"},{"line_number":81,"context_line":"        kwargs \u003d {"},{"line_number":82,"context_line":"            \u0027agent_state\u0027: {\u0027agent_state\u0027: agent_state},"},{"line_number":83,"context_line":"            \u0027time\u0027: timeutils.strtime(),"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa32b979_858d8e7d","line":80,"in_reply_to":"fa32b979_2a9b31cb","updated":"2015-06-14 19:05:37.000000000","message":"I\u0027m not doing debug logging here because state report with the data is logged in other place, that would be a duplication.","commit_id":"b0baa72182186654bd9273637799bb5f122698ba"}],"neutron/db/agents_db.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"05523b98233e06a1a10308ba70dd8c76f17ccf6e","unresolved":false,"context_lines":[{"line_number":206,"context_line":"    def _log_heartbeat(self, state, agent_db, agent_conf):"},{"line_number":207,"context_line":"        if agent_conf.get(\u0027log_agent_heartbeats\u0027):"},{"line_number":208,"context_line":"            delta \u003d timeutils.utcnow() - agent_db.heartbeat_timestamp"},{"line_number":209,"context_line":"            LOG.debug(\"Heartbeat received from %(type)s agent on \""},{"line_number":210,"context_line":"                      \"host %(host)s, uuid %(uuid)s after %(delta)s\","},{"line_number":211,"context_line":"                      {\u0027type\u0027: agent_db.agent_type,"},{"line_number":212,"context_line":"                       \u0027host\u0027: agent_db.host,"}],"source_content_type":"text/x-python","patch_set":13,"id":"fa32b979_6b3f6ab4","line":209,"updated":"2015-06-24 08:00:33.000000000","message":"since this is configuration driven by the deployer and set to False by default, I think it makes sense to upgrade the log level to \u0027info\u0027. That way they don\u0027t have to enable debugging if they just want heartbeats logged.","commit_id":"14519ee6dea5d9344ee7978a80daa67baf55374d"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"aaf35741cc4b06c4df8eeb42bd6bf5120bd38e78","unresolved":false,"context_lines":[{"line_number":206,"context_line":"    def _log_heartbeat(self, state, agent_db, agent_conf):"},{"line_number":207,"context_line":"        if agent_conf.get(\u0027log_agent_heartbeats\u0027):"},{"line_number":208,"context_line":"            delta \u003d timeutils.utcnow() - agent_db.heartbeat_timestamp"},{"line_number":209,"context_line":"            LOG.debug(\"Heartbeat received from %(type)s agent on \""},{"line_number":210,"context_line":"                      \"host %(host)s, uuid %(uuid)s after %(delta)s\","},{"line_number":211,"context_line":"                      {\u0027type\u0027: agent_db.agent_type,"},{"line_number":212,"context_line":"                       \u0027host\u0027: agent_db.host,"}],"source_content_type":"text/x-python","patch_set":13,"id":"fa32b979_8d18971f","line":209,"in_reply_to":"fa32b979_6b3f6ab4","updated":"2015-06-25 00:55:33.000000000","message":"yeah, this makes sense","commit_id":"14519ee6dea5d9344ee7978a80daa67baf55374d"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"cbcdc567b3a4d83543f69b64f42ca34d13d215a5","unresolved":false,"context_lines":[{"line_number":28,"context_line":"from neutron.common import constants"},{"line_number":29,"context_line":"from neutron.db import model_base"},{"line_number":30,"context_line":"from neutron.db import models_v2"},{"line_number":31,"context_line":"from neutron.extensions import agent as ext_agent"},{"line_number":32,"context_line":"from neutron.i18n import _LE, _LW"},{"line_number":33,"context_line":"from neutron import manager"},{"line_number":34,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"fa32b979_4ea04242","line":31,"updated":"2015-06-25 06:11:05.000000000","message":"please add _LI","commit_id":"230ce7b297093a22ebef0117969bae9f13c277be"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"88d26da9c6de22ff32c06fdfbcbb748712b04daa","unresolved":false,"context_lines":[{"line_number":206,"context_line":"    def _log_heartbeat(self, state, agent_db, agent_conf):"},{"line_number":207,"context_line":"        if agent_conf.get(\u0027log_agent_heartbeats\u0027):"},{"line_number":208,"context_line":"            delta \u003d timeutils.utcnow() - agent_db.heartbeat_timestamp"},{"line_number":209,"context_line":"            LOG.info(_LI(\"Heartbeat received from %(type)s agent on \""},{"line_number":210,"context_line":"                         \"host %(host)s, uuid %(uuid)s after %(delta)s\"),"},{"line_number":211,"context_line":"                      {\u0027type\u0027: agent_db.agent_type,"},{"line_number":212,"context_line":"                       \u0027host\u0027: agent_db.host,"}],"source_content_type":"text/x-python","patch_set":14,"id":"fa32b979_d3195dd2","line":209,"updated":"2015-06-25 05:14:06.000000000","message":"unfortunately it seems like the first use of _LI in this module.","commit_id":"230ce7b297093a22ebef0117969bae9f13c277be"}],"neutron/plugins/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"cdc25e4abdb0f3c6d38bae65a81e108d7650e636","unresolved":false,"context_lines":[{"line_number":197,"context_line":"                               \u0027enable_distributed_routing\u0027:"},{"line_number":198,"context_line":"                               self.enable_distributed_routing,"},{"line_number":199,"context_line":"                               \u0027log_agent_heartbeats\u0027:"},{"line_number":200,"context_line":"                               cfg.CONF.AGENT.log_agent_heartbeats},"},{"line_number":201,"context_line":"            \u0027agent_type\u0027: q_const.AGENT_TYPE_OVS,"},{"line_number":202,"context_line":"            \u0027start_flag\u0027: True}"},{"line_number":203,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"fa32b979_e63eddb7","line":200,"updated":"2015-06-15 02:27:50.000000000","message":"please use self.conf","commit_id":"55077b356206489f19386f22768798c10c5072d8"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"2d7a0f93b018f711e0fe001608072dfd3644d181","unresolved":false,"context_lines":[{"line_number":197,"context_line":"                               \u0027enable_distributed_routing\u0027:"},{"line_number":198,"context_line":"                               self.enable_distributed_routing,"},{"line_number":199,"context_line":"                               \u0027log_agent_heartbeats\u0027:"},{"line_number":200,"context_line":"                               cfg.CONF.AGENT.log_agent_heartbeats},"},{"line_number":201,"context_line":"            \u0027agent_type\u0027: q_const.AGENT_TYPE_OVS,"},{"line_number":202,"context_line":"            \u0027start_flag\u0027: True}"},{"line_number":203,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"fa32b979_26460524","line":200,"in_reply_to":"fa32b979_e63eddb7","updated":"2015-06-15 02:38:25.000000000","message":"Done","commit_id":"55077b356206489f19386f22768798c10c5072d8"}],"neutron/tests/unit/db/test_agents_db.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"36639ded31329b79aa231e79e494c87357f72c55","unresolved":false,"context_lines":[{"line_number":136,"context_line":"            self.assertTrue(info.called)"},{"line_number":137,"context_line":"            status[\u0027configurations\u0027] \u003d {\u0027log_agent_heartbeats\u0027: False}"},{"line_number":138,"context_line":"            self.plugin.create_or_update_agent(self.context, status)"},{"line_number":139,"context_line":"            self.assertTrue(info.called)"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"    def test_create_or_update_agent_concurrent_insert(self):"},{"line_number":142,"context_line":"        # NOTE(rpodolyaka): emulate violation of the unique constraint caused"}],"source_content_type":"text/x-python","patch_set":17,"id":"fa32b979_a68d03d5","line":139,"updated":"2015-06-28 10:21:53.000000000","message":"You\u0027re always asserting True.  Shouldn\u0027t it be false in this case?\n\nProbably it\u0027s passing now because you don\u0027t reset the mock state or put another with block in the middle.","commit_id":"b4d6e035b0d546b50cc89e178c2b1ae295963360"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"38def01bdebd0d22445a611dcacc2a688fc7b8d1","unresolved":false,"context_lines":[{"line_number":136,"context_line":"            self.assertTrue(info.called)"},{"line_number":137,"context_line":"            status[\u0027configurations\u0027] \u003d {\u0027log_agent_heartbeats\u0027: False}"},{"line_number":138,"context_line":"            self.plugin.create_or_update_agent(self.context, status)"},{"line_number":139,"context_line":"            self.assertTrue(info.called)"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"    def test_create_or_update_agent_concurrent_insert(self):"},{"line_number":142,"context_line":"        # NOTE(rpodolyaka): emulate violation of the unique constraint caused"}],"source_content_type":"text/x-python","patch_set":17,"id":"fa32b979_112d08fd","line":139,"in_reply_to":"fa32b979_a68d03d5","updated":"2015-06-28 16:58:12.000000000","message":"Done","commit_id":"b4d6e035b0d546b50cc89e178c2b1ae295963360"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"71e812d24a1c5177afa0db571f66984d7c263896","unresolved":false,"context_lines":[{"line_number":135,"context_line":"            self.plugin.create_or_update_agent(self.context, status)"},{"line_number":136,"context_line":"            self.assertTrue(info.called)"},{"line_number":137,"context_line":"            status[\u0027configurations\u0027] \u003d {\u0027log_agent_heartbeats\u0027: False}"},{"line_number":138,"context_line":"            info.called \u003d False"},{"line_number":139,"context_line":"            self.plugin.create_or_update_agent(self.context, status)"},{"line_number":140,"context_line":"            self.assertFalse(info.called)"},{"line_number":141,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"fa32b979_3c702340","line":138,"updated":"2015-06-28 17:56:05.000000000","message":"I checked that this works, and it does. mock documentation says reset_mock(), I didn\u0027t know it was possible to do it this way too","commit_id":"0a7615d14003ccbc50e3149f6214e964a6126a4a"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"fcbbdc3bf0ab4d0e16f066cbe748139b99a29b11","unresolved":false,"context_lines":[{"line_number":135,"context_line":"            self.plugin.create_or_update_agent(self.context, status)"},{"line_number":136,"context_line":"            self.assertTrue(info.called)"},{"line_number":137,"context_line":"            status[\u0027configurations\u0027] \u003d {\u0027log_agent_heartbeats\u0027: False}"},{"line_number":138,"context_line":"            info.called \u003d False"},{"line_number":139,"context_line":"            self.plugin.create_or_update_agent(self.context, status)"},{"line_number":140,"context_line":"            self.assertFalse(info.called)"},{"line_number":141,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"ba3cc151_073755b1","line":138,"in_reply_to":"ba3cc151_6f5e3d47","updated":"2015-06-29 06:23:12.000000000","message":"Done","commit_id":"0a7615d14003ccbc50e3149f6214e964a6126a4a"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"1006f40acc5c6acb6d1f744845ebcee935322294","unresolved":false,"context_lines":[{"line_number":135,"context_line":"            self.plugin.create_or_update_agent(self.context, status)"},{"line_number":136,"context_line":"            self.assertTrue(info.called)"},{"line_number":137,"context_line":"            status[\u0027configurations\u0027] \u003d {\u0027log_agent_heartbeats\u0027: False}"},{"line_number":138,"context_line":"            info.called \u003d False"},{"line_number":139,"context_line":"            self.plugin.create_or_update_agent(self.context, status)"},{"line_number":140,"context_line":"            self.assertFalse(info.called)"},{"line_number":141,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"ba3cc151_6f5e3d47","line":138,"in_reply_to":"fa32b979_3c702340","updated":"2015-06-29 04:28:49.000000000","message":"please use reset_mock.  otherwise please add a comment to explain why reset_mock is not desiable.","commit_id":"0a7615d14003ccbc50e3149f6214e964a6126a4a"}]}
