)]}'
{"neutron/common/constants.py":[{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"cb8218f139e7834b44a6165882ae0face4d591ba","unresolved":false,"context_lines":[{"line_number":34,"context_line":"HA_PORT_NAME \u003d \u0027HA port tenant %s\u0027"},{"line_number":35,"context_line":"HA_ROUTER_STATE_ACTIVE \u003d \u0027active\u0027"},{"line_number":36,"context_line":"HA_ROUTER_STATE_STANDBY \u003d \u0027standby\u0027"},{"line_number":37,"context_line":"HA_ROUTER_STATE_UNKNOWN \u003d \u0027unknown\u0027"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"PAGINATION_INFINITE \u003d \u0027infinite\u0027"},{"line_number":40,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"1f013ff3_b34391af","line":37,"range":{"start_line":37,"start_character":27,"end_line":37,"end_character":35},"updated":"2017-05-17 08:19:40.000000000","message":"You need to create release note for such changes with detailed explanation.","commit_id":"d5663d52b237a029480a2bde1db778109e86f415"}],"neutron/db/l3_hamode_db.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"44b12bdb76e0816bdbe1f21f74d18ce820294cb3","unresolved":false,"context_lines":[{"line_number":674,"context_line":"    @db_api.retry_if_session_inactive()"},{"line_number":675,"context_line":"    def update_routers_states(self, context, states, host):"},{"line_number":676,"context_line":"        \"\"\"Receive dict of router ID to state and update them all.\"\"\""},{"line_number":677,"context_line":""},{"line_number":678,"context_line":"        bindings \u003d self.get_ha_router_port_bindings("},{"line_number":679,"context_line":"            context, router_ids\u003dstates.keys(), host\u003dhost)"},{"line_number":680,"context_line":"        self._set_router_states(context, bindings, states)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7ffa3b31_26efd31e","side":"PARENT","line":677,"updated":"2017-04-21 14:29:49.000000000","message":"whitespace change","commit_id":"a3c04210d8faeeb41a00c8c3cba223cf901e5e17"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"09098d23d155ba7173b5d49d28060d1b34927329","unresolved":false,"context_lines":[{"line_number":674,"context_line":"    @db_api.retry_if_session_inactive()"},{"line_number":675,"context_line":"    def update_routers_states(self, context, states, host):"},{"line_number":676,"context_line":"        \"\"\"Receive dict of router ID to state and update them all.\"\"\""},{"line_number":677,"context_line":""},{"line_number":678,"context_line":"        bindings \u003d self.get_ha_router_port_bindings("},{"line_number":679,"context_line":"            context, router_ids\u003dstates.keys(), host\u003dhost)"},{"line_number":680,"context_line":"        self._set_router_states(context, bindings, states)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7ffa3b31_9c1a7a14","side":"PARENT","line":677,"in_reply_to":"7ffa3b31_26efd31e","updated":"2017-04-21 15:51:08.000000000","message":"doh","commit_id":"a3c04210d8faeeb41a00c8c3cba223cf901e5e17"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"92a01a14e4f2f54957b8c19f653640ea0d6645b1","unresolved":false,"context_lines":[{"line_number":582,"context_line":"            # an agent (just maybe not its primary)."},{"line_number":583,"context_line":"            router_state \u003d (n_const.HA_ROUTER_STATE_STANDBY"},{"line_number":584,"context_line":"                            if len(dead_agents) \u003d\u003d len(bindings)"},{"line_number":585,"context_line":"                            else n_const.HA_ROUTER_STATE_ACTIVE)"},{"line_number":586,"context_line":""},{"line_number":587,"context_line":"            for dead_agent in dead_agents:"},{"line_number":588,"context_line":"                self.update_routers_states("}],"source_content_type":"text/x-python","patch_set":2,"id":"5ff73747_51b1368f","line":585,"range":{"start_line":585,"start_character":28,"end_line":585,"end_character":64},"updated":"2017-04-24 07:40:39.000000000","message":"I\u0027m not sure I understand what logic you follow here.\nYou are going to run update_routers_states even if it is not needed state of agent is ACTIVE already, then why you set STANDBY if only all agents are dead? This won\u0027t fix the case when you have one dead active and one alive active agents.","commit_id":"b25a27dd0e8461e54036c8c4210ddd63a29b18fc"},{"author":{"_account_id":12860,"name":"Dongcan Ye","email":"yedongcan@yeah.net","username":"yedongcan"},"change_message_id":"fb5382f3579be6ee22312cb3c6b491af84d43d50","unresolved":false,"context_lines":[{"line_number":574,"context_line":"            bindings \u003d self.get_ha_router_port_bindings(context, [router_id])"},{"line_number":575,"context_line":"            router_active_agent_dead \u003d []"},{"line_number":576,"context_line":"            router_standby_agent_dead \u003d []"},{"line_number":577,"context_line":"            # List agents where router is active and agent is dead"},{"line_number":578,"context_line":"            for binding in bindings:"},{"line_number":579,"context_line":"                if not (binding.agent.is_active"},{"line_number":580,"context_line":"                        and binding.agent.admin_state_up):"}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_f2e83717","line":577,"range":{"start_line":577,"start_character":12,"end_line":577,"end_character":66},"updated":"2017-05-18 01:32:34.000000000","message":"This comment may confusing, we both list agents where router ha state are active and standby here.","commit_id":"44704a34071614a100f5ae89444b3173c893c770"},{"author":{"_account_id":14581,"name":"ymadhavi@in.ibm.com","email":"ymadhavi@in.ibm.com","username":"ymadhavi"},"change_message_id":"1913b896a9572b89c70ae91574ac2e27f00cf97b","unresolved":false,"context_lines":[{"line_number":574,"context_line":"            bindings \u003d self.get_ha_router_port_bindings(context, [router_id])"},{"line_number":575,"context_line":"            router_active_agent_dead \u003d []"},{"line_number":576,"context_line":"            router_standby_agent_dead \u003d []"},{"line_number":577,"context_line":"            # List agents where router is active and agent is dead"},{"line_number":578,"context_line":"            for binding in bindings:"},{"line_number":579,"context_line":"                if not (binding.agent.is_active"},{"line_number":580,"context_line":"                        and binding.agent.admin_state_up):"}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_9de08afc","line":577,"range":{"start_line":577,"start_character":12,"end_line":577,"end_character":66},"in_reply_to":"ff0f0b1f_f2e83717","updated":"2017-05-22 10:02:45.000000000","message":"Done","commit_id":"44704a34071614a100f5ae89444b3173c893c770"},{"author":{"_account_id":12860,"name":"Dongcan Ye","email":"yedongcan@yeah.net","username":"yedongcan"},"change_message_id":"fb5382f3579be6ee22312cb3c6b491af84d43d50","unresolved":false,"context_lines":[{"line_number":588,"context_line":"                if (len(router_active_agent_dead) +"},{"line_number":589,"context_line":"                        len(router_standby_agent_dead) \u003d\u003d len(bindings)):"},{"line_number":590,"context_line":"                    # make router status as unknown because"},{"line_number":591,"context_line":"                    # rabbitmq may be down but router may still be active."},{"line_number":592,"context_line":"                    # We do not know the exact status of router"},{"line_number":593,"context_line":"                    for dead_agent in router_active_agent_dead:"},{"line_number":594,"context_line":"                        self.update_routers_states("}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_32bfcffc","line":591,"range":{"start_line":591,"start_character":22,"end_line":591,"end_character":30},"updated":"2017-05-18 01:32:34.000000000","message":"Why rabbitmq?","commit_id":"44704a34071614a100f5ae89444b3173c893c770"},{"author":{"_account_id":14581,"name":"ymadhavi@in.ibm.com","email":"ymadhavi@in.ibm.com","username":"ymadhavi"},"change_message_id":"1913b896a9572b89c70ae91574ac2e27f00cf97b","unresolved":false,"context_lines":[{"line_number":588,"context_line":"                if (len(router_active_agent_dead) +"},{"line_number":589,"context_line":"                        len(router_standby_agent_dead) \u003d\u003d len(bindings)):"},{"line_number":590,"context_line":"                    # make router status as unknown because"},{"line_number":591,"context_line":"                    # rabbitmq may be down but router may still be active."},{"line_number":592,"context_line":"                    # We do not know the exact status of router"},{"line_number":593,"context_line":"                    for dead_agent in router_active_agent_dead:"},{"line_number":594,"context_line":"                        self.update_routers_states("}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_5de2f202","line":591,"range":{"start_line":591,"start_character":22,"end_line":591,"end_character":30},"in_reply_to":"ff0f0b1f_32bfcffc","updated":"2017-05-22 10:02:45.000000000","message":"Done","commit_id":"44704a34071614a100f5ae89444b3173c893c770"},{"author":{"_account_id":12860,"name":"Dongcan Ye","email":"yedongcan@yeah.net","username":"yedongcan"},"change_message_id":"fb5382f3579be6ee22312cb3c6b491af84d43d50","unresolved":false,"context_lines":[{"line_number":596,"context_line":"                            {router_id: n_const.HA_ROUTER_STATE_UNKNOWN},"},{"line_number":597,"context_line":"                            dead_agent.host)"},{"line_number":598,"context_line":"                else:"},{"line_number":599,"context_line":"                    # make router status as Standby on all dead agents"},{"line_number":600,"context_line":"                    # as some other agents are alive , router can become"},{"line_number":601,"context_line":"                    # active on them after some time"},{"line_number":602,"context_line":"                    for dead_agent in router_active_agent_dead:"}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_12516bd9","line":599,"range":{"start_line":599,"start_character":44,"end_line":599,"end_character":51},"updated":"2017-05-18 01:32:34.000000000","message":"standby","commit_id":"44704a34071614a100f5ae89444b3173c893c770"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"5ff80909bdd14b3b041d9307dd64550070929821","unresolved":false,"context_lines":[{"line_number":604,"context_line":"                            context,"},{"line_number":605,"context_line":"                            {router_id: n_const.HA_ROUTER_STATE_STANDBY},"},{"line_number":606,"context_line":"                            dead_agent.host)"},{"line_number":607,"context_line":"        if router_active_agent_dead:"},{"line_number":608,"context_line":"            return self.get_ha_router_port_bindings(context, [router_id])"},{"line_number":609,"context_line":"        return bindings"},{"line_number":610,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_c29e4fb7","line":607,"range":{"start_line":607,"start_character":0,"end_line":607,"end_character":36},"updated":"2017-05-19 09:29:04.000000000","message":"we do not need this if here, we already have this check above, just move return under it","commit_id":"44704a34071614a100f5ae89444b3173c893c770"},{"author":{"_account_id":14581,"name":"ymadhavi@in.ibm.com","email":"ymadhavi@in.ibm.com","username":"ymadhavi"},"change_message_id":"1913b896a9572b89c70ae91574ac2e27f00cf97b","unresolved":false,"context_lines":[{"line_number":604,"context_line":"                            context,"},{"line_number":605,"context_line":"                            {router_id: n_const.HA_ROUTER_STATE_STANDBY},"},{"line_number":606,"context_line":"                            dead_agent.host)"},{"line_number":607,"context_line":"        if router_active_agent_dead:"},{"line_number":608,"context_line":"            return self.get_ha_router_port_bindings(context, [router_id])"},{"line_number":609,"context_line":"        return bindings"},{"line_number":610,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_7dd01620","line":607,"range":{"start_line":607,"start_character":0,"end_line":607,"end_character":36},"in_reply_to":"ff0f0b1f_c29e4fb7","updated":"2017-05-22 10:02:45.000000000","message":"In case we have such bindings, we are updating their state in db to either \u0027unknown\u0027 or \u0027standby\u0027. So retrieving form db again with fresh state","commit_id":"44704a34071614a100f5ae89444b3173c893c770"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"67687f6cc6ba69568615ea7c6bc62de21c22b068","unresolved":false,"context_lines":[{"line_number":573,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":574,"context_line":"            bindings \u003d self.get_ha_router_port_bindings(context, [router_id])"},{"line_number":575,"context_line":"            router_active_agent_dead \u003d []"},{"line_number":576,"context_line":"            router_standby_agent_dead \u003d []"},{"line_number":577,"context_line":"            # List agents where router is active and agent is dead"},{"line_number":578,"context_line":"            # and agents where router is standby and agent is dead"},{"line_number":579,"context_line":"            for binding in bindings:"}],"source_content_type":"text/x-python","patch_set":10,"id":"3f1d235d_9fbaffbd","line":576,"updated":"2017-07-10 21:04:07.000000000","message":"nit: s/agent/agents since it\u0027s plural","commit_id":"ec35d5f3de928c5f0a57b6f43cea5dc89e7f9fd0"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"67687f6cc6ba69568615ea7c6bc62de21c22b068","unresolved":false,"context_lines":[{"line_number":587,"context_line":"                # Just check if all l3_agents are down"},{"line_number":588,"context_line":"                # then assuming some communication issue"},{"line_number":589,"context_line":"                if (len(router_active_agent_dead) +"},{"line_number":590,"context_line":"                        len(router_standby_agent_dead) \u003d\u003d len(bindings)):"},{"line_number":591,"context_line":"                    # Make router status as unknown because"},{"line_number":592,"context_line":"                    # agent communication may be issue but router"},{"line_number":593,"context_line":"                    # may still be active. We do not know the"}],"source_content_type":"text/x-python","patch_set":10,"id":"3f1d235d_5f8587ce","line":590,"updated":"2017-07-10 21:04:07.000000000","message":"So just a thought to reduce the number of for() loops to one.  Pseudo-code of course:\n\nif len(active) + len(standby) \u003d\u003d len(bindings):\n    # comment\n    state \u003d UNKNOWN\nelse:\n    # comment\n    state \u003d STANDBY\n\nfor dead_agent in router_active_agents_dead:\n    ...\n    {router_id: state}\n    ...\n\nCould even remove L586 then too.","commit_id":"ec35d5f3de928c5f0a57b6f43cea5dc89e7f9fd0"}],"neutron/db/migration/alembic_migrations/versions/pike/contract/61663558142c_add_ha_router_state.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"f50d6fa79a85d19467b816c88adf6d2397175561","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    if migration.schema_has_column(ha_port_bindings_table_name, \u0027state\u0027):"},{"line_number":47,"context_line":"        op.drop_column(ha_port_bindings_table_name, \u0027state\u0027)"},{"line_number":48,"context_line":"    op.add_column(ha_port_bindings_table_name,"},{"line_number":49,"context_line":"                  sa.Column(\"state\", state_enum,"},{"line_number":50,"context_line":"                            server_default\u003dconstants.HA_ROUTER_STATE_STANDBY,"},{"line_number":51,"context_line":"                            nullable\u003dFalse))"}],"source_content_type":"text/x-python","patch_set":9,"id":"ff0f0b1f_4b93b75d","line":48,"updated":"2017-05-26 01:23:52.000000000","message":"Now that we have rolling upgrades, this contract script will not be run now on upgrade until after all of the old servers are removed. Can the new server run without this migration having run? If so, what is this migration accomplishing?","commit_id":"c63ccf5120cfa7330651636f97c1d5f5e54e7543"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"04df4d05e38536cf2ef831ee5479cce0d5c87cee","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    if migration.schema_has_column(ha_port_bindings_table_name, \u0027state\u0027):"},{"line_number":47,"context_line":"        op.drop_column(ha_port_bindings_table_name, \u0027state\u0027)"},{"line_number":48,"context_line":"    op.add_column(ha_port_bindings_table_name,"},{"line_number":49,"context_line":"                  sa.Column(\"state\", state_enum,"},{"line_number":50,"context_line":"                            server_default\u003dconstants.HA_ROUTER_STATE_STANDBY,"},{"line_number":51,"context_line":"                            nullable\u003dFalse))"}],"source_content_type":"text/x-python","patch_set":9,"id":"df140735_b07cfb72","line":48,"in_reply_to":"df140735_3b545154","updated":"2017-06-07 08:29:58.000000000","message":"I pushed https://review.openstack.org/#/c/471633/","commit_id":"c63ccf5120cfa7330651636f97c1d5f5e54e7543"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"03654d1d70358fe71e3a812aec777de8af5bce44","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    if migration.schema_has_column(ha_port_bindings_table_name, \u0027state\u0027):"},{"line_number":47,"context_line":"        op.drop_column(ha_port_bindings_table_name, \u0027state\u0027)"},{"line_number":48,"context_line":"    op.add_column(ha_port_bindings_table_name,"},{"line_number":49,"context_line":"                  sa.Column(\"state\", state_enum,"},{"line_number":50,"context_line":"                            server_default\u003dconstants.HA_ROUTER_STATE_STANDBY,"},{"line_number":51,"context_line":"                            nullable\u003dFalse))"}],"source_content_type":"text/x-python","patch_set":9,"id":"df140735_3b545154","line":48,"in_reply_to":"ff0f0b1f_4b93b75d","updated":"2017-06-07 07:06:04.000000000","message":"I forgot that we have nice alter_enum function https://github.com/openstack/neutron/blob/master/neutron/db/migration/__init__.py#L110 - we can use it here, so this migration can be expand. The only thing this method is a little bit outdated as potsgres have alter type have add value option https://www.postgresql.org/docs/9.1/static/sql-altertype.html \n\nSo, this migration should look like:\n\n    if op.get_context().bind.dialect.name \u003d\u003d \u0027postgresql\u0027:\n       op.execute(\"ALTER TYPE  \u0027l3_ha_states\u0027 ADD VALUE \u0027unknown\u0027)\n    else:\n        op.alter_column(table, column, type_\u003denum_type,\n                        existing_nullable\u003dnullable)","commit_id":"c63ccf5120cfa7330651636f97c1d5f5e54e7543"}],"neutron/db/migration/alembic_migrations/versions/pike/expand/61663558142c_add_ha_router_state.py":[{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"aea3ef1e770b8efc33dea0d2388a7f5ac25223ae","unresolved":false,"context_lines":[{"line_number":28,"context_line":"down_revision \u003d \u002761663558142c\u0027"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"def upgrade(migrate_engine):"},{"line_number":32,"context_line":"    \"\"\"Function updated ha router state enum field.\"\"\""},{"line_number":33,"context_line":"    meta \u003d MetaData(bind\u003dmigrate_engine)"},{"line_number":34,"context_line":"    ha_port_bindings \u003d Table("}],"source_content_type":"text/x-python","patch_set":6,"id":"ff0f0b1f_d892904b","line":31,"updated":"2017-05-22 10:37:48.000000000","message":"Please, use alembic functions in migration.","commit_id":"3fafd08fa2d11ac9a22bb9d9020505a2e1905925"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"83534c1ed6cc47fa95313a6e657c9fa03763bbd8","unresolved":false,"context_lines":[{"line_number":44,"context_line":"        state_enum.create(op.get_bind(), checkfirst\u003dTrue)"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    if migration.schema_has_column(ha_port_bindings_table_name, \u0027state\u0027):"},{"line_number":47,"context_line":"        op.drop_column(ha_port_bindings_table_name, \u0027state\u0027)"},{"line_number":48,"context_line":"    op.add_column(ha_port_bindings_table_name,"},{"line_number":49,"context_line":"                  sa.Column(\"state\", state_enum,"},{"line_number":50,"context_line":"                            server_default\u003dconstants.HA_ROUTER_STATE_STANDBY,"}],"source_content_type":"text/x-python","patch_set":8,"id":"ff0f0b1f_6f424ead","line":47,"range":{"start_line":47,"start_character":8,"end_line":47,"end_character":60},"updated":"2017-05-24 07:07:10.000000000","message":"this is not safe for expand, please move this migration for contract branch.","commit_id":"40e0c85732444586fb727f237200385a5bee6f20"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"85640ef8e9bd3680164007a46453f32b019d419f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2017 OpenStack Foundation"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":11,"id":"3fa0c359_403960ef","line":1,"updated":"2018-02-14 05:07:16.000000000","message":"The path of this file would need to change to the \"rocky\" expand directory.","commit_id":"daf55aa09fc68daa35d360575613b2754158e3e9"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"7bb39c884ea96fd6dcacc90efe464b3476c8309a","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2017 OpenStack Foundation"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":11,"id":"3fa0c359_8579a894","line":1,"in_reply_to":"3fa0c359_403960ef","updated":"2018-02-14 16:47:04.000000000","message":"and fix copyright year","commit_id":"daf55aa09fc68daa35d360575613b2754158e3e9"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"495eb94f1a1db36e85b8d679080a04b0af714b30","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2017 OpenStack Foundation"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":11,"id":"3fa0c359_c34f6868","line":1,"in_reply_to":"3fa0c359_8579a894","updated":"2018-02-16 22:44:04.000000000","message":"Technically since this was created in 2017 I don\u0027t think the year should change.","commit_id":"daf55aa09fc68daa35d360575613b2754158e3e9"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"85640ef8e9bd3680164007a46453f32b019d419f","unresolved":false,"context_lines":[{"line_number":15,"context_line":"\"\"\"Add unknown state to HA router"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Revision ID: 61663558142c"},{"line_number":18,"context_line":"Revises: 61663558142c"},{"line_number":19,"context_line":"Create Date: 2017-05-18 14:31:45.725516"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"\"\"\""}],"source_content_type":"text/x-python","patch_set":11,"id":"3fa0c359_c057b025","line":18,"updated":"2018-02-14 05:07:16.000000000","message":"This should match the string below","commit_id":"daf55aa09fc68daa35d360575613b2754158e3e9"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"85640ef8e9bd3680164007a46453f32b019d419f","unresolved":false,"context_lines":[{"line_number":21,"context_line":"\"\"\""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"revision \u003d \u002761663558142c\u0027"},{"line_number":24,"context_line":"down_revision \u003d \u002761663558142c\u0027"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"import sqlalchemy as sa"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"3fa0c359_8033e813","line":24,"updated":"2018-02-14 05:07:16.000000000","message":"This looks wrong, should be the current latest revision.","commit_id":"daf55aa09fc68daa35d360575613b2754158e3e9"}],"neutron/db/migration/alembic_migrations/versions/rocky/expand/61663558142c_add_ha_router_state.py":[{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"497aadac6fc98b657631cb58ee49d9e2a32c4c81","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"3fa0c359_98b3f14d","line":17,"updated":"2018-02-19 13:35:35.000000000","message":"I\u0027m not expert on this stuff, but I think this needs to be a new id","commit_id":"daf55aa09fc68daa35d360575613b2754158e3e9"},{"author":{"_account_id":12947,"name":"Sridhar Venkat","email":"svenkat@us.ibm.com","username":"svenkat"},"change_message_id":"47f2a3ea7e7149aff778304ad0851012f15e415b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"3fa0c359_18ea81ab","line":17,"in_reply_to":"3fa0c359_98b3f14d","updated":"2018-02-19 13:51:15.000000000","message":"Matthew, I think what was done by Brian is correct. The head moved to 594422d373ee in queens and now moved to 61663558142c with this patchset.","commit_id":"daf55aa09fc68daa35d360575613b2754158e3e9"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"497aadac6fc98b657631cb58ee49d9e2a32c4c81","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"3fa0c359_38841d5e","line":23,"updated":"2018-02-19 13:35:35.000000000","message":"ditto","commit_id":"daf55aa09fc68daa35d360575613b2754158e3e9"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"60769d9215045bf347a9d9942969d273ba5fb79a","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"def upgrade():"},{"line_number":42,"context_line":"    migration.alter_enum(ha_port_bindings_table_name, \u0027state\u0027, new_enum, True)"}],"source_content_type":"text/x-python","patch_set":13,"id":"df7087c5_c23473e1","line":42,"range":{"start_line":42,"start_character":14,"end_line":42,"end_character":24},"updated":"2018-03-07 08:10:40.000000000","message":"Tests fails as alter_enum do not pass existing server_default parameter. I created https://review.openstack.org/#/c/550382/ please rebase on the top and try it.","commit_id":"11515e1f420ecb53a4b0a31c7ae8065d5288bd9b"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"0e841af67059cb2e641d1d40bd813f0d87ebb276","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"def upgrade():"},{"line_number":42,"context_line":"    migration.alter_enum(ha_port_bindings_table_name, \u0027state\u0027, new_enum, True)"}],"source_content_type":"text/x-python","patch_set":14,"id":"df7087c5_44dcdd73","line":42,"range":{"start_line":42,"start_character":14,"end_line":42,"end_character":24},"updated":"2018-03-07 21:41:03.000000000","message":"Perhaps this needs to be alter_enum_add_value() ?\n\nAssertionError: Models and migration scripts aren\u0027t in sync:\n[ [ ( \u0027modify_default\u0027,\n      None,\n      \u0027ha_router_agent_port_bindings\u0027,\n      \u0027state\u0027,\n      { \u0027existing_nullable\u0027: True,\n        \u0027existing_type\u0027: ENUM(u\u0027active\u0027, u\u0027standby\u0027, u\u0027unknown\u0027)},\n      None,\n      DefaultClause(\u0027standby\u0027, for_update\u003dFalse))]]","commit_id":"9ba7700f0bcb6515662415c6be72c529501a5982"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"8e78f679c235de11b942a134967c31703971f8ad","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"def upgrade():"},{"line_number":42,"context_line":"    migration.alter_enum_add_value(ha_port_bindings_table_name, \u0027state\u0027,"},{"line_number":43,"context_line":"                                   new_enum, True)"}],"source_content_type":"text/x-python","patch_set":15,"id":"df7087c5_09d0f04f","line":43,"updated":"2018-03-12 08:05:06.000000000","message":"You need to pass server_default\u003d\u0027standby\u0027, just rebase is not enough.","commit_id":"6611e5972a44eb7feebcf48a19c1e362a83ad9f3"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"37ccf19555f3e27419bd7f38936323c026fc55d1","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"def upgrade():"},{"line_number":42,"context_line":"    migration.alter_enum_add_value(ha_port_bindings_table_name, \u0027state\u0027,"},{"line_number":43,"context_line":"                                   new_enum, True)"}],"source_content_type":"text/x-python","patch_set":15,"id":"df7087c5_943c10c9","line":43,"in_reply_to":"df7087c5_09d0f04f","updated":"2018-03-12 14:43:08.000000000","message":"Ok, understood.  I actually changed this to use alter_enum_add_value() and it looks like that doesn\u0027t pass server_default either, so I added that comment in your review.","commit_id":"6611e5972a44eb7feebcf48a19c1e362a83ad9f3"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"ad6078648bf473dbadc9d0bb64eaa95858c72603","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"def upgrade():"},{"line_number":42,"context_line":"    migration.alter_enum_add_value(ha_port_bindings_table_name, \u0027state\u0027,"},{"line_number":43,"context_line":"                                   new_enum, True)"}],"source_content_type":"text/x-python","patch_set":15,"id":"df7087c5_94cc106b","line":43,"in_reply_to":"df7087c5_943c10c9","updated":"2018-03-12 14:58:33.000000000","message":"Thanks, for pointing this! I will fix in next change. Actually you are right alter_enum_add_value should be used, alter_enum is for earlier Postgres versions.","commit_id":"6611e5972a44eb7feebcf48a19c1e362a83ad9f3"}],"neutron/db/models/l3ha.py":[{"author":{"_account_id":12860,"name":"Dongcan Ye","email":"yedongcan@yeah.net","username":"yedongcan"},"change_message_id":"fb5382f3579be6ee22312cb3c6b491af84d43d50","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    state \u003d sa.Column(sa.Enum(n_const.HA_ROUTER_STATE_ACTIVE,"},{"line_number":55,"context_line":"                              n_const.HA_ROUTER_STATE_STANDBY,"},{"line_number":56,"context_line":"                              n_const.HA_ROUTER_STATE_UNKNOWN,"},{"line_number":57,"context_line":"                              name\u003d\u0027l3_ha_states\u0027),"},{"line_number":58,"context_line":"                      default\u003dn_const.HA_ROUTER_STATE_STANDBY,"},{"line_number":59,"context_line":"                      server_default\u003dn_const.HA_ROUTER_STATE_STANDBY)"}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_12328bf2","line":56,"range":{"start_line":56,"start_character":30,"end_line":56,"end_character":62},"updated":"2017-05-18 01:32:34.000000000","message":"This will change the db model, shall we add a db migration for this?","commit_id":"44704a34071614a100f5ae89444b3173c893c770"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"5ff80909bdd14b3b041d9307dd64550070929821","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    state \u003d sa.Column(sa.Enum(n_const.HA_ROUTER_STATE_ACTIVE,"},{"line_number":55,"context_line":"                              n_const.HA_ROUTER_STATE_STANDBY,"},{"line_number":56,"context_line":"                              n_const.HA_ROUTER_STATE_UNKNOWN,"},{"line_number":57,"context_line":"                              name\u003d\u0027l3_ha_states\u0027),"},{"line_number":58,"context_line":"                      default\u003dn_const.HA_ROUTER_STATE_STANDBY,"},{"line_number":59,"context_line":"                      server_default\u003dn_const.HA_ROUTER_STATE_STANDBY)"}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_825a9727","line":56,"range":{"start_line":56,"start_character":30,"end_line":56,"end_character":62},"in_reply_to":"ff0f0b1f_12328bf2","updated":"2017-05-19 09:29:04.000000000","message":"+1 - Changing model requires migration","commit_id":"44704a34071614a100f5ae89444b3173c893c770"},{"author":{"_account_id":14581,"name":"ymadhavi@in.ibm.com","email":"ymadhavi@in.ibm.com","username":"ymadhavi"},"change_message_id":"1913b896a9572b89c70ae91574ac2e27f00cf97b","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    state \u003d sa.Column(sa.Enum(n_const.HA_ROUTER_STATE_ACTIVE,"},{"line_number":55,"context_line":"                              n_const.HA_ROUTER_STATE_STANDBY,"},{"line_number":56,"context_line":"                              n_const.HA_ROUTER_STATE_UNKNOWN,"},{"line_number":57,"context_line":"                              name\u003d\u0027l3_ha_states\u0027),"},{"line_number":58,"context_line":"                      default\u003dn_const.HA_ROUTER_STATE_STANDBY,"},{"line_number":59,"context_line":"                      server_default\u003dn_const.HA_ROUTER_STATE_STANDBY)"}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_9dae4a96","line":56,"range":{"start_line":56,"start_character":30,"end_line":56,"end_character":62},"in_reply_to":"ff0f0b1f_825a9727","updated":"2017-05-22 10:02:45.000000000","message":"migration script included.","commit_id":"44704a34071614a100f5ae89444b3173c893c770"}],"neutron/tests/unit/db/test_l3_hamode_db.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"44b12bdb76e0816bdbe1f21f74d18ce820294cb3","unresolved":false,"context_lines":[{"line_number":234,"context_line":"        with mock.patch.object(agent_utils, \u0027is_agent_down\u0027,"},{"line_number":235,"context_line":"                               return_value\u003dTrue):"},{"line_number":236,"context_line":"            self._assert_ha_state_for_agent("},{"line_number":237,"context_line":"                router, self.agent1, state\u003dn_const.HA_ROUTER_STATE_STANDBY)"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    def test_ha_router_create(self):"},{"line_number":240,"context_line":"        router \u003d self._create_router()"}],"source_content_type":"text/x-python","patch_set":1,"id":"7ffa3b31_c6e94fe6","line":237,"updated":"2017-04-21 14:29:49.000000000","message":"The default value for state in _assert_ha_state_for_agent() is standby, so you don\u0027t need this.  But I think it would be better to just remove the default value and have all the callers specify it since there\u0027s only one that doesn\u0027t on L198.","commit_id":"52878750ae54f85dddd5239825e72ffcd017302f"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"09098d23d155ba7173b5d49d28060d1b34927329","unresolved":false,"context_lines":[{"line_number":234,"context_line":"        with mock.patch.object(agent_utils, \u0027is_agent_down\u0027,"},{"line_number":235,"context_line":"                               return_value\u003dTrue):"},{"line_number":236,"context_line":"            self._assert_ha_state_for_agent("},{"line_number":237,"context_line":"                router, self.agent1, state\u003dn_const.HA_ROUTER_STATE_STANDBY)"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    def test_ha_router_create(self):"},{"line_number":240,"context_line":"        router \u003d self._create_router()"}],"source_content_type":"text/x-python","patch_set":1,"id":"7ffa3b31_bce4160e","line":237,"in_reply_to":"7ffa3b31_c6e94fe6","updated":"2017-04-21 15:51:08.000000000","message":"Done","commit_id":"52878750ae54f85dddd5239825e72ffcd017302f"},{"author":{"_account_id":12860,"name":"Dongcan Ye","email":"yedongcan@yeah.net","username":"yedongcan"},"change_message_id":"fb5382f3579be6ee22312cb3c6b491af84d43d50","unresolved":false,"context_lines":[{"line_number":197,"context_line":"                               return_value\u003dTrue):"},{"line_number":198,"context_line":"            self._assert_ha_state_for_agent(router, self.agent1)"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"    def test_get_l3_bindings_hosting_router_agents_admin_state_up_is_false("},{"line_number":201,"context_line":"            self):"},{"line_number":202,"context_line":"        router \u003d self._create_router()"},{"line_number":203,"context_line":"        self.plugin.update_routers_states("}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_f27837f9","side":"PARENT","line":200,"range":{"start_line":200,"start_character":8,"end_line":200,"end_character":74},"updated":"2017-05-18 01:32:34.000000000","message":"Why remove admin state down test here?","commit_id":"879665d3041e74df4b287b4c18b88288850cf11c"},{"author":{"_account_id":14581,"name":"ymadhavi@in.ibm.com","email":"ymadhavi@in.ibm.com","username":"ymadhavi"},"change_message_id":"1913b896a9572b89c70ae91574ac2e27f00cf97b","unresolved":false,"context_lines":[{"line_number":197,"context_line":"                               return_value\u003dTrue):"},{"line_number":198,"context_line":"            self._assert_ha_state_for_agent(router, self.agent1)"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"    def test_get_l3_bindings_hosting_router_agents_admin_state_up_is_false("},{"line_number":201,"context_line":"            self):"},{"line_number":202,"context_line":"        router \u003d self._create_router()"},{"line_number":203,"context_line":"        self.plugin.update_routers_states("}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_5d79d22c","side":"PARENT","line":200,"range":{"start_line":200,"start_character":8,"end_line":200,"end_character":74},"in_reply_to":"ff0f0b1f_f27837f9","updated":"2017-05-22 10:02:45.000000000","message":"Included more unit test","commit_id":"879665d3041e74df4b287b4c18b88288850cf11c"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"23341c7bdc0cb3f85b1fd0614a9d9edd3b9e9e37","unresolved":false,"context_lines":[{"line_number":227,"context_line":"                                        n_const.HA_ROUTER_STATE_ACTIVE)"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    def test_get_l3_bindings_hosting_router_with_ha_states_one_dead(self):"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"        router \u003d self._create_router()"},{"line_number":232,"context_line":"        self.plugin.update_routers_states("},{"line_number":233,"context_line":"            self.admin_ctx, {router[\u0027id\u0027]: n_const.HA_ROUTER_STATE_ACTIVE},"}],"source_content_type":"text/x-python","patch_set":15,"id":"df7087c5_8a3bd3cf","line":230,"updated":"2018-03-08 09:58:01.000000000","message":"unrelated change","commit_id":"6611e5972a44eb7feebcf48a19c1e362a83ad9f3"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"37ccf19555f3e27419bd7f38936323c026fc55d1","unresolved":false,"context_lines":[{"line_number":227,"context_line":"                                        n_const.HA_ROUTER_STATE_ACTIVE)"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    def test_get_l3_bindings_hosting_router_with_ha_states_one_dead(self):"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"        router \u003d self._create_router()"},{"line_number":232,"context_line":"        self.plugin.update_routers_states("},{"line_number":233,"context_line":"            self.admin_ctx, {router[\u0027id\u0027]: n_const.HA_ROUTER_STATE_ACTIVE},"}],"source_content_type":"text/x-python","patch_set":15,"id":"df7087c5_9104224c","line":230,"in_reply_to":"df7087c5_8a3bd3cf","updated":"2018-03-12 14:43:08.000000000","message":"Done","commit_id":"6611e5972a44eb7feebcf48a19c1e362a83ad9f3"}],"releasenotes/notes/add-new-harouter-state-5612fc5b5c2043a5.yaml":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"67687f6cc6ba69568615ea7c6bc62de21c22b068","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Added new state for HA routers as ``unknown``,"},{"line_number":4,"context_line":"    because sometimes due to communication issues"},{"line_number":5,"context_line":"    l3 agents may not be able to update health "},{"line_number":6,"context_line":"    status to Neutron server, during that time"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f1d235d_ffe333a3","line":3,"updated":"2017-07-10 21:04:07.000000000","message":"s/Added new ``unknown`` state for HA routers...","commit_id":"ec35d5f3de928c5f0a57b6f43cea5dc89e7f9fd0"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"67687f6cc6ba69568615ea7c6bc62de21c22b068","unresolved":false,"context_lines":[{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Added new state for HA routers as ``unknown``,"},{"line_number":4,"context_line":"    because sometimes due to communication issues"},{"line_number":5,"context_line":"    l3 agents may not be able to update health "},{"line_number":6,"context_line":"    status to Neutron server, during that time"},{"line_number":7,"context_line":"    server may not know whether HA routers hosted"},{"line_number":8,"context_line":"    by that agent are active or standby."}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f1d235d_3f552b51","line":5,"updated":"2017-07-10 21:04:07.000000000","message":"trailing space","commit_id":"ec35d5f3de928c5f0a57b6f43cea5dc89e7f9fd0"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"67687f6cc6ba69568615ea7c6bc62de21c22b068","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - Added new state for HA routers as ``unknown``,"},{"line_number":4,"context_line":"    because sometimes due to communication issues"},{"line_number":5,"context_line":"    l3 agents may not be able to update health "},{"line_number":6,"context_line":"    status to Neutron server, during that time"},{"line_number":7,"context_line":"    server may not know whether HA routers hosted"},{"line_number":8,"context_line":"    by that agent are active or standby."},{"line_number":9,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f1d235d_bfeffb85","line":6,"range":{"start_line":6,"start_character":28,"end_line":6,"end_character":36},"updated":"2017-07-10 21:04:07.000000000","message":".  During that time...","commit_id":"ec35d5f3de928c5f0a57b6f43cea5dc89e7f9fd0"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"85640ef8e9bd3680164007a46453f32b019d419f","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    able to update health status to Neutron server due to communication issues."},{"line_number":5,"context_line":"    During that time the server may not know whether HA routers hosted by that"},{"line_number":6,"context_line":"    agent are active or standby."},{"line_number":7,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":11,"id":"3fa0c359_4012c063","line":7,"updated":"2018-02-14 05:07:16.000000000","message":"Should put a \"fixes:\" section here with something like:\n\nFixes bug `1682145 \u003chttps://launchpad.net/bugs/1682145\u003e`_.","commit_id":"daf55aa09fc68daa35d360575613b2754158e3e9"}],"tox.ini":[{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"cb8218f139e7834b44a6165882ae0face4d591ba","unresolved":false,"context_lines":[{"line_number":123,"context_line":"# N534 Untranslated exception message"},{"line_number":124,"context_line":"# N536 Use assertIsNone rather than assertEqual to check for None values"},{"line_number":125,"context_line":"# TODO(ihrachys) figure out what to do with N534 and N536"},{"line_number":126,"context_line":"ignore \u003d E125,E126,E128,E129,E265,H404,H405,N530,N534,N536,N537"},{"line_number":127,"context_line":"# H904: Delay string interpolations at logging calls"},{"line_number":128,"context_line":"enable-extensions\u003dH904"},{"line_number":129,"context_line":"show-source \u003d true"}],"source_content_type":"text/x-properties","patch_set":4,"id":"1f013ff3_b3d5d1e7","line":126,"range":{"start_line":126,"start_character":57,"end_line":126,"end_character":63},"updated":"2017-05-17 08:19:40.000000000","message":"Why?","commit_id":"d5663d52b237a029480a2bde1db778109e86f415"},{"author":{"_account_id":14581,"name":"ymadhavi@in.ibm.com","email":"ymadhavi@in.ibm.com","username":"ymadhavi"},"change_message_id":"bf7f78e6d76ee8ef5e422946886228a9e728b365","unresolved":false,"context_lines":[{"line_number":123,"context_line":"# N534 Untranslated exception message"},{"line_number":124,"context_line":"# N536 Use assertIsNone rather than assertEqual to check for None values"},{"line_number":125,"context_line":"# TODO(ihrachys) figure out what to do with N534 and N536"},{"line_number":126,"context_line":"ignore \u003d E125,E126,E128,E129,E265,H404,H405,N530,N534,N536,N537"},{"line_number":127,"context_line":"# H904: Delay string interpolations at logging calls"},{"line_number":128,"context_line":"enable-extensions\u003dH904"},{"line_number":129,"context_line":"show-source \u003d true"}],"source_content_type":"text/x-properties","patch_set":4,"id":"ff0f0b1f_dae20502","line":126,"range":{"start_line":126,"start_character":57,"end_line":126,"end_character":63},"in_reply_to":"1f013ff3_b3d5d1e7","updated":"2017-11-08 08:33:33.000000000","message":"Fixed","commit_id":"d5663d52b237a029480a2bde1db778109e86f415"}]}
