)]}'
{"doc/source/index.rst":[{"author":{"_account_id":10295,"name":"mariam john","email":"mariamj@us.ibm.com","username":"mariamj"},"change_message_id":"b0c256b1a9520418019763eea908cca9b3c7dab5","unresolved":false,"context_lines":[{"line_number":39,"context_line":"Newton approved specs:"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":".. toctree::"},{"line_number":42,"context_line":"      :glob:"},{"line_number":43,"context_line":"   :maxdepth: 1"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"   specs/newton/*"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_7e3d1cc3","line":42,"range":{"start_line":42,"start_character":7,"end_line":42,"end_character":11},"updated":"2016-05-11 17:23:34.000000000","message":"I think the space before :glob: is causing the gate failure. Looks like it needs to be aligned with :maxdepth","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"8ba9f61d94d9816ad29568c13d47507b9b180699","unresolved":false,"context_lines":[{"line_number":39,"context_line":"Newton approved specs:"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":".. toctree::"},{"line_number":42,"context_line":"      :glob:"},{"line_number":43,"context_line":"   :maxdepth: 1"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"   specs/newton/*"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_0f645847","line":42,"range":{"start_line":42,"start_character":7,"end_line":42,"end_character":11},"in_reply_to":"dab17558_7e3d1cc3","updated":"2016-05-12 20:24:50.000000000","message":"Oh you are right, thanks Mariam :)","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"}],"specs/newton/rpc-api-versioning.rst":[{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"523a44f6fab28ea3612068ae1df4fdc981785834","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"dab17558_8bd5b31c","updated":"2016-05-13 14:13:07.000000000","message":"so here\u0027s a meta comment about this spec. You tell me what you plan to do (add versions to RPC messages). You don\u0027t tell me how this will be used, and it is non-intuitive.\n\nYes, with this you say that you can independently upgrade components and pin a version. Then what?\n\nAt the beginning of time, you end up with some set of identical components and all exchanges have specified versions. Let\u0027s say you have two API\u0027s, two TM\u0027s, two conductors, a RabbitMQ and 14 guest instances.\n\nAll API to TM interactions are at version \"1.0\", all interactions between TM and guest instance are at version \"1.0\", all interactions between guest and conductor are at version \"1.0\".\n\nlet\u0027s now assume that you make some change that adds something into a single message between API and TM. You decide that it is a minor version so you bump API to TM version to 1.0.1.\n\nThere\u0027s a new version of software.\n\nYou take down one TM service and launch a new one after pinning version to 1.0. Once it is up, you take down the other one and launch a new one. So now you have two TM\u0027s capable of 1.0.1 but only doing 1.0.\n\nHow do you now get them to go to 1.0.1? Well you need new API\u0027s. OK, so you do that but the API version is still pinned at 1.0. What is the mechanism to dynamically (i.e. no outage) tell the API\u0027s and TM\u0027s that they should now go to 1.0.1?\n\nSame story with the other exchanges.\n\nSuppose you need a new parameter only for MySQL guests, what do you do with the TM -\u003e Guest API? do you bump it? is it bumped for all guests or only for MySQL guests?\n\nSuppose I add new capabilities for MySQL and need to bump the API version, does this mean that all my db\u0027s (other than MySQL) need their guest agents to understand the new version? would there be an upgrade implication for the Mongo guest agents?\n\nAll of these are the kinds of implications and ramifications that I believe that this spec should describe because other than that, the mere matter of adding a version onto a message appears to be a very small tip of a very large iceberg.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"fc49ab6e8e2bac5119094c073b40ba3749048f86","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"bab6814e_c22507c3","in_reply_to":"bab6814e_27c185e5","updated":"2016-05-18 16:25:22.000000000","message":"Yes of course. The pin is about the version being sent, and needs to be set to something that any node in the system can tolerate. There will be a moment in which you have servers with different versions, but that is unavoidable.\nHaving all servers with the same version by using this feature is part of the operators responsibility. At least in this first implementation. We can later implement pin recalculation so we take this weight off operators shoulders.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"051688b05b6f4c9fa07c11436ef35af89b304268","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"bab6814e_27c185e5","in_reply_to":"dab17558_05c8eba6","updated":"2016-05-18 16:06:35.000000000","message":"You write, \"Once the different components have been upgraded, the operator can remove the version pin and gradually restart the services to take the new version.\"\n\nSo there could be a time when there are servers that have been pinned and others that haven\u0027t? How would this work?","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"896feb4acb66d5a3a9591d2bfe5c60f5cef79e42","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"dab17558_05c8eba6","in_reply_to":"dab17558_8bd5b31c","updated":"2016-05-18 16:01:50.000000000","message":"\u003e What is the mechanism to dynamically (i.e. no outage) tell the API\u0027s and TM\u0027s that they should now go to 1.0.1?\n\nOnce the different components have been upgraded, the operator can remove the version pin and gradually restart the services to take the new version.\n\n\u003e Suppose you need a new parameter only for MySQL guests, what do you do with the TM -\u003e Guest API? do you bump it? is it bumped for all guests or only for MySQL guests?\n\nIf you have, say, a SVE for MySQL guestagent and you need to upgrade it, then you can bump the version for that datastore only and not for all other datastores. Of course, operators know that is not healthy to deal with different versions on the same environment and that it is expected to have the latest stable version on their environments, so I\u0027d assume they will upgrade other guest instances as they see fit.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"80057bc4fc48f89d4146dd163cb2fabbd1ec6816","unresolved":false,"context_lines":[{"line_number":37,"context_line":"in different nodes, an operator should be able to gradually upgrade those"},{"line_number":38,"context_line":"instances without requiring to stop all services and while having the guarantee"},{"line_number":39,"context_line":"that the communication between components will continue."},{"line_number":40,"context_line":"All communication, both in the simplest and more complex scenario, happens"},{"line_number":41,"context_line":"over RPC."},{"line_number":42,"context_line":"That means, we need to make sure that if something changes in the API for the"},{"line_number":43,"context_line":"different versions the nodes are able to handle those cases decently."},{"line_number":44,"context_line":"In order to make updating Trove a simpler and safer process, it\u0027s advisable"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_e4a6a9ac","line":41,"range":{"start_line":40,"start_character":0,"end_line":41,"end_character":9},"updated":"2016-05-11 14:42:09.000000000","message":"what does this mean?","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"569285f007fb57c1d79d526659dfd35251afa10a","unresolved":false,"context_lines":[{"line_number":37,"context_line":"in different nodes, an operator should be able to gradually upgrade those"},{"line_number":38,"context_line":"instances without requiring to stop all services and while having the guarantee"},{"line_number":39,"context_line":"that the communication between components will continue."},{"line_number":40,"context_line":"All communication, both in the simplest and more complex scenario, happens"},{"line_number":41,"context_line":"over RPC."},{"line_number":42,"context_line":"That means, we need to make sure that if something changes in the API for the"},{"line_number":43,"context_line":"different versions the nodes are able to handle those cases decently."},{"line_number":44,"context_line":"In order to make updating Trove a simpler and safer process, it\u0027s advisable"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_fc4559b3","line":41,"range":{"start_line":40,"start_character":0,"end_line":41,"end_character":9},"in_reply_to":"dab17558_e4a6a9ac","updated":"2016-05-12 20:18:01.000000000","message":"What I wanted to add here is that communication between components happens over RPC, considering simple scenario a deployment with one instance of each of the Trove components and complex scenario a, say, HA deployment with several instances for each of the Trove components. I\u0027ll rewrite it so it\u0027s clearer.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"80057bc4fc48f89d4146dd163cb2fabbd1ec6816","unresolved":false,"context_lines":[{"line_number":88,"context_line":"Public API"},{"line_number":89,"context_line":"----------"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"We need to modify the way the version_cap is being calculated in the apy.py"},{"line_number":92,"context_line":"files for each of the components, allowing operators to pin to a determined"},{"line_number":93,"context_line":"version and hence define which operations can be performed"},{"line_number":94,"context_line":"(in case of non-backwards compatible changes in the future)."}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_e457c955","line":91,"range":{"start_line":91,"start_character":69,"end_line":91,"end_character":75},"updated":"2016-05-11 14:42:09.000000000","message":"api.py","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"569285f007fb57c1d79d526659dfd35251afa10a","unresolved":false,"context_lines":[{"line_number":88,"context_line":"Public API"},{"line_number":89,"context_line":"----------"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"We need to modify the way the version_cap is being calculated in the apy.py"},{"line_number":92,"context_line":"files for each of the components, allowing operators to pin to a determined"},{"line_number":93,"context_line":"version and hence define which operations can be performed"},{"line_number":94,"context_line":"(in case of non-backwards compatible changes in the future)."}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_5c1105af","line":91,"range":{"start_line":91,"start_character":69,"end_line":91,"end_character":75},"in_reply_to":"dab17558_e457c955","updated":"2016-05-12 20:18:01.000000000","message":"Done","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"80057bc4fc48f89d4146dd163cb2fabbd1ec6816","unresolved":false,"context_lines":[{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Define proper version in manager.py for each of the components. At the moment"},{"line_number":121,"context_line":"of writing we are taking the version from a common module [0]_, after this"},{"line_number":122,"context_line":"change we will handle versioning independently. We will start from 1.0 and"},{"line_number":123,"context_line":"update that value for every change of the corresponding API."},{"line_number":124,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":125,"context_line":"considered."},{"line_number":126,"context_line":"We can use the upgrades criteria that is being used for Nova RPC APIs [1]_."}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_843d1ddf","line":123,"range":{"start_line":122,"start_character":48,"end_line":123,"end_character":60},"updated":"2016-05-11 14:42:09.000000000","message":"what kind(s) of changes will change the value?","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"896feb4acb66d5a3a9591d2bfe5c60f5cef79e42","unresolved":false,"context_lines":[{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Define proper version in manager.py for each of the components. At the moment"},{"line_number":121,"context_line":"of writing we are taking the version from a common module [0]_, after this"},{"line_number":122,"context_line":"change we will handle versioning independently. We will start from 1.0 and"},{"line_number":123,"context_line":"update that value for every change of the corresponding API."},{"line_number":124,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":125,"context_line":"considered."},{"line_number":126,"context_line":"We can use the upgrades criteria that is being used for Nova RPC APIs [1]_."}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_c66276ac","line":123,"range":{"start_line":122,"start_character":48,"end_line":123,"end_character":60},"in_reply_to":"dab17558_00352245","updated":"2016-05-18 16:01:50.000000000","message":"Fair point. Let\u0027s sum that up as any change that affects what goes over the wire requires a minor version bump. So if you merge a new requirement you wouldn\u0027t need to bump the version. I\u0027ll add this to the spec.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"523a44f6fab28ea3612068ae1df4fdc981785834","unresolved":false,"context_lines":[{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Define proper version in manager.py for each of the components. At the moment"},{"line_number":121,"context_line":"of writing we are taking the version from a common module [0]_, after this"},{"line_number":122,"context_line":"change we will handle versioning independently. We will start from 1.0 and"},{"line_number":123,"context_line":"update that value for every change of the corresponding API."},{"line_number":124,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":125,"context_line":"considered."},{"line_number":126,"context_line":"We can use the upgrades criteria that is being used for Nova RPC APIs [1]_."}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_00352245","line":123,"range":{"start_line":122,"start_character":48,"end_line":123,"end_character":60},"in_reply_to":"dab17558_7c484988","updated":"2016-05-13 14:13:07.000000000","message":"Suppose we merge new requirements, would you bump the version?\n\nWhat if the new requirements include a module that is potentially serialized as part of an RPC message?","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"569285f007fb57c1d79d526659dfd35251afa10a","unresolved":false,"context_lines":[{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Define proper version in manager.py for each of the components. At the moment"},{"line_number":121,"context_line":"of writing we are taking the version from a common module [0]_, after this"},{"line_number":122,"context_line":"change we will handle versioning independently. We will start from 1.0 and"},{"line_number":123,"context_line":"update that value for every change of the corresponding API."},{"line_number":124,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":125,"context_line":"considered."},{"line_number":126,"context_line":"We can use the upgrades criteria that is being used for Nova RPC APIs [1]_."}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_7c484988","line":123,"range":{"start_line":122,"start_character":48,"end_line":123,"end_character":60},"in_reply_to":"dab17558_843d1ddf","updated":"2016-05-12 20:18:01.000000000","message":"Minor changes like additive revisions are considered minor upgrades. Changes in which you can guarantee that the server can accept anything at a certain version back to the base level.\nChanges that affect compatibility with previous versions are considered major upgrades.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"80057bc4fc48f89d4146dd163cb2fabbd1ec6816","unresolved":false,"context_lines":[{"line_number":121,"context_line":"of writing we are taking the version from a common module [0]_, after this"},{"line_number":122,"context_line":"change we will handle versioning independently. We will start from 1.0 and"},{"line_number":123,"context_line":"update that value for every change of the corresponding API."},{"line_number":124,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":125,"context_line":"considered."},{"line_number":126,"context_line":"We can use the upgrades criteria that is being used for Nova RPC APIs [1]_."},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"Every change on the APIs should be reflected by doing a version bump and every"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_242f11a2","line":125,"range":{"start_line":124,"start_character":0,"end_line":125,"end_character":11},"updated":"2016-05-11 14:42:09.000000000","message":"and what was decided?","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"569285f007fb57c1d79d526659dfd35251afa10a","unresolved":false,"context_lines":[{"line_number":121,"context_line":"of writing we are taking the version from a common module [0]_, after this"},{"line_number":122,"context_line":"change we will handle versioning independently. We will start from 1.0 and"},{"line_number":123,"context_line":"update that value for every change of the corresponding API."},{"line_number":124,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":125,"context_line":"considered."},{"line_number":126,"context_line":"We can use the upgrades criteria that is being used for Nova RPC APIs [1]_."},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"Every change on the APIs should be reflected by doing a version bump and every"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_67fef206","line":125,"range":{"start_line":124,"start_character":0,"end_line":125,"end_character":11},"in_reply_to":"dab17558_242f11a2","updated":"2016-05-12 20:18:01.000000000","message":"This only specifies that we will be considering breaking and non breaking changes when doing upgrades.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"80057bc4fc48f89d4146dd163cb2fabbd1ec6816","unresolved":false,"context_lines":[{"line_number":123,"context_line":"update that value for every change of the corresponding API."},{"line_number":124,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":125,"context_line":"considered."},{"line_number":126,"context_line":"We can use the upgrades criteria that is being used for Nova RPC APIs [1]_."},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"Every change on the APIs should be reflected by doing a version bump and every"},{"line_number":129,"context_line":"API upgrade is independent between each of the components."}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_7f0b6424","line":126,"range":{"start_line":126,"start_character":0,"end_line":126,"end_character":75},"updated":"2016-05-11 14:42:09.000000000","message":"for a variety of reasons (including the fact that we could have guest agents of multiple versions), this criteria will not suffice for Trove.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"569285f007fb57c1d79d526659dfd35251afa10a","unresolved":false,"context_lines":[{"line_number":123,"context_line":"update that value for every change of the corresponding API."},{"line_number":124,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":125,"context_line":"considered."},{"line_number":126,"context_line":"We can use the upgrades criteria that is being used for Nova RPC APIs [1]_."},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"Every change on the APIs should be reflected by doing a version bump and every"},{"line_number":129,"context_line":"API upgrade is independent between each of the components."}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_a71f3a5a","line":126,"range":{"start_line":126,"start_character":0,"end_line":126,"end_character":75},"in_reply_to":"dab17558_7f0b6424","updated":"2016-05-12 20:18:01.000000000","message":"Could you expand on this? Why you say we cannot have different versions for the guest agents? Which other reasons are your thinking about?","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"523a44f6fab28ea3612068ae1df4fdc981785834","unresolved":false,"context_lines":[{"line_number":123,"context_line":"update that value for every change of the corresponding API."},{"line_number":124,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":125,"context_line":"considered."},{"line_number":126,"context_line":"We can use the upgrades criteria that is being used for Nova RPC APIs [1]_."},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"Every change on the APIs should be reflected by doing a version bump and every"},{"line_number":129,"context_line":"API upgrade is independent between each of the components."}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_e05c5e7f","line":126,"range":{"start_line":126,"start_character":0,"end_line":126,"end_character":75},"in_reply_to":"dab17558_a71f3a5a","updated":"2016-05-13 14:13:07.000000000","message":"see response on line 123","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"896feb4acb66d5a3a9591d2bfe5c60f5cef79e42","unresolved":false,"context_lines":[{"line_number":123,"context_line":"update that value for every change of the corresponding API."},{"line_number":124,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":125,"context_line":"considered."},{"line_number":126,"context_line":"We can use the upgrades criteria that is being used for Nova RPC APIs [1]_."},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"Every change on the APIs should be reflected by doing a version bump and every"},{"line_number":129,"context_line":"API upgrade is independent between each of the components."}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_46f686d7","line":126,"range":{"start_line":126,"start_character":0,"end_line":126,"end_character":75},"in_reply_to":"dab17558_e05c5e7f","updated":"2016-05-18 16:01:50.000000000","message":"Still I don\u0027t get why you say that the criteria being followed for Nova doesn\u0027t suffice for Trove.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"80057bc4fc48f89d4146dd163cb2fabbd1ec6816","unresolved":false,"context_lines":[{"line_number":131,"context_line":"Guest Agent"},{"line_number":132,"context_line":"-----------"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"None"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"Alternatives"},{"line_number":137,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_ff6634b9","line":134,"range":{"start_line":134,"start_character":0,"end_line":134,"end_character":4},"updated":"2016-05-11 14:42:09.000000000","message":"I don\u0027t know whether this can be true.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"896feb4acb66d5a3a9591d2bfe5c60f5cef79e42","unresolved":false,"context_lines":[{"line_number":131,"context_line":"Guest Agent"},{"line_number":132,"context_line":"-----------"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"None"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"Alternatives"},{"line_number":137,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_0cfc9870","line":134,"range":{"start_line":134,"start_character":0,"end_line":134,"end_character":4},"in_reply_to":"dab17558_20d666c3","updated":"2016-05-18 16:01:50.000000000","message":"Done","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"523a44f6fab28ea3612068ae1df4fdc981785834","unresolved":false,"context_lines":[{"line_number":131,"context_line":"Guest Agent"},{"line_number":132,"context_line":"-----------"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"None"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"Alternatives"},{"line_number":137,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_20d666c3","line":134,"range":{"start_line":134,"start_character":0,"end_line":134,"end_character":4},"in_reply_to":"dab17558_2a1caa76","updated":"2016-05-13 14:13:07.000000000","message":"no, there needs to be code on the guest agent which can handle multiple versions ...","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"e22bff310cc84681cd7d1634dc8be4b678cf4e29","unresolved":false,"context_lines":[{"line_number":131,"context_line":"Guest Agent"},{"line_number":132,"context_line":"-----------"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"None"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"Alternatives"},{"line_number":137,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_2a1caa76","line":134,"range":{"start_line":134,"start_character":0,"end_line":134,"end_character":4},"in_reply_to":"dab17558_875b162e","updated":"2016-05-12 20:50:48.000000000","message":"Not sure if I should add this here since it\u0027s included in the the Public API section.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"569285f007fb57c1d79d526659dfd35251afa10a","unresolved":false,"context_lines":[{"line_number":131,"context_line":"Guest Agent"},{"line_number":132,"context_line":"-----------"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"None"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"Alternatives"},{"line_number":137,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_875b162e","line":134,"range":{"start_line":134,"start_character":0,"end_line":134,"end_character":4},"in_reply_to":"dab17558_ff6634b9","updated":"2016-05-12 20:18:01.000000000","message":"Well yeah, we will need to change api.py to include their own versioning as well. Will fix it.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"80057bc4fc48f89d4146dd163cb2fabbd1ec6816","unresolved":false,"context_lines":[{"line_number":141,"context_line":"Dashboard Impact (UX)"},{"line_number":142,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"None"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"Implementation"},{"line_number":147,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_1f0338b9","line":144,"updated":"2016-05-11 14:42:09.000000000","message":"how does an operator know what version(s) of the various servers and their corresponding API versions are at any point in time?","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"569285f007fb57c1d79d526659dfd35251afa10a","unresolved":false,"context_lines":[{"line_number":141,"context_line":"Dashboard Impact (UX)"},{"line_number":142,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"None"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"Implementation"},{"line_number":147,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_19082a91","line":144,"in_reply_to":"dab17558_1f0338b9","updated":"2016-05-12 20:18:01.000000000","message":"AFAIK no component in OpenStack show the version in the Dashboard.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":10295,"name":"mariam john","email":"mariamj@us.ibm.com","username":"mariamj"},"change_message_id":"b0c256b1a9520418019763eea908cca9b3c7dab5","unresolved":false,"context_lines":[{"line_number":160,"context_line":""},{"line_number":161,"context_line":"Work Items"},{"line_number":162,"context_line":"----------"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Upgrade Implications"},{"line_number":166,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_8aaebb2b","line":163,"updated":"2016-05-11 17:23:34.000000000","message":"need to add some of the work items related to this feature","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"569285f007fb57c1d79d526659dfd35251afa10a","unresolved":false,"context_lines":[{"line_number":160,"context_line":""},{"line_number":161,"context_line":"Work Items"},{"line_number":162,"context_line":"----------"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Upgrade Implications"},{"line_number":166,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_3911aeb0","line":163,"in_reply_to":"dab17558_8aaebb2b","updated":"2016-05-12 20:18:01.000000000","message":"True that, will add it.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"80057bc4fc48f89d4146dd163cb2fabbd1ec6816","unresolved":false,"context_lines":[{"line_number":165,"context_line":"Upgrade Implications"},{"line_number":166,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"None"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"Dependencies"},{"line_number":171,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_3fd9dc57","line":168,"range":{"start_line":168,"start_character":0,"end_line":168,"end_character":4},"updated":"2016-05-11 14:42:09.000000000","message":"I believe that there will most definitely be upgrade implications.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"569285f007fb57c1d79d526659dfd35251afa10a","unresolved":false,"context_lines":[{"line_number":165,"context_line":"Upgrade Implications"},{"line_number":166,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"None"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"Dependencies"},{"line_number":171,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_0c1626a7","line":168,"range":{"start_line":168,"start_character":0,"end_line":168,"end_character":4},"in_reply_to":"dab17558_3fd9dc57","updated":"2016-05-12 20:18:01.000000000","message":"So... I understand this section as what should an operator take into account when doing an upgrade. In this sense, this is not a breaking change and won\u0027t have any implication unless an operator want to pin to a specific version and hence needs to specify the version in the config file. Please correct me if I\u0027m wrong.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":10295,"name":"mariam john","email":"mariamj@us.ibm.com","username":"mariamj"},"change_message_id":"b0c256b1a9520418019763eea908cca9b3c7dab5","unresolved":false,"context_lines":[{"line_number":174,"context_line":""},{"line_number":175,"context_line":"Testing"},{"line_number":176,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Documentation Impact"},{"line_number":180,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_4ab85375","line":177,"updated":"2016-05-11 17:23:34.000000000","message":"need to add some details regarding testing here.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"569285f007fb57c1d79d526659dfd35251afa10a","unresolved":false,"context_lines":[{"line_number":174,"context_line":""},{"line_number":175,"context_line":"Testing"},{"line_number":176,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Documentation Impact"},{"line_number":180,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_191caa76","line":177,"in_reply_to":"dab17558_4ab85375","updated":"2016-05-12 20:18:01.000000000","message":"Thanks, missed too.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"80057bc4fc48f89d4146dd163cb2fabbd1ec6816","unresolved":false,"context_lines":[{"line_number":176,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Documentation Impact"},{"line_number":180,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_bfccac89","line":179,"range":{"start_line":179,"start_character":0,"end_line":179,"end_character":20},"updated":"2016-05-11 14:42:09.000000000","message":"how will we document this and the upgrade process?","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"569285f007fb57c1d79d526659dfd35251afa10a","unresolved":false,"context_lines":[{"line_number":176,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Documentation Impact"},{"line_number":180,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_cf68908a","line":179,"range":{"start_line":179,"start_character":0,"end_line":179,"end_character":20},"in_reply_to":"dab17558_bfccac89","updated":"2016-05-12 20:18:01.000000000","message":"Will add some details on how we advice upgrades should be made.","commit_id":"5304e3a584b67e49fb5225112255622b52e5e4bd"},{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"acf9e6ed37764adfdba9f1d1c4e28e415e07fe7e","unresolved":false,"context_lines":[{"line_number":83,"context_line":"Database"},{"line_number":84,"context_line":"--------"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"None"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"Public API"},{"line_number":89,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"dab17558_19962f4c","line":86,"updated":"2016-05-13 19:31:32.000000000","message":"While there are no database changes envisioned in this spec, you should address the impact of database changes on upgrades.  In the case where the trove database is changed during the upgrade process (for example, adding a column to trove.instances), what is the impact on your envisioned upgrade process?  If you shut down one taskmanager to upgrade it, you would need to upgrade the database first - what would be the impact on other running, but not upgraded, taskmanager instances be?\n\nI suspect it would mostly be fine provided that sqlalchemy selects tables with fully specified column lists, but we should verify that.\n\nAlso, should a non-null column be added to an existing table, the rolling upgrade process would likely fail.  Should we take steps to prevent the addition of non-null columns?","commit_id":"b3ddc4e69644b688b163ea77efeae32b11eacf71"},{"author":{"_account_id":8932,"name":"Telles Mota Vidal Nóbrega","email":"tellesnobrega@gmail.com","username":"tellesnobrega"},"change_message_id":"8a31578631e1d2ef7a9ec1bfd43390a4060ee26c","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- Avoid downtime when upgrading components"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"- Guarantee interoperability for the different versions for the different components"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"This is even more important in multi-node environments in which you may have"},{"line_number":65,"context_line":"several instances for each of the Trove components running concurrently."}],"source_content_type":"text/x-rst","patch_set":3,"id":"bab6814e_3a089e2d","line":62,"updated":"2016-05-23 23:25:44.000000000","message":"This line is too long","commit_id":"c9fc151dca34f1e3fe0daa4a2d333ec78ab40271"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"60d365bcf4b57a324bc380f49dc1dab01827edc9","unresolved":false,"context_lines":[{"line_number":52,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Upgrades are a neccesary and unavoidable step in every deployment lifecycle."},{"line_number":55,"context_line":"Trove is composed by three components: trove-taskmanager, trove-conductor"},{"line_number":56,"context_line":"and trove-guestagent. So when planning an upgrade, we should be able to:"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"- Upgrade the different components progressively"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_8c46461f","line":56,"range":{"start_line":55,"start_character":39,"end_line":56,"end_character":21},"updated":"2016-05-25 18:40:34.000000000","message":"I would generally consider Trove API to be in this list as well.","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":13953,"name":"Elise Gafford","email":"egafford@redhat.com","username":"egafford"},"change_message_id":"f035b11cd464b7b6f2af5cd6ad248cb15e30fc7d","unresolved":false,"context_lines":[{"line_number":52,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Upgrades are a neccesary and unavoidable step in every deployment lifecycle."},{"line_number":55,"context_line":"Trove is composed by three components: trove-taskmanager, trove-conductor"},{"line_number":56,"context_line":"and trove-guestagent. So when planning an upgrade, we should be able to:"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"- Upgrade the different components progressively"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_e98d0432","line":56,"range":{"start_line":55,"start_character":39,"end_line":56,"end_character":21},"in_reply_to":"bab6814e_8c46461f","updated":"2016-05-26 19:12:17.000000000","message":"Does the Trove API receive RPC calls, or just pass back responses? If not, maybe we can just change the language here to read \"composed of three components which receive RPC API calls\"","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"5de251b20dc739403956ad234ac6d0ffe5790271","unresolved":false,"context_lines":[{"line_number":52,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Upgrades are a neccesary and unavoidable step in every deployment lifecycle."},{"line_number":55,"context_line":"Trove is composed by three components: trove-taskmanager, trove-conductor"},{"line_number":56,"context_line":"and trove-guestagent. So when planning an upgrade, we should be able to:"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"- Upgrade the different components progressively"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_a9993c7b","line":56,"range":{"start_line":55,"start_character":39,"end_line":56,"end_character":21},"in_reply_to":"bab6814e_8c46461f","updated":"2016-05-26 20:25:09.000000000","message":"I don\u0027t think RPC calls are ever sent to the Trove API. Looking at the code, I saw that Trove API is a WSGI Router that redirects the calls to different controllers. For those reasons, IMO it doesn\u0027t make sense to add it here.","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"e3f96747342a831475c78b88b3af43828082f5c8","unresolved":false,"context_lines":[{"line_number":52,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Upgrades are a neccesary and unavoidable step in every deployment lifecycle."},{"line_number":55,"context_line":"Trove is composed by three components: trove-taskmanager, trove-conductor"},{"line_number":56,"context_line":"and trove-guestagent. So when planning an upgrade, we should be able to:"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"- Upgrade the different components progressively"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_b56c969d","line":56,"range":{"start_line":55,"start_character":39,"end_line":56,"end_character":21},"in_reply_to":"bab6814e_a9993c7b","updated":"2016-05-27 13:16:07.000000000","message":"RPC calls don\u0027t get made to the Trove API service but Trove API service does make synchronous _call()\u0027s. If a task manager receives a call, how does it know what version of reply it is supposed to provide? Is it implied that the API service will understand whatever response the taskmanager were to provide?","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"60d365bcf4b57a324bc380f49dc1dab01827edc9","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- Avoid downtime when upgrading components"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"- Guarantee interoperability for the different versions for the different"},{"line_number":63,"context_line":"  components"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"This is even more important in multi-node environments in which you may have"},{"line_number":66,"context_line":"several instances for each of the Trove components running concurrently."}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_cc7cceb7","line":63,"range":{"start_line":62,"start_character":2,"end_line":63,"end_character":12},"updated":"2016-05-25 18:40:34.000000000","message":"so, does this spec really guarantee interoperability between different versions?","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"5de251b20dc739403956ad234ac6d0ffe5790271","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- Avoid downtime when upgrading components"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"- Guarantee interoperability for the different versions for the different"},{"line_number":63,"context_line":"  components"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"This is even more important in multi-node environments in which you may have"},{"line_number":66,"context_line":"several instances for each of the Trove components running concurrently."}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_497ff016","line":63,"range":{"start_line":62,"start_character":2,"end_line":63,"end_character":12},"in_reply_to":"bab6814e_cc7cceb7","updated":"2016-05-26 20:25:09.000000000","message":"Good question, I think it\u0027s more accurate to say that this spec aims to allows devs to build in interoperability. Will change this.","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":13953,"name":"Elise Gafford","email":"egafford@redhat.com","username":"egafford"},"change_message_id":"f035b11cd464b7b6f2af5cd6ad248cb15e30fc7d","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- Avoid downtime when upgrading components"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"- Guarantee interoperability for the different versions for the different"},{"line_number":63,"context_line":"  components"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"This is even more important in multi-node environments in which you may have"},{"line_number":66,"context_line":"several instances for each of the Trove components running concurrently."}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_09a208ae","line":63,"range":{"start_line":62,"start_character":2,"end_line":63,"end_character":12},"in_reply_to":"bab6814e_cc7cceb7","updated":"2016-05-26 19:12:17.000000000","message":"Reasonable question on the language; it provides a framework that allows devs to build in interoperability, but doesn\u0027t guarantee it.","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"60d365bcf4b57a324bc380f49dc1dab01827edc9","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Define proper version in manager.py for each of the components. At the moment"},{"line_number":112,"context_line":"of writing we are taking the version from a common module [0]_, after this"},{"line_number":113,"context_line":"change we will handle versioning independently. We will start from 1.0 and"},{"line_number":114,"context_line":"update that value for every change of the corresponding API."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_c7c30756","line":113,"range":{"start_line":113,"start_character":67,"end_line":113,"end_character":70},"updated":"2016-05-25 18:40:34.000000000","message":"looks like 1.0 is already in use so you have to start from something else.","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"5de251b20dc739403956ad234ac6d0ffe5790271","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Define proper version in manager.py for each of the components. At the moment"},{"line_number":112,"context_line":"of writing we are taking the version from a common module [0]_, after this"},{"line_number":113,"context_line":"change we will handle versioning independently. We will start from 1.0 and"},{"line_number":114,"context_line":"update that value for every change of the corresponding API."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_c99000f0","line":113,"range":{"start_line":113,"start_character":67,"end_line":113,"end_character":70},"in_reply_to":"bab6814e_c7c30756","updated":"2016-05-26 20:25:09.000000000","message":"Well, we haven\u0027t started with versioning yet, we could say this version is the current version and move from there.","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"60d365bcf4b57a324bc380f49dc1dab01827edc9","unresolved":false,"context_lines":[{"line_number":116,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":117,"context_line":"considered. The thumb-rule we need to follow in order to define which kind"},{"line_number":118,"context_line":"of upgrade we need to do is: any change that affects what goes over the wire"},{"line_number":119,"context_line":"requires a minor version bump. And, anything that is not compatible with the"},{"line_number":120,"context_line":"previous versions requires a major bump."},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"This version bumps have to be backed with version checks to make sure that we"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_47b397e9","line":119,"range":{"start_line":119,"start_character":53,"end_line":119,"end_character":68},"updated":"2016-05-25 18:40:34.000000000","message":"how do we define \u0027not compatible\u0027? Sometimes adding things is not compatible.\n\nWill there be some automation to catch a change without a version bump?","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":13953,"name":"Elise Gafford","email":"egafford@redhat.com","username":"egafford"},"change_message_id":"f035b11cd464b7b6f2af5cd6ad248cb15e30fc7d","unresolved":false,"context_lines":[{"line_number":116,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":117,"context_line":"considered. The thumb-rule we need to follow in order to define which kind"},{"line_number":118,"context_line":"of upgrade we need to do is: any change that affects what goes over the wire"},{"line_number":119,"context_line":"requires a minor version bump. And, anything that is not compatible with the"},{"line_number":120,"context_line":"previous versions requires a major bump."},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"This version bumps have to be backed with version checks to make sure that we"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_69a11494","line":119,"range":{"start_line":119,"start_character":53,"end_line":119,"end_character":68},"in_reply_to":"bab6814e_47b397e9","updated":"2016-05-26 19:12:17.000000000","message":"I haven\u0027t seen tooling that automagically checks api consistency in OpenStack, but Sahara\u0027d be interested if we find anything. I\u0027ll poke about.","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"5de251b20dc739403956ad234ac6d0ffe5790271","unresolved":false,"context_lines":[{"line_number":116,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":117,"context_line":"considered. The thumb-rule we need to follow in order to define which kind"},{"line_number":118,"context_line":"of upgrade we need to do is: any change that affects what goes over the wire"},{"line_number":119,"context_line":"requires a minor version bump. And, anything that is not compatible with the"},{"line_number":120,"context_line":"previous versions requires a major bump."},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"This version bumps have to be backed with version checks to make sure that we"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_84737d7f","line":119,"range":{"start_line":119,"start_character":53,"end_line":119,"end_character":68},"in_reply_to":"bab6814e_47b397e9","updated":"2016-05-26 20:25:09.000000000","message":"So backward compatibility is more or less always a judgment call. I don\u0027t think we can automate such thing.","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"60d365bcf4b57a324bc380f49dc1dab01827edc9","unresolved":false,"context_lines":[{"line_number":182,"context_line":"                 modules\u003dmodules }"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    if self.client.can_send_version(\u00271.1\u0027):"},{"line_number":185,"context_line":"            version \u003d \u00271.1\u0027"},{"line_number":186,"context_line":"            msg_args[\u0027locality\u0027] \u003d locality"},{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_a73fe323","line":185,"range":{"start_line":185,"start_character":12,"end_line":185,"end_character":19},"updated":"2016-05-25 18:40:34.000000000","message":"what do we use version for?","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"60d365bcf4b57a324bc380f49dc1dab01827edc9","unresolved":false,"context_lines":[{"line_number":185,"context_line":"            version \u003d \u00271.1\u0027"},{"line_number":186,"context_line":"            msg_args[\u0027locality\u0027] \u003d locality"},{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    self._cast(self.version_cap, msg_args)"},{"line_number":191,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_c744a7b8","line":188,"range":{"start_line":188,"start_character":12,"end_line":188,"end_character":19},"updated":"2016-05-25 18:40:34.000000000","message":"same question","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"60d365bcf4b57a324bc380f49dc1dab01827edc9","unresolved":false,"context_lines":[{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    self._cast(self.version_cap, msg_args)"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"We also need to modify the way the version_cap is being calculated in the"},{"line_number":193,"context_line":"api.py for each of the components, allowing operators to pin to a determined"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_87abbf1d","line":190,"range":{"start_line":190,"start_character":4,"end_line":190,"end_character":42},"updated":"2016-05-25 18:40:34.000000000","message":"but this provides no guarantee that a server receiving this will be able to process a v1.0 message if it is a v1.1 server.","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"0518690f4c1b5257522aec22be88a9e27c890b3f","unresolved":false,"context_lines":[{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    self._cast(self.version_cap, msg_args)"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"We also need to modify the way the version_cap is being calculated in the"},{"line_number":193,"context_line":"api.py for each of the components, allowing operators to pin to a determined"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9abb7d3a_3b7c1572","line":190,"range":{"start_line":190,"start_character":4,"end_line":190,"end_character":42},"in_reply_to":"bab6814e_49e410df","updated":"2016-05-27 13:47:27.000000000","message":"I think it would be good to provide an example of this as well.","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"5de251b20dc739403956ad234ac6d0ffe5790271","unresolved":false,"context_lines":[{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    self._cast(self.version_cap, msg_args)"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"We also need to modify the way the version_cap is being calculated in the"},{"line_number":193,"context_line":"api.py for each of the components, allowing operators to pin to a determined"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bab6814e_49e410df","line":190,"range":{"start_line":190,"start_character":4,"end_line":190,"end_character":42},"in_reply_to":"bab6814e_87abbf1d","updated":"2016-05-26 20:25:09.000000000","message":"We should send version instead of version_cap here. Will fix that.\nNow, in response to the concern arised here, in this example, why wouldn\u0027t it be compatible? I assume you are thinking about a change in which we remove a param. That would require other kind of upgrade and other handling of the situation.","commit_id":"c5b1325aaf0f88deb0b31236420ec9f8bbd0beea"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"76a7613504ab244100b46412dd59ad89ee8990be","unresolved":false,"context_lines":[{"line_number":37,"context_line":"in different nodes, an operator should be able to gradually upgrade those"},{"line_number":38,"context_line":"instances without requiring to stop all services and have the guarantee"},{"line_number":39,"context_line":"that the communication between components will continue."},{"line_number":40,"context_line":"Since all communication happens over RPC, the only thing we need to make sure"},{"line_number":41,"context_line":"to provide an operator with the mentioned upgrade flexibility is that"},{"line_number":42,"context_line":"if something changes in the RPC APIs for the different versions the nodes are"},{"line_number":43,"context_line":"able to handle the different calls decently."},{"line_number":44,"context_line":"In order to make updating Trove a simpler and safer process, it\u0027s advisable"},{"line_number":45,"context_line":"that we enforce a proper RPC APIs versioning."},{"line_number":46,"context_line":"This feature proposal aims to cover this."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_35ab868b","line":43,"range":{"start_line":40,"start_character":0,"end_line":43,"end_character":44},"updated":"2016-05-27 13:47:45.000000000","message":"The crux of the matter here is the following. This spec does not tell how one will be able to do this. Merely providing a version on some components in the system (I say some because even this spec does not include the API service) does not make this possible.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9500,"name":"Matt Fischer","email":"matt@mattfischer.com","username":"mfisch"},"change_message_id":"475cce3e4ae06c69cf10846e2c4c8458c37f583b","unresolved":false,"context_lines":[{"line_number":37,"context_line":"in different nodes, an operator should be able to gradually upgrade those"},{"line_number":38,"context_line":"instances without requiring to stop all services and have the guarantee"},{"line_number":39,"context_line":"that the communication between components will continue."},{"line_number":40,"context_line":"Since all communication happens over RPC, the only thing we need to make sure"},{"line_number":41,"context_line":"to provide an operator with the mentioned upgrade flexibility is that"},{"line_number":42,"context_line":"if something changes in the RPC APIs for the different versions the nodes are"},{"line_number":43,"context_line":"able to handle the different calls decently."},{"line_number":44,"context_line":"In order to make updating Trove a simpler and safer process, it\u0027s advisable"},{"line_number":45,"context_line":"that we enforce a proper RPC APIs versioning."},{"line_number":46,"context_line":"This feature proposal aims to cover this."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_c1cc378b","line":43,"range":{"start_line":40,"start_character":0,"end_line":43,"end_character":44},"in_reply_to":"9abb7d3a_2f404a56","updated":"2016-06-01 16:33:23.000000000","message":"Can you clarify what you mean by \"trove nodes\"? The real issue for operators are trove instances, run by our customers, not the Trove API nodes.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"fc30dc4fad2e413757dda6d14fe340f1004cedba","unresolved":false,"context_lines":[{"line_number":37,"context_line":"in different nodes, an operator should be able to gradually upgrade those"},{"line_number":38,"context_line":"instances without requiring to stop all services and have the guarantee"},{"line_number":39,"context_line":"that the communication between components will continue."},{"line_number":40,"context_line":"Since all communication happens over RPC, the only thing we need to make sure"},{"line_number":41,"context_line":"to provide an operator with the mentioned upgrade flexibility is that"},{"line_number":42,"context_line":"if something changes in the RPC APIs for the different versions the nodes are"},{"line_number":43,"context_line":"able to handle the different calls decently."},{"line_number":44,"context_line":"In order to make updating Trove a simpler and safer process, it\u0027s advisable"},{"line_number":45,"context_line":"that we enforce a proper RPC APIs versioning."},{"line_number":46,"context_line":"This feature proposal aims to cover this."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_2f404a56","line":43,"range":{"start_line":40,"start_character":0,"end_line":43,"end_character":44},"in_reply_to":"9abb7d3a_35ab868b","updated":"2016-05-27 17:34:26.000000000","message":"I\u0027m understanding that what you think it is missing is information wrt how a developer is supposed to code for compatibility. This will vary from case to case, as in, if you are adding a param to a method signature, then you need to make sure you ask for the version before sending or not that new param. Basically, as an example, the snippet in L184-190. What kind of extra information on this topic are you hoping to see detailed in this spec?","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"6e56fd9a296de2eb701827e6ae9d753076e3d338","unresolved":false,"context_lines":[{"line_number":37,"context_line":"in different nodes, an operator should be able to gradually upgrade those"},{"line_number":38,"context_line":"instances without requiring to stop all services and have the guarantee"},{"line_number":39,"context_line":"that the communication between components will continue."},{"line_number":40,"context_line":"Since all communication happens over RPC, the only thing we need to make sure"},{"line_number":41,"context_line":"to provide an operator with the mentioned upgrade flexibility is that"},{"line_number":42,"context_line":"if something changes in the RPC APIs for the different versions the nodes are"},{"line_number":43,"context_line":"able to handle the different calls decently."},{"line_number":44,"context_line":"In order to make updating Trove a simpler and safer process, it\u0027s advisable"},{"line_number":45,"context_line":"that we enforce a proper RPC APIs versioning."},{"line_number":46,"context_line":"This feature proposal aims to cover this."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_279eeeb8","line":43,"range":{"start_line":40,"start_character":0,"end_line":43,"end_character":44},"in_reply_to":"9abb7d3a_c1cc378b","updated":"2016-06-01 18:20:12.000000000","message":"I should let the OP answer, but my understanding is this would version the RPC interface between trove API nodes and the trove guest instances. This versioning is what you want to be able to support a particular RPC API for a measured amount of time so that you can avoid requiring an atomic upgrade of the api services (you do control) and the guest instances (which the user mostly does).","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"76a7613504ab244100b46412dd59ad89ee8990be","unresolved":false,"context_lines":[{"line_number":43,"context_line":"able to handle the different calls decently."},{"line_number":44,"context_line":"In order to make updating Trove a simpler and safer process, it\u0027s advisable"},{"line_number":45,"context_line":"that we enforce a proper RPC APIs versioning."},{"line_number":46,"context_line":"This feature proposal aims to cover this."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Launchpad Blueprint:"},{"line_number":49,"context_line":"https://blueprints.launchpad.net/trove/+spec/rpc-api-versioning"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_55c72a45","line":46,"range":{"start_line":46,"start_character":0,"end_line":46,"end_character":41},"updated":"2016-05-27 13:47:45.000000000","message":"Yes, this spec tells me how you intend to version the RPC but it doesn\u0027t tell me how this makes upgrades either simpler or safer.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"fc30dc4fad2e413757dda6d14fe340f1004cedba","unresolved":false,"context_lines":[{"line_number":43,"context_line":"able to handle the different calls decently."},{"line_number":44,"context_line":"In order to make updating Trove a simpler and safer process, it\u0027s advisable"},{"line_number":45,"context_line":"that we enforce a proper RPC APIs versioning."},{"line_number":46,"context_line":"This feature proposal aims to cover this."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Launchpad Blueprint:"},{"line_number":49,"context_line":"https://blueprints.launchpad.net/trove/+spec/rpc-api-versioning"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_6bf885e6","line":46,"range":{"start_line":46,"start_character":0,"end_line":46,"end_character":41},"in_reply_to":"9abb7d3a_55c72a45","updated":"2016-05-27 17:34:26.000000000","message":"I think it does. Upgrades are safer because you can rely on the versioning to perform an upgrade and be sure that you are not going to break your environment. Simpler... well, that\u0027s subjective. It depends on whose hat you are wearing. It is more complex for developers because we are adding overhead on how we code for compatibility, but from the operators view it will be easier to estimate if an upgrade will break or not their system and will allow them to make wiser decisions. Does that make sense?","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"76a7613504ab244100b46412dd59ad89ee8990be","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"- Upgrade the different components progressively"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- Avoid downtime when upgrading components"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"- Allow devs to build-in interoperability for the different versions"},{"line_number":63,"context_line":"  for the different components"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_101130ad","line":60,"range":{"start_line":60,"start_character":0,"end_line":60,"end_character":42},"updated":"2016-05-27 13:47:45.000000000","message":"I believe that this specification should show how this method can ensure that there is no downtime in upgrading components.\n\nAnd I believe that it cannot ensure that.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"d2ac1cf9e5e9f5bc092ca13df084cd3fbc8f234c","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"- Upgrade the different components progressively"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- Avoid downtime when upgrading components"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"- Allow devs to build-in interoperability for the different versions"},{"line_number":63,"context_line":"  for the different components"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_7d18be1e","line":60,"range":{"start_line":60,"start_character":0,"end_line":60,"end_character":42},"in_reply_to":"9abb7d3a_07c845a7","updated":"2016-05-31 20:47:15.000000000","message":"Because we\u0027ve added new data stores 11 times so far, starting with just MySQL. In my own experience we\u0027ve seen at least 6.\n\nThis, on the other hand, is totally different.\n\nI don\u0027t, for example, understand how this feature can even work (just by itself) if you don\u0027t version the API service. I provided a detailed example of that.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"fc30dc4fad2e413757dda6d14fe340f1004cedba","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"- Upgrade the different components progressively"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- Avoid downtime when upgrading components"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"- Allow devs to build-in interoperability for the different versions"},{"line_number":63,"context_line":"  for the different components"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_6e1413f5","line":60,"range":{"start_line":60,"start_character":0,"end_line":60,"end_character":42},"in_reply_to":"9abb7d3a_101130ad","updated":"2016-05-27 17:34:26.000000000","message":"Given that this spec is not implementing rolling upgrades but a subset of it, it maybe makes sense to clarify that in the event of a RPC API change then you will be able to perform an upgrade with no downtime, but if there is some other change (say, in the controller db) then you will probably have some downtime. Will fix that.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"a4075c7d6d5a6209f8ab0cb024df5876e49039d6","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"- Upgrade the different components progressively"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- Avoid downtime when upgrading components"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"- Allow devs to build-in interoperability for the different versions"},{"line_number":63,"context_line":"  for the different components"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_11bac823","line":60,"range":{"start_line":60,"start_character":0,"end_line":60,"end_character":42},"in_reply_to":"9abb7d3a_101130ad","updated":"2016-05-27 17:47:13.000000000","message":"Why is that? I think there are many assumptions in this spec that imply mirroring the strategies used by the other projects that have accomplished (or are on that path), so a request for more detail seems appropriate to me. Are you saying that Trove is somehow fundamentally unable to provide these guarantees? Or just that simply adding a configuration element for a version pin won\u0027t magically solve the problem? I\u0027m sure the proposer has more in mind than hoping for magic :D","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"1c0fd5935c398e8beab4c459fc6a22d31e87819c","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"- Upgrade the different components progressively"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- Avoid downtime when upgrading components"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"- Allow devs to build-in interoperability for the different versions"},{"line_number":63,"context_line":"  for the different components"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_2602be0b","line":60,"range":{"start_line":60,"start_character":0,"end_line":60,"end_character":42},"in_reply_to":"9abb7d3a_11bac823","updated":"2016-05-31 14:58:12.000000000","message":"I\u0027m observing that this project is just one small step in the path to something bigger. And we are proposing a very specific set of changes as that \"small step\" and asking that people comment on it without knowing for sure how this fits into the bigger picture.\n\nYes, version pinning won\u0027t solve the whole problem and while the proposer isn\u0027t hoping for magic, it is almost as though the proposer is hoping for blind faith; aka \u0027trust me, this is the first step and all will be revealed later\u0027.\n\nI don\u0027t believe in such messianic appeals.\n\nTo most other reviewers, I\u0027d simply point to the complexities in this process and tell them to go and read http://www.danplanet.com/blog/2015/06/26/upgrading-nova-to-kilo-with-minimal-downtime/. But I won\u0027t bother telling you that Dan Smith. I suspect you know a thing or two about this subject (or have one heck of a good ghost writer).\n\nI will also observe that the challenge(s) in Trove are considerably worse than other projects because there is potentially some number of orders of magnitude more guest agents than there are, for example Nova compute nodes. And all of these guest agents need to be upgraded for this scheme to work.\n\nHence, I\u0027d like to see the big picture and what (if anything) this project will achieve, and how it fits in the big picture.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"07400629dea9bb49c1c5faf0df1bdd4a13b2d28b","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"- Upgrade the different components progressively"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- Avoid downtime when upgrading components"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"- Allow devs to build-in interoperability for the different versions"},{"line_number":63,"context_line":"  for the different components"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_a7d6994c","line":60,"range":{"start_line":60,"start_character":0,"end_line":60,"end_character":42},"in_reply_to":"9abb7d3a_15123009","updated":"2016-05-31 19:52:47.000000000","message":"That\u0027d be a negative.\n\nI would like to know what the big picture is in the context of Trove because that big picture doesn\u0027t look the same as other projects.\n\nHow would one know whether this versioning approach is (or is not necessarily) the best approach for Trove?","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"f766cc599c26fec613f8150cfb7e1b89a2f97eae","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"- Upgrade the different components progressively"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- Avoid downtime when upgrading components"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"- Allow devs to build-in interoperability for the different versions"},{"line_number":63,"context_line":"  for the different components"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_07c845a7","line":60,"range":{"start_line":60,"start_character":0,"end_line":60,"end_character":42},"in_reply_to":"9abb7d3a_2602be0b","updated":"2016-05-31 20:07:46.000000000","message":"\u003e I\u0027m observing that this project is just one small step in the path to something bigger. And we are proposing a very specific set of changes as that \"small step\" and asking that people comment on it without knowing for sure how this fits into the bigger picture.\n\nMost of the changes we propose for Trove are this way. For instance, when you add support for a new datastore, we usually propose adding support for main endpoints (say, database management, users management) and then we add, in a different spec, support for other endpoints (say, configuration groups).\n\nWhy is in this case different?\n\nRPC API Versioning is a required change in order to achieve rolling upgrades in the future, but it\u0027s not the only change we need.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"224a67cff9f7af8d5fccd597e92787cb93509294","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"- Upgrade the different components progressively"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- Avoid downtime when upgrading components"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"- Allow devs to build-in interoperability for the different versions"},{"line_number":63,"context_line":"  for the different components"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_15123009","line":60,"range":{"start_line":60,"start_character":0,"end_line":60,"end_character":42},"in_reply_to":"9abb7d3a_2602be0b","updated":"2016-05-31 18:49:04.000000000","message":"I think what you\u0027re saying is that you know how this big picture looks (from what you know of the other projects) but you want it fully documented here, is that right? I\u0027m not sure how trove specs normally look, but the big picture is larger than one spec. Versioning the RPC interface is an incremental step, as is getting a handle on your database upgrades, etc. Squashing it all into one spec would make it pretty unreviewable (and unachievable in a small number of cycles). However, if you\u0027re looking for some amount of the whole picture to be laid out before any amount of work gets done, then I suppose that it your call :)\n\nTo your later point, I\u0027m not sure how trove is fundamentally any different from other projects, except maybe that the agents are not easily upgradeable by an admin in a particular timeframe (although I\u0027m not sure about that). Either way, that makes the requirement for strict versioning of the interface and extreme attention to detail on the incremental behavior changes all the more important.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"1427e843f25b2a2b424d1653c89b27383cecdffb","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"- Upgrade the different components progressively"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"- Avoid downtime when upgrading components"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"- Allow devs to build-in interoperability for the different versions"},{"line_number":63,"context_line":"  for the different components"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_e03567db","line":60,"range":{"start_line":60,"start_character":0,"end_line":60,"end_character":42},"in_reply_to":"9abb7d3a_7d18be1e","updated":"2016-06-03 17:53:51.000000000","message":"Yeah, this spec seems to be part big picture, but incomplete, and part limited feature to get us towards the bug picture. It should probably be one or the other.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"a4075c7d6d5a6209f8ab0cb024df5876e49039d6","unresolved":false,"context_lines":[{"line_number":74,"context_line":"Configuration"},{"line_number":75,"context_line":"-------------"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"A configuration option pinned_version will be added for all the Trove"},{"line_number":78,"context_line":"components."},{"line_number":79,"context_line":"This option will expect operators to specify the version they want to"},{"line_number":80,"context_line":"pin to during an upgrade. In case of not defining this option, the version"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_f148e45d","line":77,"updated":"2016-05-27 17:47:13.000000000","message":"I would recommend that you go with an upgrade_levels group, and service names as keys inside to be more in line with what other projects have done that are pursuing this approach.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"f766cc599c26fec613f8150cfb7e1b89a2f97eae","unresolved":false,"context_lines":[{"line_number":74,"context_line":"Configuration"},{"line_number":75,"context_line":"-------------"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"A configuration option pinned_version will be added for all the Trove"},{"line_number":78,"context_line":"components."},{"line_number":79,"context_line":"This option will expect operators to specify the version they want to"},{"line_number":80,"context_line":"pin to during an upgrade. In case of not defining this option, the version"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_a73df990","line":77,"in_reply_to":"9abb7d3a_9f7644a2","updated":"2016-05-31 20:07:46.000000000","message":"Will fix this, I\u0027d rather keep consistency.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"1427e843f25b2a2b424d1653c89b27383cecdffb","unresolved":false,"context_lines":[{"line_number":74,"context_line":"Configuration"},{"line_number":75,"context_line":"-------------"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"A configuration option pinned_version will be added for all the Trove"},{"line_number":78,"context_line":"components."},{"line_number":79,"context_line":"This option will expect operators to specify the version they want to"},{"line_number":80,"context_line":"pin to during an upgrade. In case of not defining this option, the version"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_b8e0b9fb","line":77,"in_reply_to":"9abb7d3a_a73df990","updated":"2016-06-03 17:53:51.000000000","message":"While that might be ok for the the controllers, it will be painful for ops for the guest agents. It makes the guest agent upgrade path take two steps. one to upgrade the software pined, and then a second to remove/update the pin.\n\nWe should think of a better way to handle this more automatically if possible. Maybe have the flag on the controllers only and have the guest agents ask for it at startup, and get handed it back on keepalives or something so it knows when the controllers get upgraded and can then unpin itself?\n\nThe upgrade procedure can then be something like:\n1. update the images to have N+1 guest agent.\n2. upgrade all the trove-guest agents from N to N+1.\n3. pin all the versions in the api config to N\n4. upgrade the controllers one at a time to N+1\n5. schema update live\n6. remove the pin and restart controllers one at a time.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"43fa87dc20ab9862d317882d015b7e79b42c3d8f","unresolved":false,"context_lines":[{"line_number":74,"context_line":"Configuration"},{"line_number":75,"context_line":"-------------"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"A configuration option pinned_version will be added for all the Trove"},{"line_number":78,"context_line":"components."},{"line_number":79,"context_line":"This option will expect operators to specify the version they want to"},{"line_number":80,"context_line":"pin to during an upgrade. In case of not defining this option, the version"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_e021e7fd","line":77,"in_reply_to":"9abb7d3a_b8e0b9fb","updated":"2016-06-03 17:58:47.000000000","message":"Do the guest agents make rpc calls to other guest agents? if not, then you\u0027d never need to pin them to anything. As long as your control infrastructure is newer then you\u0027re fine.\n\nIn nova, we have to pin the computes because they can talk to each other for things like migrations (although they now determine the pin automatically based on a survey of the supported versions). However, we never, for example, need to pin the scheduler because it doesn\u0027t talk to anything that can be downlevel.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"c34c4be0bc05257c4315b33d6a4b5edb3259be64","unresolved":false,"context_lines":[{"line_number":74,"context_line":"Configuration"},{"line_number":75,"context_line":"-------------"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"A configuration option pinned_version will be added for all the Trove"},{"line_number":78,"context_line":"components."},{"line_number":79,"context_line":"This option will expect operators to specify the version they want to"},{"line_number":80,"context_line":"pin to during an upgrade. In case of not defining this option, the version"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_3e2f873f","line":77,"in_reply_to":"9abb7d3a_e021e7fd","updated":"2016-06-03 20:12:14.000000000","message":"The guest does make RPC calls (to the conductor). But that aside.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"1c0fd5935c398e8beab4c459fc6a22d31e87819c","unresolved":false,"context_lines":[{"line_number":74,"context_line":"Configuration"},{"line_number":75,"context_line":"-------------"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"A configuration option pinned_version will be added for all the Trove"},{"line_number":78,"context_line":"components."},{"line_number":79,"context_line":"This option will expect operators to specify the version they want to"},{"line_number":80,"context_line":"pin to during an upgrade. In case of not defining this option, the version"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_fa55e6f9","line":77,"in_reply_to":"9abb7d3a_f148e45d","updated":"2016-05-31 14:58:12.000000000","message":"A rose by any name will smell as sweet. aka what\u0027s in a name?","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"224a67cff9f7af8d5fccd597e92787cb93509294","unresolved":false,"context_lines":[{"line_number":74,"context_line":"Configuration"},{"line_number":75,"context_line":"-------------"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"A configuration option pinned_version will be added for all the Trove"},{"line_number":78,"context_line":"components."},{"line_number":79,"context_line":"This option will expect operators to specify the version they want to"},{"line_number":80,"context_line":"pin to during an upgrade. In case of not defining this option, the version"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_9f7644a2","line":77,"in_reply_to":"9abb7d3a_fa55e6f9","updated":"2016-05-31 18:49:04.000000000","message":"Um, consistency for operators? Unless there is some good reason to intentionally be a snowflake I think that being consistent with three other projects is probably a good idea :)","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"76a7613504ab244100b46412dd59ad89ee8990be","unresolved":false,"context_lines":[{"line_number":113,"context_line":"change we will handle versioning independently. We will start from 1.0 and"},{"line_number":114,"context_line":"update that value for every change of the corresponding API."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":117,"context_line":"considered. The thumb-rule we need to follow in order to define which kind"},{"line_number":118,"context_line":"of upgrade we need to do is: any change that affects what goes over the wire"},{"line_number":119,"context_line":"requires a minor version bump. And, anything that is not compatible with the"},{"line_number":120,"context_line":"previous versions requires a major bump."},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"This version bumps have to be backed with version checks to make sure that we"},{"line_number":123,"context_line":"can safely pass a message. This is a new responsibility that Trove developers"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_d5cb1a1d","line":120,"range":{"start_line":116,"start_character":0,"end_line":120,"end_character":40},"updated":"2016-05-27 13:47:45.000000000","message":"consider the change being proposed here:\n\nhttps://review.openstack.org/#/c/290907/\n\nTrove wraps oslo context in Trove Context. We send Trove Context over the wire. Suppose the change mentioned above were to merge, all that Trove would see is a change in the requirements.txt (maybe not even that).\n\nWould we consider this to be a version change?\n\nWould we consider this to be a minor change or a major change?","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"1c0fd5935c398e8beab4c459fc6a22d31e87819c","unresolved":false,"context_lines":[{"line_number":113,"context_line":"change we will handle versioning independently. We will start from 1.0 and"},{"line_number":114,"context_line":"update that value for every change of the corresponding API."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":117,"context_line":"considered. The thumb-rule we need to follow in order to define which kind"},{"line_number":118,"context_line":"of upgrade we need to do is: any change that affects what goes over the wire"},{"line_number":119,"context_line":"requires a minor version bump. And, anything that is not compatible with the"},{"line_number":120,"context_line":"previous versions requires a major bump."},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"This version bumps have to be backed with version checks to make sure that we"},{"line_number":123,"context_line":"can safely pass a message. This is a new responsibility that Trove developers"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_5ae35233","line":120,"range":{"start_line":116,"start_character":0,"end_line":120,"end_character":40},"in_reply_to":"9abb7d3a_513730b0","updated":"2016-05-31 14:58:12.000000000","message":"Which is why I asked the question; we got bit by the last iteration of this kind of thing and I realize that this is the *ONLY* such example of an external data structure that we serialize in an RPC message. Yet, I must observe that the response provided (that this won\u0027t require a version change) is, as you observe Dan, wrong. This is a breaking change and would be a major version change.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"224a67cff9f7af8d5fccd597e92787cb93509294","unresolved":false,"context_lines":[{"line_number":113,"context_line":"change we will handle versioning independently. We will start from 1.0 and"},{"line_number":114,"context_line":"update that value for every change of the corresponding API."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":117,"context_line":"considered. The thumb-rule we need to follow in order to define which kind"},{"line_number":118,"context_line":"of upgrade we need to do is: any change that affects what goes over the wire"},{"line_number":119,"context_line":"requires a minor version bump. And, anything that is not compatible with the"},{"line_number":120,"context_line":"previous versions requires a major bump."},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"This version bumps have to be backed with version checks to make sure that we"},{"line_number":123,"context_line":"can safely pass a message. This is a new responsibility that Trove developers"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_dfc8ccaa","line":120,"range":{"start_line":116,"start_character":0,"end_line":120,"end_character":40},"in_reply_to":"9abb7d3a_5ae35233","updated":"2016-05-31 18:49:04.000000000","message":"Is it? You seem to encode dicts in calls below. Those are the only kinds of structures nova has ever sent over the wire and were the subject of a multi-year effort to version and stabilize :)","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"a4075c7d6d5a6209f8ab0cb024df5876e49039d6","unresolved":false,"context_lines":[{"line_number":113,"context_line":"change we will handle versioning independently. We will start from 1.0 and"},{"line_number":114,"context_line":"update that value for every change of the corresponding API."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":117,"context_line":"considered. The thumb-rule we need to follow in order to define which kind"},{"line_number":118,"context_line":"of upgrade we need to do is: any change that affects what goes over the wire"},{"line_number":119,"context_line":"requires a minor version bump. And, anything that is not compatible with the"},{"line_number":120,"context_line":"previous versions requires a major bump."},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"This version bumps have to be backed with version checks to make sure that we"},{"line_number":123,"context_line":"can safely pass a message. This is a new responsibility that Trove developers"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_513730b0","line":120,"range":{"start_line":116,"start_character":0,"end_line":120,"end_character":40},"in_reply_to":"9abb7d3a_d5cb1a1d","updated":"2016-05-27 17:47:13.000000000","message":"That spec would be breaking for most projects that currently support mixed-version RPC communication. That\u0027s a very special kind of change and one that requires a lot of thought and communication.\n\nHowever, that\u0027s not a typical scenario for making an incremental RPC change to enable a new feature, which I\u0027m sure is what the proposer is suggesting.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"fc30dc4fad2e413757dda6d14fe340f1004cedba","unresolved":false,"context_lines":[{"line_number":113,"context_line":"change we will handle versioning independently. We will start from 1.0 and"},{"line_number":114,"context_line":"update that value for every change of the corresponding API."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":117,"context_line":"considered. The thumb-rule we need to follow in order to define which kind"},{"line_number":118,"context_line":"of upgrade we need to do is: any change that affects what goes over the wire"},{"line_number":119,"context_line":"requires a minor version bump. And, anything that is not compatible with the"},{"line_number":120,"context_line":"previous versions requires a major bump."},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"This version bumps have to be backed with version checks to make sure that we"},{"line_number":123,"context_line":"can safely pass a message. This is a new responsibility that Trove developers"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_b1c13c83","line":120,"range":{"start_line":116,"start_character":0,"end_line":120,"end_character":40},"in_reply_to":"9abb7d3a_d5cb1a1d","updated":"2016-05-27 17:34:26.000000000","message":"This should transparent for Trove users. As you said, Trove wraps oslo.context. And no change occurs in the RPC API for Trove. So, no, this wouldn\u0027t require a version change.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"07400629dea9bb49c1c5faf0df1bdd4a13b2d28b","unresolved":false,"context_lines":[{"line_number":113,"context_line":"change we will handle versioning independently. We will start from 1.0 and"},{"line_number":114,"context_line":"update that value for every change of the corresponding API."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Non-breaking (minor upgrades) and breaking (major upgrades) are being"},{"line_number":117,"context_line":"considered. The thumb-rule we need to follow in order to define which kind"},{"line_number":118,"context_line":"of upgrade we need to do is: any change that affects what goes over the wire"},{"line_number":119,"context_line":"requires a minor version bump. And, anything that is not compatible with the"},{"line_number":120,"context_line":"previous versions requires a major bump."},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"This version bumps have to be backed with version checks to make sure that we"},{"line_number":123,"context_line":"can safely pass a message. This is a new responsibility that Trove developers"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_073fa587","line":120,"range":{"start_line":116,"start_character":0,"end_line":120,"end_character":40},"in_reply_to":"9abb7d3a_dfc8ccaa","updated":"2016-05-31 19:52:47.000000000","message":"Sorry, the only data structures not owned 100% by trove.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"a4075c7d6d5a6209f8ab0cb024df5876e49039d6","unresolved":false,"context_lines":[{"line_number":125,"context_line":"in Oslo Messaging [1]_."},{"line_number":126,"context_line":"As an example, imagine that:"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"1. In API v1.0 for Trove you have the create_instance() method signature as"},{"line_number":129,"context_line":"   follows:"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":".. code-block:: python"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_b1481c2f","line":128,"range":{"start_line":128,"start_character":6,"end_line":128,"end_character":9},"updated":"2016-05-27 17:47:13.000000000","message":"I would s/API/RPC/ to avoid confusion with the \"really important\" API (i.e. the external REST API).","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"f766cc599c26fec613f8150cfb7e1b89a2f97eae","unresolved":false,"context_lines":[{"line_number":125,"context_line":"in Oslo Messaging [1]_."},{"line_number":126,"context_line":"As an example, imagine that:"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"1. In API v1.0 for Trove you have the create_instance() method signature as"},{"line_number":129,"context_line":"   follows:"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":".. code-block:: python"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_a7c05951","line":128,"range":{"start_line":128,"start_character":6,"end_line":128,"end_character":9},"in_reply_to":"9abb7d3a_b1481c2f","updated":"2016-05-31 20:07:46.000000000","message":"Sure, will fix this.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"a4075c7d6d5a6209f8ab0cb024df5876e49039d6","unresolved":false,"context_lines":[{"line_number":137,"context_line":"                        cluster_config, volume_type):"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"2. In API v1.1 for Trove we will have support for cluster locality, and"},{"line_number":140,"context_line":"   we need to change the signature of that method adding the \"locality\""},{"line_number":141,"context_line":"   parameter. It will look like this:"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":".. code-block:: python"},{"line_number":144,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_b123fc04","line":141,"range":{"start_line":140,"start_character":50,"end_line":141,"end_character":12},"updated":"2016-05-27 17:47:13.000000000","message":"This is the simplest case (which is fine to start). It quickly gets complex when you have any other data structures other than primitives as arguments to an RPC method. Something like o.vo can provide you a vehicle to version and mechanically backport such structures to earlier representations. I\u0027m not sure what \"cluster_config\" is in your argument list above, but I\u0027m guessing it might be something worth looking at as a more complicated example.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"1c0fd5935c398e8beab4c459fc6a22d31e87819c","unresolved":false,"context_lines":[{"line_number":137,"context_line":"                        cluster_config, volume_type):"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"2. In API v1.1 for Trove we will have support for cluster locality, and"},{"line_number":140,"context_line":"   we need to change the signature of that method adding the \"locality\""},{"line_number":141,"context_line":"   parameter. It will look like this:"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":".. code-block:: python"},{"line_number":144,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_da12a208","line":141,"range":{"start_line":140,"start_character":50,"end_line":141,"end_character":12},"in_reply_to":"9abb7d3a_b123fc04","updated":"2016-05-31 14:58:12.000000000","message":"Absolutely; this example is both trivial and also (IMHO) incorrect. See later comments.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"76a7613504ab244100b46412dd59ad89ee8990be","unresolved":false,"context_lines":[{"line_number":149,"context_line":"                        cluster_config, volume_type, locality):"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"On an upgrade process, while we are performing the upgrade we are going to have"},{"line_number":152,"context_line":"Trove task manager instances in v1.0 and others in v1.1. What if an instance"},{"line_number":153,"context_line":"that is in v1.0 receives a call with the locality param?"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"3. In order to complete the task, we need to add the following control in the"},{"line_number":156,"context_line":"   method:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_b5aad617","line":153,"range":{"start_line":152,"start_character":57,"end_line":153,"end_character":56},"updated":"2016-05-27 13:47:45.000000000","message":"The call would fail as python would complain that there are too many parameters.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"1c0fd5935c398e8beab4c459fc6a22d31e87819c","unresolved":false,"context_lines":[{"line_number":149,"context_line":"                        cluster_config, volume_type, locality):"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"On an upgrade process, while we are performing the upgrade we are going to have"},{"line_number":152,"context_line":"Trove task manager instances in v1.0 and others in v1.1. What if an instance"},{"line_number":153,"context_line":"that is in v1.0 receives a call with the locality param?"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"3. In order to complete the task, we need to add the following control in the"},{"line_number":156,"context_line":"   method:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_5a16b2f1","line":153,"range":{"start_line":152,"start_character":57,"end_line":153,"end_character":56},"in_reply_to":"9abb7d3a_712b5431","updated":"2016-05-31 14:58:12.000000000","message":"Dan is right, see later why I think this example is fraught with problems.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"fc30dc4fad2e413757dda6d14fe340f1004cedba","unresolved":false,"context_lines":[{"line_number":149,"context_line":"                        cluster_config, volume_type, locality):"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"On an upgrade process, while we are performing the upgrade we are going to have"},{"line_number":152,"context_line":"Trove task manager instances in v1.0 and others in v1.1. What if an instance"},{"line_number":153,"context_line":"that is in v1.0 receives a call with the locality param?"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"3. In order to complete the task, we need to add the following control in the"},{"line_number":156,"context_line":"   method:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_ce541f56","line":153,"range":{"start_line":152,"start_character":57,"end_line":153,"end_character":56},"in_reply_to":"9abb7d3a_b5aad617","updated":"2016-05-27 17:34:26.000000000","message":"It\u0027s a rhetorical question.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":13953,"name":"Elise Gafford","email":"egafford@redhat.com","username":"egafford"},"change_message_id":"4c70f6241d4244a092c67abc972539e698314127","unresolved":false,"context_lines":[{"line_number":149,"context_line":"                        cluster_config, volume_type, locality):"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"On an upgrade process, while we are performing the upgrade we are going to have"},{"line_number":152,"context_line":"Trove task manager instances in v1.0 and others in v1.1. What if an instance"},{"line_number":153,"context_line":"that is in v1.0 receives a call with the locality param?"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"3. In order to complete the task, we need to add the following control in the"},{"line_number":156,"context_line":"   method:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_ea5598c6","line":153,"range":{"start_line":152,"start_character":57,"end_line":153,"end_character":56},"in_reply_to":"9abb7d3a_b5aad617","updated":"2016-05-27 14:40:05.000000000","message":"Truth (but vkmc rhetorically agrees with you).","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"a4075c7d6d5a6209f8ab0cb024df5876e49039d6","unresolved":false,"context_lines":[{"line_number":149,"context_line":"                        cluster_config, volume_type, locality):"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"On an upgrade process, while we are performing the upgrade we are going to have"},{"line_number":152,"context_line":"Trove task manager instances in v1.0 and others in v1.1. What if an instance"},{"line_number":153,"context_line":"that is in v1.0 receives a call with the locality param?"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"3. In order to complete the task, we need to add the following control in the"},{"line_number":156,"context_line":"   method:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_712b5431","line":153,"range":{"start_line":152,"start_character":57,"end_line":153,"end_character":56},"in_reply_to":"9abb7d3a_ea5598c6","updated":"2016-05-27 17:47:13.000000000","message":"Is this code on the receiving or sending side?\n\nThe receiving side would have to set a default for locality, and handle the case where it was not provided (which is presumably not hard for an incremental feature like this).\n\nThe sending side, if pinned to 1.0, will need to make a decision. It can omit the argument, which will satisfy the 1.0 receivers, and rely on the default for the 1.1 receivers. Alternately, if a request for locality\u003d$something is not something you can safely ignore or default for older machines, then it raises an exception, caught by the higher layers, which may return a 4xx code to the client indicating the unavailability of the feature, mark a task as failed, etc.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"76a7613504ab244100b46412dd59ad89ee8990be","unresolved":false,"context_lines":[{"line_number":181,"context_line":"                 volume_type\u003dvolume_type,"},{"line_number":182,"context_line":"                 modules\u003dmodules }"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    if self.client.can_send_version(\u00271.1\u0027):"},{"line_number":185,"context_line":"            version \u003d \u00271.1\u0027"},{"line_number":186,"context_line":"            msg_args[\u0027locality\u0027] \u003d locality"},{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    self._cast(version, msg_args)"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"We also need to modify the way the version_cap is being calculated in the"},{"line_number":193,"context_line":"api.py for each of the components, allowing operators to pin to a determined"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_fb256dae","line":190,"range":{"start_line":184,"start_character":1,"end_line":190,"end_character":33},"updated":"2016-05-27 13:47:45.000000000","message":"and what of the code on the other side?\n\nwhen a version 1.1 task manager receives a request, it will assume that there is a locality parameter.\n\nin the example you provide, consider a situation where everyone is at v1.0 to begin with. There\u0027s no locality anywhere.\n\nThen you pin the task manager version to v1.0 (by making a change in what?). The API service needs to know that the task manager is being pinned at v1.0. \n\nThen ostensibly you stop a task manager and launch a new v1.1 task manager. But somehow it understands that it is being pinned at v1.0.\n\nYou do that one at a time and you stop all task managers and restart them. They all believe that they are being pinned at v1.0.\n\nThen you restart each of the API services. They all know that the task manager is running at version 1.0.\n\nSo, suppose someone comes along and executes trove create.\n\nThen the API service receives a post on some URI and decides that it needs to invoke the task manager method.\n\nThe code above says the task manager is pinned at v1.0 and therefore does not add a locality parameter.\n\nIt sends over a v1.0 message to the TM.\n\nBut the TM is a v1.1 TM and expects a task manager. You show me no code changes in the task manager and therefore I assume that there is no change required there relative to this version capping scheme.\n\nAnd the task manager will look for locality and die.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"f766cc599c26fec613f8150cfb7e1b89a2f97eae","unresolved":false,"context_lines":[{"line_number":181,"context_line":"                 volume_type\u003dvolume_type,"},{"line_number":182,"context_line":"                 modules\u003dmodules }"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    if self.client.can_send_version(\u00271.1\u0027):"},{"line_number":185,"context_line":"            version \u003d \u00271.1\u0027"},{"line_number":186,"context_line":"            msg_args[\u0027locality\u0027] \u003d locality"},{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    self._cast(version, msg_args)"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"We also need to modify the way the version_cap is being calculated in the"},{"line_number":193,"context_line":"api.py for each of the components, allowing operators to pin to a determined"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_47fa4d76","line":190,"range":{"start_line":184,"start_character":1,"end_line":190,"end_character":33},"in_reply_to":"9abb7d3a_0a704fdb","updated":"2016-05-31 20:07:46.000000000","message":"I\u0027ll add a section explaining the possible scenarios we could hit with this code.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"07400629dea9bb49c1c5faf0df1bdd4a13b2d28b","unresolved":false,"context_lines":[{"line_number":181,"context_line":"                 volume_type\u003dvolume_type,"},{"line_number":182,"context_line":"                 modules\u003dmodules }"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    if self.client.can_send_version(\u00271.1\u0027):"},{"line_number":185,"context_line":"            version \u003d \u00271.1\u0027"},{"line_number":186,"context_line":"            msg_args[\u0027locality\u0027] \u003d locality"},{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    self._cast(version, msg_args)"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"We also need to modify the way the version_cap is being calculated in the"},{"line_number":193,"context_line":"api.py for each of the components, allowing operators to pin to a determined"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_47740d67","line":190,"range":{"start_line":184,"start_character":1,"end_line":190,"end_character":33},"in_reply_to":"9abb7d3a_0a704fdb","updated":"2016-05-31 19:52:47.000000000","message":"Yes, more and diverse examples may help understand how this fits into the big picture without having a big picture spec.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"ba9d6c4094ab17aa7f0f0f4d2dd4f9155176450e","unresolved":false,"context_lines":[{"line_number":181,"context_line":"                 volume_type\u003dvolume_type,"},{"line_number":182,"context_line":"                 modules\u003dmodules }"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    if self.client.can_send_version(\u00271.1\u0027):"},{"line_number":185,"context_line":"            version \u003d \u00271.1\u0027"},{"line_number":186,"context_line":"            msg_args[\u0027locality\u0027] \u003d locality"},{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    self._cast(version, msg_args)"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"We also need to modify the way the version_cap is being calculated in the"},{"line_number":193,"context_line":"api.py for each of the components, allowing operators to pin to a determined"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7aa08908_b81c9678","line":190,"range":{"start_line":184,"start_character":1,"end_line":190,"end_character":33},"in_reply_to":"9abb7d3a_0c8f0acd","updated":"2016-06-04 14:13:34.000000000","message":"Kevin writes:\n\n| everything pinned to 1.0 initially.\n\n| until the api server is unpinned from 1.0, \n| it should reject 1.1 feature requests.\n\n| API servers upgraded to support 1.1 but pinned to 1.0.\n\nThis proposal does not consider pinning API services.\n\nSee review comments at line 56 of patch set 4.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"1c0fd5935c398e8beab4c459fc6a22d31e87819c","unresolved":false,"context_lines":[{"line_number":181,"context_line":"                 volume_type\u003dvolume_type,"},{"line_number":182,"context_line":"                 modules\u003dmodules }"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    if self.client.can_send_version(\u00271.1\u0027):"},{"line_number":185,"context_line":"            version \u003d \u00271.1\u0027"},{"line_number":186,"context_line":"            msg_args[\u0027locality\u0027] \u003d locality"},{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    self._cast(version, msg_args)"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"We also need to modify the way the version_cap is being calculated in the"},{"line_number":193,"context_line":"api.py for each of the components, allowing operators to pin to a determined"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_9a801ac2","line":190,"range":{"start_line":184,"start_character":1,"end_line":190,"end_character":33},"in_reply_to":"9abb7d3a_31bf0cd2","updated":"2016-05-31 14:58:12.000000000","message":"Yes, and I submit to you that what they both said is wrong. \n\nThis code would execute in the context of the Trove API service (it is physically in the taskmanager/api.py).\n\nAssume that v1.1 (as above) added the locality parameter and the system was running pinned at version 1.0.\n\nIf some poor dude had the v1.1 client installed they could generate a call that would have a non-default value of the locality parameter. Optionally, they could generate a REST call with a non-default value of the locality parameter.\n\nNow, this API service would receive a call (here with locality being not None and a value that is not the default) and would look at the pinned version and discard the locality.\n\nThe server receives a v1.0 call but it is in fact a v1.1 server and as Ethan points out, will assign a default value for locality and move along.\n\nWhat then? potentially SUCCESS. Yes, dear requestor, your call succeeded. What call?\n\n- the one you made (with the non-default locality) or\n- the one the taskmanager constructed (with the default locality)?","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"1427e843f25b2a2b424d1653c89b27383cecdffb","unresolved":false,"context_lines":[{"line_number":181,"context_line":"                 volume_type\u003dvolume_type,"},{"line_number":182,"context_line":"                 modules\u003dmodules }"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    if self.client.can_send_version(\u00271.1\u0027):"},{"line_number":185,"context_line":"            version \u003d \u00271.1\u0027"},{"line_number":186,"context_line":"            msg_args[\u0027locality\u0027] \u003d locality"},{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    self._cast(version, msg_args)"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"We also need to modify the way the version_cap is being calculated in the"},{"line_number":193,"context_line":"api.py for each of the components, allowing operators to pin to a determined"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_0c8f0acd","line":190,"range":{"start_line":184,"start_character":1,"end_line":190,"end_character":33},"in_reply_to":"9abb7d3a_47fa4d76","updated":"2016-06-03 17:53:51.000000000","message":"Yeah... it sounds like there needs to be a proper pin ordering/upgrade procedure at very least...\n\nSomething like:\neverything pinned to 1.0 initially.\n\nuntil the api server is unpinned from 1.0, it should reject 1.1 feature requests.\n\nupgrade guest agents first. have them be pinned to 1.0 somehow, but will support 1.1 if it gets a 1.1 message.\n\nTMs upgraded to support 1.1 but still pinned to 1.0\n\nAPI servers upgraded to support 1.1 but pinned to 1.0.\n\nTM\u0027s unpinned.\n\nguest agents can be unpinned now too, or automatically unpin themselves.\n\nfinally, api pins removed.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"224a67cff9f7af8d5fccd597e92787cb93509294","unresolved":false,"context_lines":[{"line_number":181,"context_line":"                 volume_type\u003dvolume_type,"},{"line_number":182,"context_line":"                 modules\u003dmodules }"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    if self.client.can_send_version(\u00271.1\u0027):"},{"line_number":185,"context_line":"            version \u003d \u00271.1\u0027"},{"line_number":186,"context_line":"            msg_args[\u0027locality\u0027] \u003d locality"},{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    self._cast(version, msg_args)"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"We also need to modify the way the version_cap is being calculated in the"},{"line_number":193,"context_line":"api.py for each of the components, allowing operators to pin to a determined"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_0a704fdb","line":190,"range":{"start_line":184,"start_character":1,"end_line":190,"end_character":33},"in_reply_to":"9abb7d3a_9a801ac2","updated":"2016-05-31 18:49:04.000000000","message":"As I said above, it always depends on the semantics of the call and the parameter. I don\u0027t know what locality means here, but there are at least two ways to handle this:\n\n 1. Check the pin and fail the API request immediately if it is not satisfyable\n 2. Make the call without the locality argument knowing that the end result is still reasonable.\n 3. Choose a different destination (in nova this could mean choosing a newer compute node that supports some feature, may not be an option for you).\n 4. Not expose features in the REST API until all the nodes have been upgraded.\n\nEither way, there has to be a better behavior than what seems to be just outright failure at the moment. This example seems like a perfectly legit one, it just needs a little more definition. Further, a more complicated example might also be worthwhile, where the *format* of a non-primitive argument has changed from one revision to the next.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"fc30dc4fad2e413757dda6d14fe340f1004cedba","unresolved":false,"context_lines":[{"line_number":181,"context_line":"                 volume_type\u003dvolume_type,"},{"line_number":182,"context_line":"                 modules\u003dmodules }"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    if self.client.can_send_version(\u00271.1\u0027):"},{"line_number":185,"context_line":"            version \u003d \u00271.1\u0027"},{"line_number":186,"context_line":"            msg_args[\u0027locality\u0027] \u003d locality"},{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    self._cast(version, msg_args)"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"We also need to modify the way the version_cap is being calculated in the"},{"line_number":193,"context_line":"api.py for each of the components, allowing operators to pin to a determined"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_7181944a","line":190,"range":{"start_line":184,"start_character":1,"end_line":190,"end_character":33},"in_reply_to":"9abb7d3a_aacef080","updated":"2016-05-27 17:34:26.000000000","message":"Yes, in this example a default value for the locality param has to be added. Since it constitutes a minor upgrade (from v1.0 to v1.1) then we guarantee it is backwards compatible. I\u0027ll fix that.\n\nNon-backward-compatible changes will still break under this scheme. Of course. That\u0027s why I added in the appendix L286-296.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"a4075c7d6d5a6209f8ab0cb024df5876e49039d6","unresolved":false,"context_lines":[{"line_number":181,"context_line":"                 volume_type\u003dvolume_type,"},{"line_number":182,"context_line":"                 modules\u003dmodules }"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    if self.client.can_send_version(\u00271.1\u0027):"},{"line_number":185,"context_line":"            version \u003d \u00271.1\u0027"},{"line_number":186,"context_line":"            msg_args[\u0027locality\u0027] \u003d locality"},{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    self._cast(version, msg_args)"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"We also need to modify the way the version_cap is being calculated in the"},{"line_number":193,"context_line":"api.py for each of the components, allowing operators to pin to a determined"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_31bf0cd2","line":190,"range":{"start_line":184,"start_character":1,"end_line":190,"end_character":33},"in_reply_to":"9abb7d3a_aacef080","updated":"2016-05-27 17:47:13.000000000","message":"Yes, what Ethan said :)","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":13953,"name":"Elise Gafford","email":"egafford@redhat.com","username":"egafford"},"change_message_id":"4c70f6241d4244a092c67abc972539e698314127","unresolved":false,"context_lines":[{"line_number":181,"context_line":"                 volume_type\u003dvolume_type,"},{"line_number":182,"context_line":"                 modules\u003dmodules }"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    if self.client.can_send_version(\u00271.1\u0027):"},{"line_number":185,"context_line":"            version \u003d \u00271.1\u0027"},{"line_number":186,"context_line":"            msg_args[\u0027locality\u0027] \u003d locality"},{"line_number":187,"context_line":"    else:"},{"line_number":188,"context_line":"            version \u003d \u00271.0\u0027"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    self._cast(version, msg_args)"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"We also need to modify the way the version_cap is being calculated in the"},{"line_number":193,"context_line":"api.py for each of the components, allowing operators to pin to a determined"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_aacef080","line":190,"range":{"start_line":184,"start_character":1,"end_line":190,"end_character":33},"in_reply_to":"9abb7d3a_fb256dae","updated":"2016-05-27 14:40:05.000000000","message":"Because the dev has opted to bump to v1.1 (instead of 2.0) they\u0027re signalling that v1.1 is backward-compatible with v1.0 (that the v1.1 API can receive a message from v1.0, presumably by giving locality a default value.) It wouldn\u0027t be bad to add a sentence clarifying that point in this example section, though.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"a4075c7d6d5a6209f8ab0cb024df5876e49039d6","unresolved":false,"context_lines":[{"line_number":194,"context_line":"version and hence define which operations can be performed in a safe way."},{"line_number":195,"context_line":"For this, we are going to add a pinned_version configuration option and"},{"line_number":196,"context_line":"define aliases for the different versions (as we have in"},{"line_number":197,"context_line":"https://github.com/openstack/trove/blob/master/trove/common/rpc/version.py)."},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"That way, the version_cap will be the base version (the one we defined in the"},{"line_number":200,"context_line":"code) or the version that the operator specifies in the configuration option."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_71b074f5","line":197,"updated":"2016-05-27 17:47:13.000000000","message":"Might want to make this a direct reference to a given hash, as this link will not remain timeless like most specs are intended to be :)","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"f766cc599c26fec613f8150cfb7e1b89a2f97eae","unresolved":false,"context_lines":[{"line_number":194,"context_line":"version and hence define which operations can be performed in a safe way."},{"line_number":195,"context_line":"For this, we are going to add a pinned_version configuration option and"},{"line_number":196,"context_line":"define aliases for the different versions (as we have in"},{"line_number":197,"context_line":"https://github.com/openstack/trove/blob/master/trove/common/rpc/version.py)."},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"That way, the version_cap will be the base version (the one we defined in the"},{"line_number":200,"context_line":"code) or the version that the operator specifies in the configuration option."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_a731795c","line":197,"in_reply_to":"9abb7d3a_71b074f5","updated":"2016-05-31 20:07:46.000000000","message":"Good thinking, thanks.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"a4075c7d6d5a6209f8ab0cb024df5876e49039d6","unresolved":false,"context_lines":[{"line_number":208,"context_line":"Alternatives"},{"line_number":209,"context_line":"------------"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Don\u0027t have versioning in Trove."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"Dashboard Impact (UX)"},{"line_number":214,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_91999871","line":211,"updated":"2016-05-27 17:47:13.000000000","message":"...or rolling upgrades. Given the feedback from operators, I\u0027m not sure it\u0027s *really* an alternative to not do this, but... sure :D","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"f766cc599c26fec613f8150cfb7e1b89a2f97eae","unresolved":false,"context_lines":[{"line_number":208,"context_line":"Alternatives"},{"line_number":209,"context_line":"------------"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Don\u0027t have versioning in Trove."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"Dashboard Impact (UX)"},{"line_number":214,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_c77abdf0","line":211,"in_reply_to":"9abb7d3a_5a4a32ad","updated":"2016-05-31 20:07:46.000000000","message":"Which are the other options you are thinking about Amrith? Explicit is better than implicit. Please add more details on what you want to see in this spec.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"a8fcdb308bfd881402461517307f086534360554","unresolved":false,"context_lines":[{"line_number":208,"context_line":"Alternatives"},{"line_number":209,"context_line":"------------"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Don\u0027t have versioning in Trove."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"Dashboard Impact (UX)"},{"line_number":214,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_6915a0e3","line":211,"in_reply_to":"9abb7d3a_5dbfbaa9","updated":"2016-05-31 22:31:12.000000000","message":"Nova, Cinder, and Neutron all have drivers, and a friggin lot of them. All of them have unique features and require changing the core API in order to support new things. After all, the point of most openstack projects is an abstraction of the backends, so this is very much materially related to our goal here.\n\n\u003e I don\u0027t think that is the best way to go about things, but that\u0027s just me.\n\nForgive me if I\u0027ve been missing it, but do you have a counter proposal for how to support upgrades? Surely just \"not supporting them at all\" is worse than some mechanism, with documented caveats and procedures, right?","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"de8e7d3c1ebde54dc10301109f3ef29f9fd77cb5","unresolved":false,"context_lines":[{"line_number":208,"context_line":"Alternatives"},{"line_number":209,"context_line":"------------"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Don\u0027t have versioning in Trove."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"Dashboard Impact (UX)"},{"line_number":214,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_7310ea59","line":211,"in_reply_to":"9abb7d3a_6915a0e3","updated":"2016-06-01 01:15:16.000000000","message":"Yes Dan, and I suggested some of them above. One of them would be to have servers that can handle multiple versions of a request, natively. i.e. without dropping parts of the message or making assumptions. heck, I\u0027ve even done that before a couple of times so this isn\u0027t exactly new.\n\nAnother would be to consider versioning different guests independently.\n\nAnother would be to have a new capability go into a server at least a release ahead of the API that can request it.\n\nSo maybe you are missing (them). Those are just some alternative proposals I have been thinking about. But again, I\u0027ve been thinking of them not as \"first steps\" but rather in the context of a whole; how to achieve rolling upgrades.\n\nI\u0027ve been wondering whether we can implement a mechanism whereby sending a server a SIGHUP or some such signal causes it to reload its configuration and whether that would make it possible to do a rolling upgrade. Maybe other services already do this; I don\u0027t know, I certainly can\u0027t find any indication of how the achieve the \u0027rolling\u0027 in rolling upgrades.\n\nAlso, one thing that is a bit different in Trove, is that we don\u0027t have a \u0027frigging lot\u0027 of drivers, just about a dozen. But, we can have thousands of instances each with some one of these \u0027not-so-many\u0027 drivers. In other projects, the total number of machines on which you need to perform \u0027upgrades\u0027 is some subset of machines in the control plane. That isn\u0027t true in Trove.\n\nWe currently support about a dozen databases. A deployer could conceivably deploy all of them though I think the majority that I\u0027ve seen are fewer than half of them.\n\nSo you now have hundreds of instances each with a copy of one of a half dozen drivers.\n\nRealize that your \u0027rolling upgrade\u0027 could now require you to upgrade ALL of them if someone came along with a new database that was supported in version \u0027THIS+1\u0027.\n\nI agree that having rolling upgrades is a very good thing. But you speak of \u0027some mechanism with documented caveats and procedures\u0027. Some of these \u0027procedures\u0027 are a contract that developers have to sign up to comply with. I\u0027d certainly like to know what that contract is before I agree with a course of action. Wouldn\u0027t you?","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"1427e843f25b2a2b424d1653c89b27383cecdffb","unresolved":false,"context_lines":[{"line_number":208,"context_line":"Alternatives"},{"line_number":209,"context_line":"------------"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Don\u0027t have versioning in Trove."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"Dashboard Impact (UX)"},{"line_number":214,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_8538ed3e","line":211,"in_reply_to":"9abb7d3a_7310ea59","updated":"2016-06-03 17:53:51.000000000","message":"Yeah, I think this raises some good questions on how trove should move forward. And maybe should be talked about in the grander scheme.\n\nSome bits... no one that I know of yet is implementing upgrading with SIGHUP as it needs oslo.config changes that are very nontrivial.\n\nMost sites that need rolling upgrades deploy multiple controllers and can therefore afford removing one at a time.\n\nThose that deploy a single controller will probably have the option soon of running multiple controllers, just on one host, using containers. I\u0027m doing that now on my laptop and have had good results. So I\u0027m not convinced adding/changing a bunch of code to support SIGHUP would be worth it. It can be solved at a different place in the software stack.\n\nyeah, if I could upgrade 10% of the vms instead of all of them, that might have some benefit. but that may also as an op require me to figure out which 10% are needing the upgrade, so unless that is automatically provided somehow, upgrading all might be more wall clock time consuming, but less operator time cost.\n\nThis is one of the really unexpected costs of running a trove setup. The operator time needed to manage the vm\u0027s. Its not placed on the tenants but mostly on ops. It would be easier to convince more ops to deploy it if it took less time.\n\nThis is one of the reasons I suggested considering depending on docker, or k8s for the guest agent. if trove itself could manage its guest agents and do either upgrading of all the agents itself, or selectively upgrading them as needed, that would be awesome. Note, I\u0027m not talking about running everything in a container, nova-docker or something like that. just a baby step of something like:\na nova kvm vm with:\n * db (mysql for example)\n * docker\n   * trove-guestagent-container\n\nupgrading could then be done by the trove-guestagent getting a message saying to upgrade, then it would stop listening for new messages, docker run\u0027ing the upgraded trove-guestagent, and then exiting.\n\nOr, better, but a little more complicated:\nrun the kvm vm like:\n * db (mysql for example)\n * kubelet with the --config /etc/kubernetes/manifests/ flag set and no api-server set.\n * docker\n\nand a file like this here /etc/kubernetes/manifests/trove-guestagent.yaml:\napiVersion: v1\nkind: Pod\nspec:\n  hostNetwork: true\n  volumes:\n    - name: \"etc\"\n      hostPath:\n        path: \"/etc\"\n  containers: \n    - name: \"trove-guestagent\"\n      image: \"kollaglue/trove-guestagent:mitaka\"\n      volumeMounts:\n        - mountPath: /srv/system-etc\n          name: \"etc\"\n\nThen whenever the the system wants to upgrade the containers, each container can exec:\nsed -i \u0027s/mitaka/newton/\u0027 /srv/system-etc/kubernetes/manifests/trove-guestagent.yaml\nand exit.\nkubelet will take care of the rest.\n\nWith this sort of arrangement, amrith\u0027s suggestion of upgrading only those agents that need it would be more easily implementable too. Operators wouldn\u0027t have to shepherd guest agents at all. The op could push a version label at the trove api, and it can pass it along to the vm\u0027s for upgrading.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"1c0fd5935c398e8beab4c459fc6a22d31e87819c","unresolved":false,"context_lines":[{"line_number":208,"context_line":"Alternatives"},{"line_number":209,"context_line":"------------"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Don\u0027t have versioning in Trove."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"Dashboard Impact (UX)"},{"line_number":214,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_5a4a32ad","line":211,"in_reply_to":"9abb7d3a_91999871","updated":"2016-05-31 14:58:12.000000000","message":"There are many other options including how we implement rolling upgrades OR versioning.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"d2ac1cf9e5e9f5bc092ca13df084cd3fbc8f234c","unresolved":false,"context_lines":[{"line_number":208,"context_line":"Alternatives"},{"line_number":209,"context_line":"------------"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Don\u0027t have versioning in Trove."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"Dashboard Impact (UX)"},{"line_number":214,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_5dbfbaa9","line":211,"in_reply_to":"9abb7d3a_c77abdf0","updated":"2016-05-31 20:47:15.000000000","message":"We could version the front end, and implement code in the various services to handle a range of different versions of requests.\n\nFor example, a server could handle multiple versions (even major version changes) of requests.\n\nWe could require that changes for a particular capability must go into the guest 1 version before they go into a server; or into the server(s) one version before they go into the API.\n\nThere\u0027s the option of throwing the request to the server and allowing it to determine whether it wants to handle it or not (this proposal does the manipulations in the client).\n\nIn the context of rolling upgrades for trove, I don\u0027t know whether the solution that some services have adopted is necessarily the best. The primary reason is that we have a plurality of different guests, each with different functionality and different implications for versioning.\n\nThis proposal appears to make versioning a lowest-common-denominator thing. \n\nIf a postgresql guest needs an API change, then the guest agent api changes. FOR ALL GUESTS. This is another example of a problem that other projects may not face.\n\nI don\u0027t think that is the best way to go about things, but that\u0027s just me.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"a4075c7d6d5a6209f8ab0cb024df5876e49039d6","unresolved":false,"context_lines":[{"line_number":243,"context_line":"  the operator perspective"},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"* Create developer docs explaining the criteria we should follow for versioning"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"Upgrade Implications"},{"line_number":248,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":249,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_d1ca004f","line":246,"updated":"2016-05-27 17:47:13.000000000","message":"* Work on getting a grenade multinode job to validate a mixed-version environments on each patch","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"1427e843f25b2a2b424d1653c89b27383cecdffb","unresolved":false,"context_lines":[{"line_number":243,"context_line":"  the operator perspective"},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"* Create developer docs explaining the criteria we should follow for versioning"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"Upgrade Implications"},{"line_number":248,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":249,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_c53af533","line":246,"in_reply_to":"9abb7d3a_876a757f","updated":"2016-06-03 17:53:51.000000000","message":"+1","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"07400629dea9bb49c1c5faf0df1bdd4a13b2d28b","unresolved":false,"context_lines":[{"line_number":243,"context_line":"  the operator perspective"},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"* Create developer docs explaining the criteria we should follow for versioning"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"Upgrade Implications"},{"line_number":248,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":249,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_876a757f","line":246,"in_reply_to":"9abb7d3a_d1ca004f","updated":"2016-05-31 19:52:47.000000000","message":"YES YES YES!","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"a4075c7d6d5a6209f8ab0cb024df5876e49039d6","unresolved":false,"context_lines":[{"line_number":258,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"* Add unit tests to verify that the right version is being picked"},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"Documentation Impact"},{"line_number":263,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":264,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_11c5a83b","line":261,"updated":"2016-05-27 17:47:13.000000000","message":"...or here","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"f766cc599c26fec613f8150cfb7e1b89a2f97eae","unresolved":false,"context_lines":[{"line_number":258,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"* Add unit tests to verify that the right version is being picked"},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"Documentation Impact"},{"line_number":263,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":264,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_e78541cf","line":261,"in_reply_to":"9abb7d3a_11c5a83b","updated":"2016-05-31 20:07:46.000000000","message":"Cool, will add.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"a4075c7d6d5a6209f8ab0cb024df5876e49039d6","unresolved":false,"context_lines":[{"line_number":309,"context_line":"     (or unset which defaults to the latest)"},{"line_number":310,"context_line":""},{"line_number":311,"context_line":"* This spec does not address rolling upgrades of the Trove DB"},{"line_number":312,"context_line":"  (which must be handled with oslo.versionedobjects)or upgrades of the public"},{"line_number":313,"context_line":"  HTTP API."},{"line_number":314,"context_line":"  The aforementioned changes are needed to complete the rolling upgrades epic,"},{"line_number":315,"context_line":"  but these will need to be completed separately."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_91feb869","line":312,"range":{"start_line":312,"start_character":3,"end_line":312,"end_character":51},"updated":"2016-05-27 17:47:13.000000000","message":"This is not true. o.vo is a facade that provides you a vehicle to do this, but many other mechanisms are possible.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"},{"author":{"_account_id":6413,"name":"Victoria Martinez de la Cruz","email":"victoria@redhat.com","username":"vkmc"},"change_message_id":"f766cc599c26fec613f8150cfb7e1b89a2f97eae","unresolved":false,"context_lines":[{"line_number":309,"context_line":"     (or unset which defaults to the latest)"},{"line_number":310,"context_line":""},{"line_number":311,"context_line":"* This spec does not address rolling upgrades of the Trove DB"},{"line_number":312,"context_line":"  (which must be handled with oslo.versionedobjects)or upgrades of the public"},{"line_number":313,"context_line":"  HTTP API."},{"line_number":314,"context_line":"  The aforementioned changes are needed to complete the rolling upgrades epic,"},{"line_number":315,"context_line":"  but these will need to be completed separately."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9abb7d3a_877555fb","line":312,"range":{"start_line":312,"start_character":3,"end_line":312,"end_character":51},"in_reply_to":"9abb7d3a_91feb869","updated":"2016-05-31 20:07:46.000000000","message":"Thanks for making this clarification! Will fix.","commit_id":"c40b79797ce0a1442f66a0f64972c0f3d0b3c503"}]}
