)]}'
{"doc/source/ml2_migration.rst":[{"author":{"_account_id":156,"name":"Ryu Ishimoto","email":"ryu@midokura.com","username":"ryu-midokura"},"change_message_id":"aa8496adb6c2ca7d0846ca650d45cbc3a43de03d","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"MidoNet monolithic v2 plugin (`midonet_v2`) is not supported anymore."},{"line_number":10,"context_line":"When upgrading to Pike, a deployer needs to switch to ML2 with"},{"line_number":11,"context_line":"MidoNet mechansim driver.  This document outlines the migration procedure."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":".. note:: The procedure documented here is appropriate only when upgrading to Pike."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_c1b982e9","line":11,"updated":"2017-05-22 04:41:33.000000000","message":"mechanism","commit_id":"a87402b8d2aaf112b79257691e28402c269b0ace"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"31281c966b044237109d09c4954d0c8259b9795a","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"MidoNet monolithic v2 plugin (`midonet_v2`) is not supported anymore."},{"line_number":10,"context_line":"When upgrading to Pike, a deployer needs to switch to ML2 with"},{"line_number":11,"context_line":"MidoNet mechansim driver.  This document outlines the migration procedure."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":".. note:: The procedure documented here is appropriate only when upgrading to Pike."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_531c2911","line":11,"in_reply_to":"ff0f0b1f_c1b982e9","updated":"2017-05-22 05:07:52.000000000","message":"Done","commit_id":"a87402b8d2aaf112b79257691e28402c269b0ace"},{"author":{"_account_id":156,"name":"Ryu Ishimoto","email":"ryu@midokura.com","username":"ryu-midokura"},"change_message_id":"aa8496adb6c2ca7d0846ca650d45cbc3a43de03d","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    3. Start neutron server."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"       On the first startup, MidoNet mechansim driver automatically migrates"},{"line_number":32,"context_line":"       the data in the Neutron DB from the form what MidoNet monolithic"},{"line_number":33,"context_line":"       plugin recognises.  This is an one-way migration.  On successful"},{"line_number":34,"context_line":"       migration, the message \"DB Migration from MidoNet v2 to ML2"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_41c5725a","line":31,"updated":"2017-05-22 04:41:33.000000000","message":"mechanism","commit_id":"a87402b8d2aaf112b79257691e28402c269b0ace"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"31281c966b044237109d09c4954d0c8259b9795a","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    3. Start neutron server."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"       On the first startup, MidoNet mechansim driver automatically migrates"},{"line_number":32,"context_line":"       the data in the Neutron DB from the form what MidoNet monolithic"},{"line_number":33,"context_line":"       plugin recognises.  This is an one-way migration.  On successful"},{"line_number":34,"context_line":"       migration, the message \"DB Migration from MidoNet v2 to ML2"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_331775f0","line":31,"in_reply_to":"ff0f0b1f_41c5725a","updated":"2017-05-22 05:07:52.000000000","message":"Done","commit_id":"a87402b8d2aaf112b79257691e28402c269b0ace"},{"author":{"_account_id":156,"name":"Ryu Ishimoto","email":"ryu@midokura.com","username":"ryu-midokura"},"change_message_id":"aa8496adb6c2ca7d0846ca650d45cbc3a43de03d","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"       On the first startup, MidoNet mechansim driver automatically migrates"},{"line_number":32,"context_line":"       the data in the Neutron DB from the form what MidoNet monolithic"},{"line_number":33,"context_line":"       plugin recognises.  This is an one-way migration.  On successful"},{"line_number":34,"context_line":"       migration, the message \"DB Migration from MidoNet v2 to ML2"},{"line_number":35,"context_line":"       completed successfully\" will be logged in the neutron server log"},{"line_number":36,"context_line":"       at `INFO` level."}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_61787629","line":33,"updated":"2017-05-22 04:41:33.000000000","message":"\"a one-way\" is more appropriate here","commit_id":"a87402b8d2aaf112b79257691e28402c269b0ace"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"31281c966b044237109d09c4954d0c8259b9795a","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"       On the first startup, MidoNet mechansim driver automatically migrates"},{"line_number":32,"context_line":"       the data in the Neutron DB from the form what MidoNet monolithic"},{"line_number":33,"context_line":"       plugin recognises.  This is an one-way migration.  On successful"},{"line_number":34,"context_line":"       migration, the message \"DB Migration from MidoNet v2 to ML2"},{"line_number":35,"context_line":"       completed successfully\" will be logged in the neutron server log"},{"line_number":36,"context_line":"       at `INFO` level."}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_13d4711f","line":33,"in_reply_to":"ff0f0b1f_61787629","updated":"2017-05-22 05:07:52.000000000","message":"Done","commit_id":"a87402b8d2aaf112b79257691e28402c269b0ace"},{"author":{"_account_id":156,"name":"Ryu Ishimoto","email":"ryu@midokura.com","username":"ryu-midokura"},"change_message_id":"aa8496adb6c2ca7d0846ca650d45cbc3a43de03d","unresolved":false,"context_lines":[{"line_number":35,"context_line":"       completed successfully\" will be logged in the neutron server log"},{"line_number":36,"context_line":"       at `INFO` level."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":".. note:: The step 3 assumes it\u0027s the only neutron server process using the Neutron DB.  If your deployment has multiple neutron servers, you need to tweak the configuration temporarily to ensure the single server for the first startup with ML2."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Neutron server configuration"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_81d6eac2","line":38,"range":{"start_line":38,"start_character":89,"end_line":38,"end_character":245},"updated":"2017-05-22 04:41:33.000000000","message":"How about:\n\nIf your deployment has multiple neutron servers, make sure to shut them down prior to Step 3. After verifying that the migration succeeded, you can start them.  Also, make sure that they are also configured to use ML2 and midonet mechanism driver.","commit_id":"a87402b8d2aaf112b79257691e28402c269b0ace"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"31281c966b044237109d09c4954d0c8259b9795a","unresolved":false,"context_lines":[{"line_number":35,"context_line":"       completed successfully\" will be logged in the neutron server log"},{"line_number":36,"context_line":"       at `INFO` level."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":".. note:: The step 3 assumes it\u0027s the only neutron server process using the Neutron DB.  If your deployment has multiple neutron servers, you need to tweak the configuration temporarily to ensure the single server for the first startup with ML2."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Neutron server configuration"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_33ec15f2","line":38,"range":{"start_line":38,"start_character":89,"end_line":38,"end_character":245},"in_reply_to":"ff0f0b1f_81d6eac2","updated":"2017-05-22 05:07:52.000000000","message":"Done","commit_id":"a87402b8d2aaf112b79257691e28402c269b0ace"}],"midonet/neutron/db/v2_migration.py":[{"author":{"_account_id":156,"name":"Ryu Ishimoto","email":"ryu@midokura.com","username":"ryu-midokura"},"change_message_id":"3d8200223fba671fa003cfeddf3a48148dcbfecc","unresolved":false,"context_lines":[{"line_number":58,"context_line":"# on unknown neutron alembic versions.  This likely involves false positives"},{"line_number":59,"context_line":"# but it\u0027s better safe than sorry."},{"line_number":60,"context_line":"_KNOWN_NEUTRON_ALEMBIC_VERSIONS \u003d ["},{"line_number":61,"context_line":"    \u0027804a3c76314c\u0027,"},{"line_number":62,"context_line":"    \u00275c85685d616d\u0027,"},{"line_number":63,"context_line":"]"},{"line_number":64,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1f013ff3_842bb580","line":61,"updated":"2017-05-17 06:33:08.000000000","message":"Looks like expand head is now \u00272b42d90729da\u0027.","commit_id":"0c8d1ac289f8b18aa9be11e1f6a28ba06fd9b769"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"4ad2129962f66120fb05eb7d21f00969dc339d43","unresolved":false,"context_lines":[{"line_number":58,"context_line":"# on unknown neutron alembic versions.  This likely involves false positives"},{"line_number":59,"context_line":"# but it\u0027s better safe than sorry."},{"line_number":60,"context_line":"_KNOWN_NEUTRON_ALEMBIC_VERSIONS \u003d ["},{"line_number":61,"context_line":"    \u0027804a3c76314c\u0027,"},{"line_number":62,"context_line":"    \u00275c85685d616d\u0027,"},{"line_number":63,"context_line":"]"},{"line_number":64,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1f013ff3_fd38c33d","line":61,"in_reply_to":"1f013ff3_842bb580","updated":"2017-05-17 09:05:05.000000000","message":"Done\n\ni guess we will need a last-minutes change anyway.","commit_id":"0c8d1ac289f8b18aa9be11e1f6a28ba06fd9b769"},{"author":{"_account_id":156,"name":"Ryu Ishimoto","email":"ryu@midokura.com","username":"ryu-midokura"},"change_message_id":"3d8200223fba671fa003cfeddf3a48148dcbfecc","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"def check_alembic_versions(context):"},{"line_number":80,"context_line":"    stmt \u003d sql.select("},{"line_number":81,"context_line":"        [sql.column(\u0027version_num\u0027)]).select_from(sql.table(\u0027alembic_version\u0027))"},{"line_number":82,"context_line":"    for row in context.session.execute(stmt).fetchall():"},{"line_number":83,"context_line":"        version \u003d row[0]"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f013ff3_c4b3fd4c","line":80,"updated":"2017-05-17 06:33:08.000000000","message":"What do you think of removing Log.info for \u0027known version\u0027 below and just log _KNOWN_NEUTRON_ALEMBIC_VERSIONS here so that we can see them even if an unknown version is found?","commit_id":"0c8d1ac289f8b18aa9be11e1f6a28ba06fd9b769"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"4ad2129962f66120fb05eb7d21f00969dc339d43","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"def check_alembic_versions(context):"},{"line_number":80,"context_line":"    stmt \u003d sql.select("},{"line_number":81,"context_line":"        [sql.column(\u0027version_num\u0027)]).select_from(sql.table(\u0027alembic_version\u0027))"},{"line_number":82,"context_line":"    for row in context.session.execute(stmt).fetchall():"},{"line_number":83,"context_line":"        version \u003d row[0]"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f013ff3_dd3f4723","line":80,"in_reply_to":"1f013ff3_c4b3fd4c","updated":"2017-05-17 09:05:05.000000000","message":"Done","commit_id":"0c8d1ac289f8b18aa9be11e1f6a28ba06fd9b769"}]}
