)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"472b7d62a3e1f137afeb54c8de014a6eeed98eb4","unresolved":false,"context_lines":[{"line_number":12,"context_line":"reviewers on where to look for potential upgrade breakages in proposed"},{"line_number":13,"context_line":"patches."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This document is not complete, more work is needed."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I22e55bb2fe32b32d12fa5889b91ecb9f92b3e6a6"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"da85f559_60a153a9","line":15,"range":{"start_line":15,"start_character":0,"end_line":15,"end_character":51},"updated":"2015-11-09 12:03:51.000000000","message":"Is it still not complete?","commit_id":"a8cb9a87779018b87ba96bf916709ed241816215"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"7a09bd601e13654ccf8e1fbd3cbc388f859d5ead","unresolved":false,"context_lines":[{"line_number":12,"context_line":"reviewers on where to look for potential upgrade breakages in proposed"},{"line_number":13,"context_line":"patches."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This document is not complete, more work is needed."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I22e55bb2fe32b32d12fa5889b91ecb9f92b3e6a6"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"da85f559_a0c41b40","line":15,"in_reply_to":"da85f559_60a153a9","updated":"2015-11-09 12:06:04.000000000","message":"Yeah, probably better to remove it now. It may be incomplete in some aspects, but I presume it\u0027s good enough to merge.","commit_id":"a8cb9a87779018b87ba96bf916709ed241816215"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"60fa09ad502f8c70c3fbf14b2f673146a63b1b05","unresolved":false,"context_lines":[{"line_number":12,"context_line":"reviewers on where to look for potential upgrade breakages in proposed"},{"line_number":13,"context_line":"patches."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This document is not complete, more work is needed."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I22e55bb2fe32b32d12fa5889b91ecb9f92b3e6a6"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"da85f559_db2b5181","line":15,"in_reply_to":"da85f559_a0c41b40","updated":"2015-11-09 12:37:10.000000000","message":"Done","commit_id":"a8cb9a87779018b87ba96bf916709ed241816215"}],"doc/source/devref/effective_neutron.rst":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"f33495ed50c97586c1f4ff2ec13ebcc87256b793","unresolved":false,"context_lines":[{"line_number":185,"context_line":"* The Neutron upgrade path requires the server to support the previous version of"},{"line_number":186,"context_line":"  the agent. Any changes to the existing RPC methods must be compatible with the"},{"line_number":187,"context_line":"  previous version of the agent. Otherwise a version bump is required and the old"},{"line_number":188,"context_line":"  method must be kept under the previous version RPC endpoint."},{"line_number":189,"context_line":""},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"Scalability issues"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da85f559_3df7d15a","side":"PARENT","line":188,"updated":"2015-11-15 09:28:52.000000000","message":"I wan\u0027t aware of this sentence so far :-(","commit_id":"9f9065f206424c16d3f4b6c9c07907fa6175a13d"}],"doc/source/devref/upgrade.rst":[{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"04bea4a6a5d4efb082f88f41bd91adf9e82b140b","unresolved":false,"context_lines":[{"line_number":63,"context_line":"~~~~~~~~~~~~~~"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Neutron-server is the very first component that should be upgraded to the new"},{"line_number":66,"context_line":"code. It\u0027s also the only component that relies on new database schema to be"},{"line_number":67,"context_line":"present."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"Database upgrades are implemented with alembic migration chains."}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa80f949_0e2f2af7","line":66,"updated":"2015-11-05 09:03:22.000000000","message":"I\u0027d add that it\u0027s the only component that writes data into the DB that\u0027s why it\u0027s the only one affected by database schema changes.","commit_id":"7deb6629e328abdfb0c5d8e9df3f0a7e4dbba876"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"7d98c4a0508b75b1205180084a72ac4cea8f084b","unresolved":false,"context_lines":[{"line_number":63,"context_line":"~~~~~~~~~~~~~~"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Neutron-server is the very first component that should be upgraded to the new"},{"line_number":66,"context_line":"code. It\u0027s also the only component that relies on new database schema to be"},{"line_number":67,"context_line":"present."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"Database upgrades are implemented with alembic migration chains."}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa80f949_63028171","line":66,"in_reply_to":"fa80f949_0e2f2af7","updated":"2015-11-05 14:06:43.000000000","message":"Done","commit_id":"7deb6629e328abdfb0c5d8e9df3f0a7e4dbba876"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"8da90a308edbb5eca2b8d60ac052e05105232448","unresolved":false,"context_lines":[{"line_number":40,"context_line":"different code versions running and interacting in the same cloud. It puts"},{"line_number":41,"context_line":"multiple constraints onto the software."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"#. old services should be able to talk to newer services."},{"line_number":44,"context_line":"#. old services should not depend on old database schema."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Those requirements are achieved in Neutron by:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa80f949_b854f6fe","line":43,"updated":"2015-11-06 08:16:37.000000000","message":"and vice versa?","commit_id":"3ee9ed6d5a099142d949a8d94240d5896c27a0af"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"9db6327cad883eac15470e04cec2c8207d36fd27","unresolved":false,"context_lines":[{"line_number":40,"context_line":"different code versions running and interacting in the same cloud. It puts"},{"line_number":41,"context_line":"multiple constraints onto the software."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"#. old services should be able to talk to newer services."},{"line_number":44,"context_line":"#. old services should not depend on old database schema."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Those requirements are achieved in Neutron by:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa80f949_bab9407b","line":43,"in_reply_to":"fa80f949_b854f6fe","updated":"2015-11-06 13:07:06.000000000","message":"I will change the wording a bit.","commit_id":"3ee9ed6d5a099142d949a8d94240d5896c27a0af"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"8da90a308edbb5eca2b8d60ac052e05105232448","unresolved":false,"context_lines":[{"line_number":41,"context_line":"multiple constraints onto the software."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"#. old services should be able to talk to newer services."},{"line_number":44,"context_line":"#. old services should not depend on old database schema."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Those requirements are achieved in Neutron by:"},{"line_number":47,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa80f949_f89a7e6d","line":44,"updated":"2015-11-06 08:16:37.000000000","message":"this sentence is a bit confusing","commit_id":"3ee9ed6d5a099142d949a8d94240d5896c27a0af"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"9db6327cad883eac15470e04cec2c8207d36fd27","unresolved":false,"context_lines":[{"line_number":41,"context_line":"multiple constraints onto the software."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"#. old services should be able to talk to newer services."},{"line_number":44,"context_line":"#. old services should not depend on old database schema."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Those requirements are achieved in Neutron by:"},{"line_number":47,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa80f949_1a572c27","line":44,"in_reply_to":"fa80f949_f89a7e6d","updated":"2015-11-06 13:07:06.000000000","message":"I will reword a bit and add some explanation here on the intent of the sentence.","commit_id":"3ee9ed6d5a099142d949a8d94240d5896c27a0af"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"96b808e34e0a792b820da6fa8aa9f69143f71419","unresolved":false,"context_lines":[{"line_number":111,"context_line":"-------------------"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"Since it\u0027s always assumed that neutron-server component is upgraded before"},{"line_number":114,"context_line":"agents, only the former should handle both old and new agent versions."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"The implication of that is that no code that handles UnsupportedVersion"},{"line_number":117,"context_line":"oslo.messaging exceptions belongs to agent code."}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa80f949_f004d218","line":114,"updated":"2015-11-06 09:29:02.000000000","message":"instead of agent version I think it would be better \"RPC versions\"","commit_id":"3ee9ed6d5a099142d949a8d94240d5896c27a0af"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"9db6327cad883eac15470e04cec2c8207d36fd27","unresolved":false,"context_lines":[{"line_number":111,"context_line":"-------------------"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"Since it\u0027s always assumed that neutron-server component is upgraded before"},{"line_number":114,"context_line":"agents, only the former should handle both old and new agent versions."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"The implication of that is that no code that handles UnsupportedVersion"},{"line_number":117,"context_line":"oslo.messaging exceptions belongs to agent code."}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa80f949_ad126807","line":114,"in_reply_to":"fa80f949_f004d218","updated":"2015-11-06 13:07:06.000000000","message":"Done","commit_id":"3ee9ed6d5a099142d949a8d94240d5896c27a0af"},{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"87c32c9c0b5599ab4a43741cfcde9601ab88f0ad","unresolved":false,"context_lines":[{"line_number":80,"context_line":":ref:`More info on alembic scripts \u003calembic_migrations\u003e`."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"The former step can be executed while old neutron-server code is running. The"},{"line_number":83,"context_line":"latter step requires *all* neutron-server instances to be shut down. Once it\u0027s"},{"line_number":84,"context_line":"complete, neutron-servers can be started again."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Agents upgrade"}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa80f949_ad3ee8d7","line":83,"updated":"2015-11-06 13:27:30.000000000","message":"Should I assume I will need to run `neutron-db-manage upgrade --contract` - and take a full neutron-server outage - every time I upgrade?  If not, how can I tell which upgrades require this and which don\u0027t?","commit_id":"4db0847b0e5a984f8b748e4c73cac346cc4331bc"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"7adf9f30e204039692e0f826282e1bdaddaaa976","unresolved":false,"context_lines":[{"line_number":80,"context_line":":ref:`More info on alembic scripts \u003calembic_migrations\u003e`."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"The former step can be executed while old neutron-server code is running. The"},{"line_number":83,"context_line":"latter step requires *all* neutron-server instances to be shut down. Once it\u0027s"},{"line_number":84,"context_line":"complete, neutron-servers can be started again."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Agents upgrade"}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa80f949_f2ada49b","line":83,"in_reply_to":"fa80f949_ad3ee8d7","updated":"2015-11-06 16:15:06.000000000","message":"That\u0027s a good question. I think we would need to implement some new command based on \u0027alembic heads\u0027 that would detect whether full shutdown of neutron-server instances is needed (\u003d\u003d when contract migrations are in place).\n\nI will add it into my todo list, but for now, that\u0027s what we have.","commit_id":"4db0847b0e5a984f8b748e4c73cac346cc4331bc"},{"author":{"_account_id":15518,"name":"Artur Korzeniewski","email":"artur.korzen@wp.pl","username":"akorzeni"},"change_message_id":"af6b2a5cf16a235d8b803b3bd1ad5b00a8a23df1","unresolved":false,"context_lines":[{"line_number":119,"context_line":""},{"line_number":120,"context_line":":ref:`More information about RPC versioning \u003crpc_versioning\u003e`."},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"Interface signature"},{"line_number":123,"context_line":"~~~~~~~~~~~~~~~~~~~"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"An RPC interface is defined by its name, version, and (named) arguments that"}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa80f949_6b96a894","line":122,"updated":"2015-11-06 13:58:59.000000000","message":"Can we add \u0027RPC\u0027 to \u0027Interface signature\u0027 to mark what is exactly this section talking about?","commit_id":"4db0847b0e5a984f8b748e4c73cac346cc4331bc"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"7adf9f30e204039692e0f826282e1bdaddaaa976","unresolved":false,"context_lines":[{"line_number":119,"context_line":""},{"line_number":120,"context_line":":ref:`More information about RPC versioning \u003crpc_versioning\u003e`."},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"Interface signature"},{"line_number":123,"context_line":"~~~~~~~~~~~~~~~~~~~"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"An RPC interface is defined by its name, version, and (named) arguments that"}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa80f949_f29b6464","line":122,"in_reply_to":"fa80f949_6b96a894","updated":"2015-11-06 16:15:06.000000000","message":"It\u0027s a subsection of \u0027AMQP considerations\u0027, so the context implies it\u0027s about AMQP aka RPC.","commit_id":"4db0847b0e5a984f8b748e4c73cac346cc4331bc"},{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"87c32c9c0b5599ab4a43741cfcde9601ab88f0ad","unresolved":false,"context_lines":[{"line_number":185,"context_line":""},{"line_number":186,"context_line":"   * options should not be dropped from the tree without waiting for"},{"line_number":187,"context_line":"     deprecation period (currently it\u0027s one development cycle long) and a"},{"line_number":188,"context_line":"     deprecation message issued if the deprecated option is used."},{"line_number":189,"context_line":"   * option values should not change their meaning between releases."},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"#. Data plane:"}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa80f949_7072177d","line":188,"updated":"2015-11-06 13:27:30.000000000","message":"You may want to include a link to the standard deprecation policy, like http://governance.openstack.org/reference/tags/assert_follows-standard-deprecation.html","commit_id":"4db0847b0e5a984f8b748e4c73cac346cc4331bc"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"7adf9f30e204039692e0f826282e1bdaddaaa976","unresolved":false,"context_lines":[{"line_number":185,"context_line":""},{"line_number":186,"context_line":"   * options should not be dropped from the tree without waiting for"},{"line_number":187,"context_line":"     deprecation period (currently it\u0027s one development cycle long) and a"},{"line_number":188,"context_line":"     deprecation message issued if the deprecated option is used."},{"line_number":189,"context_line":"   * option values should not change their meaning between releases."},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"#. Data plane:"}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa80f949_52ab5075","line":188,"in_reply_to":"fa80f949_7072177d","updated":"2015-11-06 16:15:06.000000000","message":"Done","commit_id":"4db0847b0e5a984f8b748e4c73cac346cc4331bc"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"7a09bd601e13654ccf8e1fbd3cbc388f859d5ead","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Rolling upgrade"},{"line_number":37,"context_line":"---------------"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Rolling upgrades imply that during some interval of time there will services of"},{"line_number":40,"context_line":"different code versions running and interacting in the same cloud. It puts"},{"line_number":41,"context_line":"multiple constraints onto the software."},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa80f949_f25cc47e","line":39,"updated":"2015-11-09 12:06:04.000000000","message":"there will be","commit_id":"a8cb9a87779018b87ba96bf916709ed241816215"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"60fa09ad502f8c70c3fbf14b2f673146a63b1b05","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Rolling upgrade"},{"line_number":37,"context_line":"---------------"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Rolling upgrades imply that during some interval of time there will services of"},{"line_number":40,"context_line":"different code versions running and interacting in the same cloud. It puts"},{"line_number":41,"context_line":"multiple constraints onto the software."},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"da85f559_fb1df566","line":39,"in_reply_to":"fa80f949_f25cc47e","updated":"2015-11-09 12:37:10.000000000","message":"Done","commit_id":"a8cb9a87779018b87ba96bf916709ed241816215"},{"author":{"_account_id":7776,"name":"Paul Carver","email":"pcarver@att.com","username":"pcarver"},"change_message_id":"23f95a208c15dc5e5fa0306f4a17aae38af35083","unresolved":false,"context_lines":[{"line_number":56,"context_line":"#. first, all neutron-servers are upgraded."},{"line_number":57,"context_line":"#. then, neutron agents are upgraded in any order."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"This approach allows to avoid backwards compatibility code on agent side and is"},{"line_number":60,"context_line":"in line with other OpenStack projects that support rolling upgrades"},{"line_number":61,"context_line":"(specifically, nova)."},{"line_number":62,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"da85f559_bf1c5914","line":59,"updated":"2015-11-13 02:42:55.000000000","message":"nit: \"allows us to avoid\" or \"approach avoids the need for backwards\"","commit_id":"1dc0ea2609e6ed88ef0d9f2e29379d233f701c4c"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"9b33a3c9399a2914d5fdd08929b07e93f4841167","unresolved":false,"context_lines":[{"line_number":56,"context_line":"#. first, all neutron-servers are upgraded."},{"line_number":57,"context_line":"#. then, neutron agents are upgraded in any order."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"This approach allows to avoid backwards compatibility code on agent side and is"},{"line_number":60,"context_line":"in line with other OpenStack projects that support rolling upgrades"},{"line_number":61,"context_line":"(specifically, nova)."},{"line_number":62,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba8a016a_dc068085","line":59,"in_reply_to":"da85f559_bf1c5914","updated":"2015-11-18 17:26:17.000000000","message":"Done","commit_id":"1dc0ea2609e6ed88ef0d9f2e29379d233f701c4c"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"f33495ed50c97586c1f4ff2ec13ebcc87256b793","unresolved":false,"context_lines":[{"line_number":92,"context_line":"Note that in the meantime, neutron-server should be able to serve AMQP messages"},{"line_number":93,"context_line":"sent by older versions of agents which are part of the cloud."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"The recommended order of agent upgrade (per node) is:"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"#. first, L2 agents (openvswitch, linuxbridge, sr-iov)."},{"line_number":98,"context_line":"#. then, all other agents (L3, DHCP, Metadata, ...)."}],"source_content_type":"text/x-rst","patch_set":5,"id":"da85f559_40674ab7","line":95,"updated":"2015-11-15 09:28:52.000000000","message":"What is the reason of this order? It would be nice if we have some background on this.","commit_id":"1dc0ea2609e6ed88ef0d9f2e29379d233f701c4c"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"9b33a3c9399a2914d5fdd08929b07e93f4841167","unresolved":false,"context_lines":[{"line_number":92,"context_line":"Note that in the meantime, neutron-server should be able to serve AMQP messages"},{"line_number":93,"context_line":"sent by older versions of agents which are part of the cloud."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"The recommended order of agent upgrade (per node) is:"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"#. first, L2 agents (openvswitch, linuxbridge, sr-iov)."},{"line_number":98,"context_line":"#. then, all other agents (L3, DHCP, Metadata, ...)."}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba8a016a_bcd4dcbc","line":95,"in_reply_to":"ba8a016a_267f8016","updated":"2015-11-18 17:26:17.000000000","message":"I have tried to capture my reasoning in the next PS. But feel free to request removal for the recommendation if you think we should not define the order.","commit_id":"1dc0ea2609e6ed88ef0d9f2e29379d233f701c4c"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"d9ecad071efe77a0906337fe4f256d173e161990","unresolved":false,"context_lines":[{"line_number":92,"context_line":"Note that in the meantime, neutron-server should be able to serve AMQP messages"},{"line_number":93,"context_line":"sent by older versions of agents which are part of the cloud."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"The recommended order of agent upgrade (per node) is:"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"#. first, L2 agents (openvswitch, linuxbridge, sr-iov)."},{"line_number":98,"context_line":"#. then, all other agents (L3, DHCP, Metadata, ...)."}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba8a016a_267f8016","line":95,"in_reply_to":"da85f559_40674ab7","updated":"2015-11-18 15:54:59.000000000","message":"Hm, my rationale is that all other agents rely on l2 agent to wire ports for them, so it\u0027s sane to allow l2 agent to prepare the field for them, then restart agents.\n\nThat said, I don\u0027t know any specific issues with other orders. It seems to me it\u0027s better to avoid support for more scenarios if we can define the expected order and pay attention just to the one prescribed during reviews.\n\nOr do you think we better avoid putting unneeded constraints here?","commit_id":"1dc0ea2609e6ed88ef0d9f2e29379d233f701c4c"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"f33495ed50c97586c1f4ff2ec13ebcc87256b793","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"The scenario does *not* validate AMQP versioning compatibility."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"Other projects (f.e. nova) have so called \u0027partial\u0027 grenade jobs where some"},{"line_number":167,"context_line":"services are left running using the old version of code. Such a job would be"},{"line_number":168,"context_line":"needed in Neutron gate to validate rolling upgrades for the project. Till that"},{"line_number":169,"context_line":"time, it\u0027s all up to reviewers to catch compatibility issues in patches on"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da85f559_80f452cf","line":166,"updated":"2015-11-15 09:28:52.000000000","message":"I think \"f.e.\" is not an usual abbrev. \"for example\" or \"e.g.\" is more popular.","commit_id":"1dc0ea2609e6ed88ef0d9f2e29379d233f701c4c"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"9b33a3c9399a2914d5fdd08929b07e93f4841167","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"The scenario does *not* validate AMQP versioning compatibility."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"Other projects (f.e. nova) have so called \u0027partial\u0027 grenade jobs where some"},{"line_number":167,"context_line":"services are left running using the old version of code. Such a job would be"},{"line_number":168,"context_line":"needed in Neutron gate to validate rolling upgrades for the project. Till that"},{"line_number":169,"context_line":"time, it\u0027s all up to reviewers to catch compatibility issues in patches on"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba8a016a_7c8994c8","line":166,"in_reply_to":"da85f559_80f452cf","updated":"2015-11-18 17:26:17.000000000","message":"Done but not sure it\u0027s a valid request: http://www.encyclopedia.com/doc/1O25-fe.html","commit_id":"1dc0ea2609e6ed88ef0d9f2e29379d233f701c4c"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"f33495ed50c97586c1f4ff2ec13ebcc87256b793","unresolved":false,"context_lines":[{"line_number":208,"context_line":"   * server code should be able to handle all previous versions of agents,"},{"line_number":209,"context_line":"     unless the major version of an interface is bumped."},{"line_number":210,"context_line":"   * no RPC interface arguments should change their meaning, or names."},{"line_number":211,"context_line":"   * new arguments added to RPC interfaces should not be mandatory."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"#. Database migrations:"},{"line_number":214,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"da85f559_c0281a36","line":211,"updated":"2015-11-15 09:28:52.000000000","message":"It looks a bit unclear. Does this mean that RPC version bump is not required when new argument is added?","commit_id":"1dc0ea2609e6ed88ef0d9f2e29379d233f701c4c"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"9b33a3c9399a2914d5fdd08929b07e93f4841167","unresolved":false,"context_lines":[{"line_number":208,"context_line":"   * server code should be able to handle all previous versions of agents,"},{"line_number":209,"context_line":"     unless the major version of an interface is bumped."},{"line_number":210,"context_line":"   * no RPC interface arguments should change their meaning, or names."},{"line_number":211,"context_line":"   * new arguments added to RPC interfaces should not be mandatory."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"#. Database migrations:"},{"line_number":214,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba8a016a_bc15bc49","line":211,"in_reply_to":"ba8a016a_e6abb873","updated":"2015-11-18 17:26:17.000000000","message":"Done","commit_id":"1dc0ea2609e6ed88ef0d9f2e29379d233f701c4c"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"d9ecad071efe77a0906337fe4f256d173e161990","unresolved":false,"context_lines":[{"line_number":208,"context_line":"   * server code should be able to handle all previous versions of agents,"},{"line_number":209,"context_line":"     unless the major version of an interface is bumped."},{"line_number":210,"context_line":"   * no RPC interface arguments should change their meaning, or names."},{"line_number":211,"context_line":"   * new arguments added to RPC interfaces should not be mandatory."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"#. Database migrations:"},{"line_number":214,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba8a016a_e6abb873","line":211,"in_reply_to":"da85f559_c0281a36","updated":"2015-11-18 15:54:59.000000000","message":"No, it just means that server should be able to handle old requests, without the new argument specified.\n\nI will update it.","commit_id":"1dc0ea2609e6ed88ef0d9f2e29379d233f701c4c"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"2fe599af13def02b6a4934c0eb1c3f57bf8fbd44","unresolved":false,"context_lines":[{"line_number":34,"context_line":"\u0027rolling upgrade\u0027."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Rolling upgrade"},{"line_number":37,"context_line":"---------------"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Rolling upgrades imply that during some interval of time there will be services"},{"line_number":40,"context_line":"of different code versions running and interacting in the same cloud. It puts"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_ce98bb7a","line":37,"updated":"2015-11-19 21:25:01.000000000","message":"Most of this section is still reference implementation specific since it\u0027s talking about agents.  I tried to put in some suggestions that I think would help satisfy me.  Basically it\u0027s just clarifying that the AMQP/agent comments are potentially not applicable, and ending with a note that each Neutron backend should be providing its own upgrade documentation.","commit_id":"63831a5a59fea957e5c1138ed32b8c70538cd63d"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"1e7fcdafdc15e6f089dadf0b1b02c1aa987ace66","unresolved":false,"context_lines":[{"line_number":34,"context_line":"\u0027rolling upgrade\u0027."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Rolling upgrade"},{"line_number":37,"context_line":"---------------"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Rolling upgrades imply that during some interval of time there will be services"},{"line_number":40,"context_line":"of different code versions running and interacting in the same cloud. It puts"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_54f86a7c","line":37,"in_reply_to":"ba8a016a_ce98bb7a","updated":"2015-11-23 14:30:10.000000000","message":"Done","commit_id":"63831a5a59fea957e5c1138ed32b8c70538cd63d"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"2fe599af13def02b6a4934c0eb1c3f57bf8fbd44","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"#. older services should be able to talk with newer services."},{"line_number":44,"context_line":"#. older services should not require the database to have older schema"},{"line_number":45,"context_line":"   (otherwise newer services that require the newer schema would not work)."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Those requirements are achieved in Neutron by:"},{"line_number":48,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_4e77eb9f","line":45,"updated":"2015-11-19 21:25:01.000000000","message":"I would reference this document as the openstack common definition of supporting rolling upgrades: http://governance.openstack.org/reference/tags/assert_supports-rolling-upgrade.html","commit_id":"63831a5a59fea957e5c1138ed32b8c70538cd63d"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"1e7fcdafdc15e6f089dadf0b1b02c1aa987ace66","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"#. older services should be able to talk with newer services."},{"line_number":44,"context_line":"#. older services should not require the database to have older schema"},{"line_number":45,"context_line":"   (otherwise newer services that require the newer schema would not work)."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Those requirements are achieved in Neutron by:"},{"line_number":48,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_b400b667","line":45,"in_reply_to":"ba8a016a_4e77eb9f","updated":"2015-11-23 14:30:10.000000000","message":"Done","commit_id":"63831a5a59fea957e5c1138ed32b8c70538cd63d"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"2fe599af13def02b6a4934c0eb1c3f57bf8fbd44","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Those requirements are achieved in Neutron by:"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"#. backwards compatible code to support old AMQP payload that could be sent by"},{"line_number":50,"context_line":"   older components."},{"line_number":51,"context_line":"#. isolating a single service that accesses database (neutron-server)."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"To simplify the matter, it\u0027s always assumed that the order of service upgrades"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_ceb2fb4b","line":50,"updated":"2015-11-19 21:25:01.000000000","message":"I would word this as something like:\n\nIf the Neutron backend makes use of Neutron agents, the Neutron server and agents have backwards compatibility code to deal with older messaging payloads.","commit_id":"63831a5a59fea957e5c1138ed32b8c70538cd63d"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"0676fabd6aa1faf736ad33cfd1dba4c456d751e8","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Those requirements are achieved in Neutron by:"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"#. backwards compatible code to support old AMQP payload that could be sent by"},{"line_number":50,"context_line":"   older components."},{"line_number":51,"context_line":"#. isolating a single service that accesses database (neutron-server)."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"To simplify the matter, it\u0027s always assumed that the order of service upgrades"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_f8906597","line":50,"in_reply_to":"ba8a016a_543f0a25","updated":"2015-11-23 17:29:24.000000000","message":"You\u0027re right.","commit_id":"63831a5a59fea957e5c1138ed32b8c70538cd63d"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"1e7fcdafdc15e6f089dadf0b1b02c1aa987ace66","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Those requirements are achieved in Neutron by:"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"#. backwards compatible code to support old AMQP payload that could be sent by"},{"line_number":50,"context_line":"   older components."},{"line_number":51,"context_line":"#. isolating a single service that accesses database (neutron-server)."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"To simplify the matter, it\u0027s always assumed that the order of service upgrades"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_543f0a25","line":50,"in_reply_to":"ba8a016a_ceb2fb4b","updated":"2015-11-23 14:30:10.000000000","message":"Done. I believe agents are not expected to have compat code though, so I removed their notion from the suggested wording. Please comment if it is not correct since then we need to rework some other pieces of the page.","commit_id":"63831a5a59fea957e5c1138ed32b8c70538cd63d"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"2fe599af13def02b6a4934c0eb1c3f57bf8fbd44","unresolved":false,"context_lines":[{"line_number":54,"context_line":"is as following:"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"#. first, all neutron-servers are upgraded."},{"line_number":57,"context_line":"#. then, neutron agents are upgraded in any order."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"This approach allows us to avoid backwards compatibility code on agent side and"},{"line_number":60,"context_line":"is in line with other OpenStack projects that support rolling upgrades"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_6eef4f1e","line":57,"updated":"2015-11-19 21:25:01.000000000","message":"I would say \"then, if applicable, neutron agents are upgraded in any order\".","commit_id":"63831a5a59fea957e5c1138ed32b8c70538cd63d"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"1e7fcdafdc15e6f089dadf0b1b02c1aa987ace66","unresolved":false,"context_lines":[{"line_number":54,"context_line":"is as following:"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"#. first, all neutron-servers are upgraded."},{"line_number":57,"context_line":"#. then, neutron agents are upgraded in any order."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"This approach allows us to avoid backwards compatibility code on agent side and"},{"line_number":60,"context_line":"is in line with other OpenStack projects that support rolling upgrades"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_94e7b2ab","line":57,"in_reply_to":"ba8a016a_6eef4f1e","updated":"2015-11-23 14:30:10.000000000","message":"Done","commit_id":"63831a5a59fea957e5c1138ed32b8c70538cd63d"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"2fe599af13def02b6a4934c0eb1c3f57bf8fbd44","unresolved":false,"context_lines":[{"line_number":59,"context_line":"This approach allows us to avoid backwards compatibility code on agent side and"},{"line_number":60,"context_line":"is in line with other OpenStack projects that support rolling upgrades"},{"line_number":61,"context_line":"(specifically, nova)."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Server upgrade"},{"line_number":64,"context_line":"~~~~~~~~~~~~~~"},{"line_number":65,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_8e6b9384","line":62,"updated":"2015-11-19 21:25:01.000000000","message":"How about this as an additional paragraph:\n\nMuch of this document discusses upgrade considerations for the Neutron reference implementation using Neutron\u0027s agents.  It\u0027s expected that each Neutron plugin provides its own documentation that discusses upgrade considerations specific to that choice of backend.  For example, OVN does not use Neutron agents, but has does have a local controller that runs on each compute node.  OVN supports rolling upgrades, but information about how that works should be covered in the documentation for networking-ovn, the OVN Neutron plugin.","commit_id":"63831a5a59fea957e5c1138ed32b8c70538cd63d"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"1e7fcdafdc15e6f089dadf0b1b02c1aa987ace66","unresolved":false,"context_lines":[{"line_number":59,"context_line":"This approach allows us to avoid backwards compatibility code on agent side and"},{"line_number":60,"context_line":"is in line with other OpenStack projects that support rolling upgrades"},{"line_number":61,"context_line":"(specifically, nova)."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Server upgrade"},{"line_number":64,"context_line":"~~~~~~~~~~~~~~"},{"line_number":65,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_1458a255","line":62,"in_reply_to":"ba8a016a_8e6b9384","updated":"2015-11-23 14:30:10.000000000","message":"Seems like a reasonable addition for the top of the page, not just the section.","commit_id":"63831a5a59fea957e5c1138ed32b8c70538cd63d"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"3e7cf5e2a1ea80d25cc20e7c7789a77b7d62de32","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Database upgrade is split into two parts:"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"#. neutron-db-manage upgrade --expand"},{"line_number":89,"context_line":"#. neutron-db-manage upgrade --contract"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"Each part represents a separate alembic branch."}],"source_content_type":"text/x-rst","patch_set":7,"id":"ba8a016a_04cfff7f","line":88,"updated":"2015-11-23 19:53:34.000000000","message":"I will suggest a very very brief info when to use for each case.","commit_id":"e80648a0d0eba210ae70abe3837a3d411d876ad5"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"b4d65612fb978a4f21536569991113a00fe2a994","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Database upgrade is split into two parts:"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"#. neutron-db-manage upgrade --expand"},{"line_number":89,"context_line":"#. neutron-db-manage upgrade --contract"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"Each part represents a separate alembic branch."}],"source_content_type":"text/x-rst","patch_set":7,"id":"ba8a016a_3f6ecc96","line":88,"in_reply_to":"ba8a016a_04cfff7f","updated":"2015-11-23 20:07:42.000000000","message":"Line 95 and below is exactly that.","commit_id":"e80648a0d0eba210ae70abe3837a3d411d876ad5"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"cbb2f84986c6066b57a747c3bca6bdb3c61fccbb","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Database upgrade is split into two parts:"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"#. neutron-db-manage upgrade --expand"},{"line_number":89,"context_line":"#. neutron-db-manage upgrade --contract"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"Each part represents a separate alembic branch."}],"source_content_type":"text/x-rst","patch_set":7,"id":"ba8a016a_d0c8cd76","line":88,"in_reply_to":"ba8a016a_3af57aca","updated":"2015-11-23 21:31:20.000000000","message":"From user perspective, no one should care much about migration types. I work on a CLI that would allow to determine the need to shutdown all API nodes (\u003d\u003dcontract scripts pending).","commit_id":"e80648a0d0eba210ae70abe3837a3d411d876ad5"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"b80a32f26c89a5a537a66f440ce66327d734f8cb","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Database upgrade is split into two parts:"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"#. neutron-db-manage upgrade --expand"},{"line_number":89,"context_line":"#. neutron-db-manage upgrade --contract"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"Each part represents a separate alembic branch."}],"source_content_type":"text/x-rst","patch_set":7,"id":"ba8a016a_3af57aca","line":88,"in_reply_to":"ba8a016a_3f6ecc96","updated":"2015-11-23 20:36:51.000000000","message":"In doc http://docs.openstack.org/developer/neutron/devref/alembic_migrations.html. I read it depends on if you are doing expanding or contracting changes to schema. I thought it was as if I remove a column or table I\u0027ll do contract or If I add I\u0027ll do expand.\n\nThanks !","commit_id":"e80648a0d0eba210ae70abe3837a3d411d876ad5"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"a6c8559393aed33d6b8ebbfc15037c3e35a42147","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Database upgrade is split into two parts:"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"#. neutron-db-manage upgrade --expand"},{"line_number":89,"context_line":"#. neutron-db-manage upgrade --contract"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"Each part represents a separate alembic branch."}],"source_content_type":"text/x-rst","patch_set":7,"id":"ba8a016a_56ae1699","line":88,"in_reply_to":"ba8a016a_d0c8cd76","updated":"2015-11-23 22:00:51.000000000","message":"FYI the patch with CLI is at https://review.openstack.org/#/c/248190/ though it\u0027s WIP now.","commit_id":"e80648a0d0eba210ae70abe3837a3d411d876ad5"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"3e7cf5e2a1ea80d25cc20e7c7789a77b7d62de32","unresolved":false,"context_lines":[{"line_number":247,"context_line":"     needed. No code that is unsafe to execute while neutron-server is running"},{"line_number":248,"context_line":"     should be added to expand branch."},{"line_number":249,"context_line":"   * if possible, contract migrations should be minimized or avoided to reduce"},{"line_number":250,"context_line":"     the time when API endpoints must be down during database upgrade."}],"source_content_type":"text/x-rst","patch_set":7,"id":"ba8a016a_048a9fbf","line":250,"updated":"2015-11-23 19:53:34.000000000","message":"I would say add a line or two saying database migration process is same for upgrade in other neutron components like for lbaas \nit is a separate project though but it uses same\nneutron-db-manage module for upgrade.","commit_id":"e80648a0d0eba210ae70abe3837a3d411d876ad5"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"b4d65612fb978a4f21536569991113a00fe2a994","unresolved":false,"context_lines":[{"line_number":247,"context_line":"     needed. No code that is unsafe to execute while neutron-server is running"},{"line_number":248,"context_line":"     should be added to expand branch."},{"line_number":249,"context_line":"   * if possible, contract migrations should be minimized or avoided to reduce"},{"line_number":250,"context_line":"     the time when API endpoints must be down during database upgrade."}],"source_content_type":"text/x-rst","patch_set":7,"id":"ba8a016a_5fb4f0f0","line":250,"in_reply_to":"ba8a016a_048a9fbf","updated":"2015-11-23 20:07:42.000000000","message":"I will add it if another respin is needed.","commit_id":"e80648a0d0eba210ae70abe3837a3d411d876ad5"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"b80a32f26c89a5a537a66f440ce66327d734f8cb","unresolved":false,"context_lines":[{"line_number":247,"context_line":"     needed. No code that is unsafe to execute while neutron-server is running"},{"line_number":248,"context_line":"     should be added to expand branch."},{"line_number":249,"context_line":"   * if possible, contract migrations should be minimized or avoided to reduce"},{"line_number":250,"context_line":"     the time when API endpoints must be down during database upgrade."}],"source_content_type":"text/x-rst","patch_set":7,"id":"ba8a016a_da030eb7","line":250,"in_reply_to":"ba8a016a_5fb4f0f0","updated":"2015-11-23 20:36:51.000000000","message":"okay thanks !","commit_id":"e80648a0d0eba210ae70abe3837a3d411d876ad5"}]}
