)]}'
{"neutron/db/migration/alembic_migrations/versions/mitaka/contract/ae6fb355e6e0_device_owner_ha_replicate_int.py":[{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"f44f57e0ef65d7009aa3386b05bcef71e42393b2","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"1af94dfe_2f71ac44","updated":"2016-03-18 14:31:42.000000000","message":"This must now go in the newton versions directory.","commit_id":"b688a5227dee7da956b69c4d6359539d5728175e"}],"neutron/db/migration/alembic_migrations/versions/mitaka/expand/426529fee442_device_owner_ha_replicate_int.py":[{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"ee69d3d5fd6ac09fe0f365a628178d53736a4ec8","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"def upgrade():"},{"line_number":41,"context_line":"    update_device_owner_ha_replicated_interface()"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"def update_device_owner_ha_replicated_interface():"}],"source_content_type":"text/x-python","patch_set":7,"id":"1af94dfe_18b954ea","line":41,"range":{"start_line":41,"start_character":4,"end_line":41,"end_character":47},"updated":"2016-03-15 14:46:24.000000000","message":"This should be contract migration, not expand http://docs.openstack.org/developer/neutron/devref/alembic_migrations.html#offline-online-migrations","commit_id":"5218167fb365d59013a457fef713f496413c0e5e"}],"neutron/db/migration/alembic_migrations/versions/newton/contract/7bbb25278f53_device_owner_ha_replicate_int.py":[{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"bf001a7e4a085f7a055dcb8561a78a830221f1f0","unresolved":false,"context_lines":[{"line_number":40,"context_line":"    update_device_owner_ha_replicated_interface()"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"def update_device_owner_ha_replicated_interface():"},{"line_number":44,"context_line":"    router_attr_table \u003d sa.Table(ROUTER_ATTR_TABLE,"},{"line_number":45,"context_line":"                                 sa.MetaData(),"},{"line_number":46,"context_line":"                                 sa.Column(\u0027router_id\u0027, sa.String(36)),"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa0719c6_cc395dd9","line":43,"updated":"2016-03-23 12:17:03.000000000","message":"We probably want a test for this migration. Here\u0027s an example:\nhttps://review.openstack.org/#/c/238122/15/neutron/tests/functional/db/test_migrations.py","commit_id":"ceebc9f465ea038c2eaac26cfa0a18d3f5cdf7c6"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"9edb1006358cc3b429ef4ebe4379d4bd3d986a2e","unresolved":false,"context_lines":[{"line_number":40,"context_line":"    update_device_owner_ha_replicated_interface()"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"def update_device_owner_ha_replicated_interface():"},{"line_number":44,"context_line":"    router_attr_table \u003d sa.Table(ROUTER_ATTR_TABLE,"},{"line_number":45,"context_line":"                                 sa.MetaData(),"},{"line_number":46,"context_line":"                                 sa.Column(\u0027router_id\u0027, sa.String(36)),"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa0719c6_c75db648","line":43,"in_reply_to":"fa0719c6_4c51cd35","updated":"2016-03-23 12:39:55.000000000","message":"OK, no point in holding up this patch then.","commit_id":"ceebc9f465ea038c2eaac26cfa0a18d3f5cdf7c6"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"65d8cbaeb295ad576bf013e640ff36b34112efd9","unresolved":false,"context_lines":[{"line_number":40,"context_line":"    update_device_owner_ha_replicated_interface()"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"def update_device_owner_ha_replicated_interface():"},{"line_number":44,"context_line":"    router_attr_table \u003d sa.Table(ROUTER_ATTR_TABLE,"},{"line_number":45,"context_line":"                                 sa.MetaData(),"},{"line_number":46,"context_line":"                                 sa.Column(\u0027router_id\u0027, sa.String(36)),"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa0719c6_4c51cd35","line":43,"in_reply_to":"fa0719c6_cc395dd9","updated":"2016-03-23 12:25:44.000000000","message":"Actually this is test for sanity check, when we check data before upgrade. And for such migration at this moments we don\u0027t have any examples of tests. I think this is something that will be done in scope of https://review.openstack.org/#/c/124946/","commit_id":"ceebc9f465ea038c2eaac26cfa0a18d3f5cdf7c6"}],"neutron/tests/functional/services/l3_router/test_l3_dvr_ha_router_plugin.py":[{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"ea10ad20df0b99ff05dc8788621b5b0ba7a235c7","unresolved":false,"context_lines":[{"line_number":33,"context_line":"            host\u003d\"standby\","},{"line_number":34,"context_line":"            agent_mode\u003dconstants.L3_AGENT_MODE_DVR_SNAT)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def _create_router(self, distributed\u003dTrue, ha\u003dTrue):"},{"line_number":37,"context_line":"        return (super(L3DvrHATestCase, self)."},{"line_number":38,"context_line":"                _create_router(distributed\u003ddistributed, ha\u003dha))"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    def test_update_router_db_cvr_to_dvrha(self):"},{"line_number":41,"context_line":"        router \u003d self._create_router(distributed\u003dFalse, ha\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":9,"id":"dab17558_da7079df","side":"PARENT","line":38,"range":{"start_line":36,"start_character":4,"end_line":38,"end_character":63},"updated":"2016-05-12 08:31:43.000000000","message":"Wondering why was this done? The whole idea is that all tests for dvr-only routers are passing for dvr+ha routers until explicitly overriden to cover some ha specifics. Now this test suite will create dvr-only routers by default and simply duplicate all (not overriden here) tests from test_l3_dvr_router_plugin. I\u0027d suggest the author to reconsider this deletion","commit_id":"3d6cb95f1932638e4c0772979d6e20b34de5f601"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"77c8106a3ce6574153a6655b2661b0dc4ea310d1","unresolved":false,"context_lines":[{"line_number":33,"context_line":"            host\u003d\"standby\","},{"line_number":34,"context_line":"            agent_mode\u003dconstants.L3_AGENT_MODE_DVR_SNAT)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def _create_router(self, distributed\u003dTrue, ha\u003dTrue):"},{"line_number":37,"context_line":"        return (super(L3DvrHATestCase, self)."},{"line_number":38,"context_line":"                _create_router(distributed\u003ddistributed, ha\u003dha))"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    def test_update_router_db_cvr_to_dvrha(self):"},{"line_number":41,"context_line":"        router \u003d self._create_router(distributed\u003dFalse, ha\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":9,"id":"dab17558_a95448ca","side":"PARENT","line":38,"range":{"start_line":36,"start_character":4,"end_line":38,"end_character":63},"in_reply_to":"dab17558_2e817efc","updated":"2016-05-12 10:42:32.000000000","message":"Thanks for quick reaction!","commit_id":"3d6cb95f1932638e4c0772979d6e20b34de5f601"},{"author":{"_account_id":10267,"name":"venkata anil","email":"anilvenkata@redhat.com","username":"anil"},"change_message_id":"63199ecc7a19da3280a996cf659474bacb01d83e","unresolved":false,"context_lines":[{"line_number":33,"context_line":"            host\u003d\"standby\","},{"line_number":34,"context_line":"            agent_mode\u003dconstants.L3_AGENT_MODE_DVR_SNAT)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def _create_router(self, distributed\u003dTrue, ha\u003dTrue):"},{"line_number":37,"context_line":"        return (super(L3DvrHATestCase, self)."},{"line_number":38,"context_line":"                _create_router(distributed\u003ddistributed, ha\u003dha))"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    def test_update_router_db_cvr_to_dvrha(self):"},{"line_number":41,"context_line":"        router \u003d self._create_router(distributed\u003dFalse, ha\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":9,"id":"dab17558_2e817efc","side":"PARENT","line":38,"range":{"start_line":36,"start_character":4,"end_line":38,"end_character":63},"in_reply_to":"dab17558_da7079df","updated":"2016-05-12 10:28:45.000000000","message":"Thanks Oleg. It is completely my mistake.\nI was getting failures when running dvr tests for dvr ha. To resolve that instead of removing this code, I should have modified my changes like below\n\nhttps://review.openstack.org/#/c/307526/6/neutron/db/l3_hamode_db.py L436\n\nI will request Adolfo to add this back in https://review.openstack.org/#/c/307526/","commit_id":"3d6cb95f1932638e4c0772979d6e20b34de5f601"}]}
