)]}'
{"doc/source/admin/upgrade-guide.rst":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7e9e63cb51c41b32f697a676e9a81fc9ec44077c","unresolved":false,"context_lines":[{"line_number":16,"context_line":""},{"line_number":17,"context_line":"* Rolling upgrades are available starting with the Pike release; that is, when"},{"line_number":18,"context_line":"  upgrading from Ocata. This means that it is possible to do an upgrade with"},{"line_number":19,"context_line":"  minimal to no downtime on the control plane (ironic HTTP API)."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"* Upgrades are only supported one series at a time, or within a series."},{"line_number":22,"context_line":""}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_06ad2ce8","line":19,"updated":"2017-08-03 15:02:02.000000000","message":"nit: I\u0027d say \"Bare Metal API\"","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7e9e63cb51c41b32f697a676e9a81fc9ec44077c","unresolved":false,"context_lines":[{"line_number":24,"context_line":"  should always be read carefully when upgrading the ironic service."},{"line_number":25,"context_line":"  Specific upgrade steps and considerations are documented there."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"* The ironic service should always be upgraded before the nova service."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"  .. note::"},{"line_number":30,"context_line":"     The ironic virt driver in nova always uses a specific version of the"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_e6b58833","line":27,"updated":"2017-08-03 15:02:02.000000000","message":"this should be eventually changed to Bare Metal service and Compute service","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7e9e63cb51c41b32f697a676e9a81fc9ec44077c","unresolved":false,"context_lines":[{"line_number":32,"context_line":"     same development cycle, so upgrading nova first may result in nova being"},{"line_number":33,"context_line":"     unable to use ironic\u0027s API."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"* When upgrading ironic, the following steps should always be taken:"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"  #. Update ironic code, without restarting services."},{"line_number":38,"context_line":""}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_c6b28449","line":35,"updated":"2017-08-03 15:02:02.000000000","message":"This looks like the whole procedure, but it\u0027s not. Let\u0027s have a subtitle \"Offline Upgrade\"","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7e9e63cb51c41b32f697a676e9a81fc9ec44077c","unresolved":false,"context_lines":[{"line_number":41,"context_line":"  #. Restart ironic-conductor and ironic-api services."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"  #. Run online data migrations via ``ironic-dbsync online_data_migrations``."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Rolling upgrades"},{"line_number":47,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_a685405c","line":44,"updated":"2017-08-03 15:02:02.000000000","message":"+1 to a new title, other services can be left alone. I don\u0027t think we care (for now). There may be considerations around Neutron, but I\u0027m not sure.","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"52167037d71acce9dbbfea5d24d1b7499d6d7ae5","unresolved":false,"context_lines":[{"line_number":41,"context_line":"  #. Restart ironic-conductor and ironic-api services."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"  #. Run online data migrations via ``ironic-dbsync online_data_migrations``."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Rolling upgrades"},{"line_number":47,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_b6e90eb8","line":44,"updated":"2017-08-02 21:26:48.000000000","message":"We don\u0027t explicitly spell out \u0027cold upgrade\u0027; don\u0027t know if we need a section that is explicit to that or not (and if so, seems like it is another patch).\n\nAlso not mentioned is suggested order of upgrade with eg neutron, keystone, glance, swift. Should we, or is that a separate patch too? (Note, I haven\u0027t tested order of upgrade of services before/after ironic).","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7e9e63cb51c41b32f697a676e9a81fc9ec44077c","unresolved":false,"context_lines":[{"line_number":61,"context_line":"* API load balancer draining"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"RPC version pinning and versioned object backports"},{"line_number":64,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Through careful RPC versioning, newer services are able to talk to older"},{"line_number":67,"context_line":"services (and vice-versa). The ``[DEFAULT]/pin_release_version`` configuration"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_868a3c67","line":64,"updated":"2017-08-03 15:02:02.000000000","message":"very nit: we often use ~ for this level of headings","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":19554,"name":"Nam","email":"namnh68@fsoft.com.vn","username":"namnh"},"change_message_id":"cf05e856e1d6f7cd2c4cee51e208bd9c0ca40d84","unresolved":false,"context_lines":[{"line_number":82,"context_line":"be done by a background process in a manner that does not interrupt running"},{"line_number":83,"context_line":"services. (You can also execute the same command with services turned off if"},{"line_number":84,"context_line":"you are doing a cold upgrade). The ``ironic-dbsync online_data_migrations``"},{"line_number":85,"context_line":"utility was added for that purpose. For example, before upgrading Pike to"},{"line_number":86,"context_line":"Queens, you need to run this utility in the background, until the migrations"},{"line_number":87,"context_line":"have completed. You will not be able to apply Queens\u0027 schema migrations before"},{"line_number":88,"context_line":"completing Pike\u0027s online data migrations. The same follows for any future"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_14544dfe","line":85,"range":{"start_line":85,"start_character":49,"end_line":85,"end_character":55},"updated":"2017-08-03 03:22:37.000000000","message":"In my understanding, the command will be executed after we upgrade all services (ir-api, ir-con) to Queen as the workflow of rolling upgrade that I sent you. or maybe I miss something?","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d5381583beb9df66ffe76ba3bf979a7f82f360eb","unresolved":false,"context_lines":[{"line_number":82,"context_line":"be done by a background process in a manner that does not interrupt running"},{"line_number":83,"context_line":"services. (You can also execute the same command with services turned off if"},{"line_number":84,"context_line":"you are doing a cold upgrade). The ``ironic-dbsync online_data_migrations``"},{"line_number":85,"context_line":"utility was added for that purpose. For example, before upgrading Pike to"},{"line_number":86,"context_line":"Queens, you need to run this utility in the background, until the migrations"},{"line_number":87,"context_line":"have completed. You will not be able to apply Queens\u0027 schema migrations before"},{"line_number":88,"context_line":"completing Pike\u0027s online data migrations. The same follows for any future"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_4f68fc85","line":85,"range":{"start_line":85,"start_character":49,"end_line":85,"end_character":55},"in_reply_to":"df3967d1_14544dfe","updated":"2017-08-03 16:30:53.000000000","message":"Yes, that\u0027s right. If I understand you.\n\nThe order/upgrade process is described below. So typically, you\u0027d run ironic-dbsync online_data_migrations at the end of your upgrade (to Pike). What this is saying is that you won\u0027t be able to upgrade to Queens until you\u0027ve run online_data_migrations after you upgraded to Pike.\n\nIf that is what you mean -- i think this needs to be reworded; we want to suggest that they run this as part of the upgrade. I think it makes it sound like it has to be done at the beginning of the next upgrade?","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":19554,"name":"Nam","email":"namnh68@fsoft.com.vn","username":"namnh"},"change_message_id":"5ad5368a124c86fbf699258e32af07df14bb1f27","unresolved":false,"context_lines":[{"line_number":82,"context_line":"be done by a background process in a manner that does not interrupt running"},{"line_number":83,"context_line":"services. (You can also execute the same command with services turned off if"},{"line_number":84,"context_line":"you are doing a cold upgrade). The ``ironic-dbsync online_data_migrations``"},{"line_number":85,"context_line":"utility was added for that purpose. For example, before upgrading Pike to"},{"line_number":86,"context_line":"Queens, you need to run this utility in the background, until the migrations"},{"line_number":87,"context_line":"have completed. You will not be able to apply Queens\u0027 schema migrations before"},{"line_number":88,"context_line":"completing Pike\u0027s online data migrations. The same follows for any future"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_6a37044f","line":85,"range":{"start_line":85,"start_character":49,"end_line":85,"end_character":55},"in_reply_to":"df3967d1_4f68fc85","updated":"2017-08-04 07:30:50.000000000","message":"Yes, I got your point and I like your change at path set 24.","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":19554,"name":"Nam","email":"namnh68@fsoft.com.vn","username":"namnh"},"change_message_id":"cf05e856e1d6f7cd2c4cee51e208bd9c0ca40d84","unresolved":false,"context_lines":[{"line_number":107,"context_line":"API load balancer draining"},{"line_number":108,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"When upgrading ironic-api nodes, you can make your load balancer only send new"},{"line_number":111,"context_line":"connections to the newer ironic-api nodes, allowing a seamless update of the"},{"line_number":112,"context_line":"nodes."},{"line_number":113,"context_line":""}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_54e1b529","line":110,"range":{"start_line":110,"start_character":37,"end_line":110,"end_character":45},"updated":"2017-08-03 03:22:37.000000000","message":"I think you should use \"make sure that\"","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":19554,"name":"Nam","email":"namnh68@fsoft.com.vn","username":"namnh"},"change_message_id":"cf05e856e1d6f7cd2c4cee51e208bd9c0ca40d84","unresolved":false,"context_lines":[{"line_number":107,"context_line":"API load balancer draining"},{"line_number":108,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"When upgrading ironic-api nodes, you can make your load balancer only send new"},{"line_number":111,"context_line":"connections to the newer ironic-api nodes, allowing a seamless update of the"},{"line_number":112,"context_line":"nodes."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"Minimal downtime upgrade procedure"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_74c71966","line":111,"range":{"start_line":110,"start_character":65,"end_line":111,"end_character":41},"updated":"2017-08-03 03:22:37.000000000","message":"In my opinion, we only need to make sure that LB will not send connections to ironic-api stopping.\n\nFor example, if we use ha-proxy as load balancer and setting up 5s for interval checking. If we stop ir-api at 2s then ha-proxy does not know the ir-api was stopped so it still sends connections to the ir-api. \n\nSo it should be changed \"only send new connections to the ironic-api running\".","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d5381583beb9df66ffe76ba3bf979a7f82f360eb","unresolved":false,"context_lines":[{"line_number":107,"context_line":"API load balancer draining"},{"line_number":108,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"When upgrading ironic-api nodes, you can make your load balancer only send new"},{"line_number":111,"context_line":"connections to the newer ironic-api nodes, allowing a seamless update of the"},{"line_number":112,"context_line":"nodes."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"Minimal downtime upgrade procedure"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_2f649849","line":111,"range":{"start_line":110,"start_character":65,"end_line":111,"end_character":41},"in_reply_to":"df3967d1_74c71966","updated":"2017-08-03 16:30:53.000000000","message":"I asked someone else (because I was thinking of deleting this section). I reworded it but I\u0027m not sure it addresses your comments.","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7e9e63cb51c41b32f697a676e9a81fc9ec44077c","unresolved":false,"context_lines":[{"line_number":131,"context_line":"  upgrade into Pike first."},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"* To avoid conflicting dependencies, it is advised to have your ironic services"},{"line_number":134,"context_line":"  deployed separately in containers or Python virtualenvs."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"* Note that ironic bases its RPC and object storage format versions on the"},{"line_number":137,"context_line":"  ``[DEFAULT]/pin_release_version`` configuration option. It is advisable to"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_667bd87a","line":134,"updated":"2017-08-03 15:02:02.000000000","message":"I don\u0027t really like it. We\u0027ve been using packaging for quite some time. Only upper caps can bring serious problems, and they are pain anyway.","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d5381583beb9df66ffe76ba3bf979a7f82f360eb","unresolved":false,"context_lines":[{"line_number":131,"context_line":"  upgrade into Pike first."},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"* To avoid conflicting dependencies, it is advised to have your ironic services"},{"line_number":134,"context_line":"  deployed separately in containers or Python virtualenvs."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"* Note that ironic bases its RPC and object storage format versions on the"},{"line_number":137,"context_line":"  ``[DEFAULT]/pin_release_version`` configuration option. It is advisable to"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_ec18c71e","line":134,"in_reply_to":"df3967d1_667bd87a","updated":"2017-08-03 16:30:53.000000000","message":"Dmitry made a good point about it working with grenade, so I removed it.","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7e9e63cb51c41b32f697a676e9a81fc9ec44077c","unresolved":false,"context_lines":[{"line_number":138,"context_line":"  automate the deployment of changes in configuration files to make the"},{"line_number":139,"context_line":"  process less error prone and repeatable."},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"* The upgrade order is to:"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"  * first, upgrade the ironic-python-agent image"},{"line_number":144,"context_line":"  * upgrade the ironic-conductor services"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_4680d446","line":141,"updated":"2017-08-03 15:02:02.000000000","message":"I think this should be moved to the next section","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d5381583beb9df66ffe76ba3bf979a7f82f360eb","unresolved":false,"context_lines":[{"line_number":144,"context_line":"  * upgrade the ironic-conductor services"},{"line_number":145,"context_line":"  * upgrade the ironic-api services, and"},{"line_number":146,"context_line":"  * finally, upgrade python-ironicclient along with other services connecting"},{"line_number":147,"context_line":"    to ironic as a client, such as nova-conductor."},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"Rolling upgrade process"},{"line_number":150,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_ecd7a7ed","line":147,"updated":"2017-08-03 16:30:53.000000000","message":"I moved the information in this section, elsewhere.","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7e9e63cb51c41b32f697a676e9a81fc9ec44077c","unresolved":false,"context_lines":[{"line_number":159,"context_line":"and ironic-api services."},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"Before maintenance window"},{"line_number":162,"context_line":"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\""},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"* First you should execute the required database schema updates. To achieve"},{"line_number":165,"context_line":"  that without interrupting your existing installation, install the new ironic"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_269950c3","line":162,"updated":"2017-08-03 15:02:02.000000000","message":"too many nested heading to my taste, but I don\u0027t have better ideas","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d5381583beb9df66ffe76ba3bf979a7f82f360eb","unresolved":false,"context_lines":[{"line_number":159,"context_line":"and ironic-api services."},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"Before maintenance window"},{"line_number":162,"context_line":"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\""},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"* First you should execute the required database schema updates. To achieve"},{"line_number":165,"context_line":"  that without interrupting your existing installation, install the new ironic"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_6c8057c0","line":162,"in_reply_to":"df3967d1_269950c3","updated":"2017-08-03 16:30:53.000000000","message":"I got rid of one level :)","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7e9e63cb51c41b32f697a676e9a81fc9ec44077c","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"* First you should execute the required database schema updates. To achieve"},{"line_number":165,"context_line":"  that without interrupting your existing installation, install the new ironic"},{"line_number":166,"context_line":"  code in a new virtualenv or a container and run the database upgrade command:"},{"line_number":167,"context_line":"  ``ironic-dbsync upgrade``. These schema change operations should have"},{"line_number":168,"context_line":"  minimal or no effect on performance, and should not cause any operations to"},{"line_number":169,"context_line":"  fail (but please check the release notes)."}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_06964c94","line":166,"updated":"2017-08-03 15:02:02.000000000","message":"this is not required, code can be updated on one of the running services","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d5381583beb9df66ffe76ba3bf979a7f82f360eb","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"* First you should execute the required database schema updates. To achieve"},{"line_number":165,"context_line":"  that without interrupting your existing installation, install the new ironic"},{"line_number":166,"context_line":"  code in a new virtualenv or a container and run the database upgrade command:"},{"line_number":167,"context_line":"  ``ironic-dbsync upgrade``. These schema change operations should have"},{"line_number":168,"context_line":"  minimal or no effect on performance, and should not cause any operations to"},{"line_number":169,"context_line":"  fail (but please check the release notes)."}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_ac64ff22","line":166,"in_reply_to":"df3967d1_06964c94","updated":"2017-08-03 16:30:53.000000000","message":"ok, i changed to make it a suggestion. (Or I can just delete, let me know.)","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7e9e63cb51c41b32f697a676e9a81fc9ec44077c","unresolved":false,"context_lines":[{"line_number":189,"context_line":"   * set the ``[DEFAULT]/pin_release_version`` configuration option value to the"},{"line_number":190,"context_line":"     version you are upgrading from (that is, the old version). Based on this"},{"line_number":191,"context_line":"     setting, the new ironic-conductor services will downgrade any"},{"line_number":192,"context_line":"     RPC communication and data objects to conform to the old service."},{"line_number":193,"context_line":"   * restart the service"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"2. The next service to upgrade is ironic-api. Ensure that at least one"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_e68ea877","line":192,"updated":"2017-08-03 15:02:02.000000000","message":"any example would be handy","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d5381583beb9df66ffe76ba3bf979a7f82f360eb","unresolved":false,"context_lines":[{"line_number":189,"context_line":"   * set the ``[DEFAULT]/pin_release_version`` configuration option value to the"},{"line_number":190,"context_line":"     version you are upgrading from (that is, the old version). Based on this"},{"line_number":191,"context_line":"     setting, the new ironic-conductor services will downgrade any"},{"line_number":192,"context_line":"     RPC communication and data objects to conform to the old service."},{"line_number":193,"context_line":"   * restart the service"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"2. The next service to upgrade is ironic-api. Ensure that at least one"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_572400af","line":192,"in_reply_to":"df3967d1_e68ea877","updated":"2017-08-03 16:30:53.000000000","message":"Done","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":19554,"name":"Nam","email":"namnh68@fsoft.com.vn","username":"namnh"},"change_message_id":"cf05e856e1d6f7cd2c4cee51e208bd9c0ca40d84","unresolved":false,"context_lines":[{"line_number":208,"context_line":"     setting, the new ironic-api services will downgrade any RPC communication"},{"line_number":209,"context_line":"     and data objects to conform to the old service."},{"line_number":210,"context_line":"   * restart the service"},{"line_number":211,"context_line":"   * add it back into the load balancer."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"   After upgrading all the ironic-api services, ironic is running in the new"},{"line_number":214,"context_line":"   version but with downgraded RPC communication and database object storage"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_742cb9ab","line":211,"range":{"start_line":211,"start_character":39,"end_line":211,"end_character":40},"updated":"2017-08-03 03:22:37.000000000","message":"redundancy?","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d5381583beb9df66ffe76ba3bf979a7f82f360eb","unresolved":false,"context_lines":[{"line_number":208,"context_line":"     setting, the new ironic-api services will downgrade any RPC communication"},{"line_number":209,"context_line":"     and data objects to conform to the old service."},{"line_number":210,"context_line":"   * restart the service"},{"line_number":211,"context_line":"   * add it back into the load balancer."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"   After upgrading all the ironic-api services, ironic is running in the new"},{"line_number":214,"context_line":"   version but with downgraded RPC communication and database object storage"}],"source_content_type":"text/x-rst","patch_set":23,"id":"df3967d1_cf02ac6f","line":211,"range":{"start_line":211,"start_character":39,"end_line":211,"end_character":40},"in_reply_to":"df3967d1_742cb9ab","updated":"2017-08-03 16:30:53.000000000","message":"Done","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":19554,"name":"Nam","email":"namnh68@fsoft.com.vn","username":"namnh"},"change_message_id":"cf05e856e1d6f7cd2c4cee51e208bd9c0ca40d84","unresolved":false,"context_lines":[{"line_number":243,"context_line":"  the impact of the data migrations with the ``--max-count`` option. This"},{"line_number":244,"context_line":"  limits the number of migrations executed in one run. You need to complete"},{"line_number":245,"context_line":"  all of the migrations before starting an upgrade to the next version."},{"line_number":246,"context_line":"  For example, you need to complete Pike\u0027s data migrations before proceeding"},{"line_number":247,"context_line":"  with an upgrade to Queens. You will not be able to execute Queens\u0027 database"},{"line_number":248,"context_line":"  schema updates until after Pike\u0027s data migrations have been completed."},{"line_number":249,"context_line":""},{"line_number":250,"context_line":"Upgrading from Ocata to Pike"},{"line_number":251,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\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":23,"id":"df3967d1_0f5434fe","line":248,"range":{"start_line":246,"start_character":2,"end_line":248,"end_character":72},"updated":"2017-08-03 03:22:37.000000000","message":"as my above comment about \"before\". Or am I missing something? Could you give me some more information about this?","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"d5381583beb9df66ffe76ba3bf979a7f82f360eb","unresolved":false,"context_lines":[{"line_number":243,"context_line":"  the impact of the data migrations with the ``--max-count`` option. This"},{"line_number":244,"context_line":"  limits the number of migrations executed in one run. You need to complete"},{"line_number":245,"context_line":"  all of the migrations before starting an upgrade to the next version."},{"line_number":246,"context_line":"  For example, you need to complete Pike\u0027s data migrations before proceeding"},{"line_number":247,"context_line":"  with an upgrade to Queens. You will not be able to execute Queens\u0027 database"},{"line_number":248,"context_line":"  schema updates until after Pike\u0027s data migrations have been completed."},{"line_number":249,"context_line":""},{"line_number":250,"context_line":"Upgrading from Ocata to Pike"},{"line_number":251,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\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":23,"id":"df3967d1_4feb5cdb","line":248,"range":{"start_line":246,"start_character":2,"end_line":248,"end_character":72},"in_reply_to":"df3967d1_0f5434fe","updated":"2017-08-03 16:30:53.000000000","message":"I don\u0027t think you are missing anything but I think you may not be reading/understanding this (or misinterpreting it). I\u0027ll have to think about how to reword it or just remove some of it; I think it might be a bit confusing.","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":19554,"name":"Nam","email":"namnh68@fsoft.com.vn","username":"namnh"},"change_message_id":"5ad5368a124c86fbf699258e32af07df14bb1f27","unresolved":false,"context_lines":[{"line_number":243,"context_line":"  the impact of the data migrations with the ``--max-count`` option. This"},{"line_number":244,"context_line":"  limits the number of migrations executed in one run. You need to complete"},{"line_number":245,"context_line":"  all of the migrations before starting an upgrade to the next version."},{"line_number":246,"context_line":"  For example, you need to complete Pike\u0027s data migrations before proceeding"},{"line_number":247,"context_line":"  with an upgrade to Queens. You will not be able to execute Queens\u0027 database"},{"line_number":248,"context_line":"  schema updates until after Pike\u0027s data migrations have been completed."},{"line_number":249,"context_line":""},{"line_number":250,"context_line":"Upgrading from Ocata to Pike"},{"line_number":251,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\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":23,"id":"df3967d1_0a4638c1","line":248,"range":{"start_line":246,"start_character":2,"end_line":248,"end_character":72},"in_reply_to":"df3967d1_4feb5cdb","updated":"2017-08-04 07:30:50.000000000","message":"Done","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fd924219f6f5e49ac814779e89a53acc24bcfa04","unresolved":false,"context_lines":[{"line_number":75,"context_line":"  limits the number of migrations executed in one run. You should complete"},{"line_number":76,"context_line":"  all of the migrations as soon as possible after the upgrade."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"  Note that you will not be able to start an upgrade to the next release after"},{"line_number":79,"context_line":"  this one, until this has been completed for the current release. For example,   as part of upgrading from Ocata to Pike, you need to complete Pike\u0027s data"},{"line_number":80,"context_line":"  migrations. If this not done, you will not be able to upgrade to Queens --"},{"line_number":81,"context_line":"  it will not be possible to execute Queens\u0027 database schema updates."}],"source_content_type":"text/x-rst","patch_set":24,"id":"df3967d1_39095795","line":78,"updated":"2017-08-04 11:29:34.000000000","message":"I\u0027d convert this to a\n\n .. warning::","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"15c2458b124a73888c2a4f150b27ae2c5a18d18a","unresolved":false,"context_lines":[{"line_number":75,"context_line":"  limits the number of migrations executed in one run. You should complete"},{"line_number":76,"context_line":"  all of the migrations as soon as possible after the upgrade."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"  Note that you will not be able to start an upgrade to the next release after"},{"line_number":79,"context_line":"  this one, until this has been completed for the current release. For example,   as part of upgrading from Ocata to Pike, you need to complete Pike\u0027s data"},{"line_number":80,"context_line":"  migrations. If this not done, you will not be able to upgrade to Queens --"},{"line_number":81,"context_line":"  it will not be possible to execute Queens\u0027 database schema updates."}],"source_content_type":"text/x-rst","patch_set":24,"id":"bf3e73b7_18561e2b","line":78,"in_reply_to":"df3967d1_39095795","updated":"2017-08-07 21:19:59.000000000","message":"Done","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fd924219f6f5e49ac814779e89a53acc24bcfa04","unresolved":false,"context_lines":[{"line_number":76,"context_line":"  all of the migrations as soon as possible after the upgrade."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"  Note that you will not be able to start an upgrade to the next release after"},{"line_number":79,"context_line":"  this one, until this has been completed for the current release. For example,   as part of upgrading from Ocata to Pike, you need to complete Pike\u0027s data"},{"line_number":80,"context_line":"  migrations. If this not done, you will not be able to upgrade to Queens --"},{"line_number":81,"context_line":"  it will not be possible to execute Queens\u0027 database schema updates."},{"line_number":82,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"df3967d1_190c53a3","line":79,"updated":"2017-08-04 11:29:34.000000000","message":"nit: please wrap this line","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"15c2458b124a73888c2a4f150b27ae2c5a18d18a","unresolved":false,"context_lines":[{"line_number":76,"context_line":"  all of the migrations as soon as possible after the upgrade."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"  Note that you will not be able to start an upgrade to the next release after"},{"line_number":79,"context_line":"  this one, until this has been completed for the current release. For example,   as part of upgrading from Ocata to Pike, you need to complete Pike\u0027s data"},{"line_number":80,"context_line":"  migrations. If this not done, you will not be able to upgrade to Queens --"},{"line_number":81,"context_line":"  it will not be possible to execute Queens\u0027 database schema updates."},{"line_number":82,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"bf3e73b7_d83536f9","line":79,"in_reply_to":"df3967d1_190c53a3","updated":"2017-08-07 21:19:59.000000000","message":"Done","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fd924219f6f5e49ac814779e89a53acc24bcfa04","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Rolling upgrades"},{"line_number":85,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Rolling upgrades are available starting with the Pike release; that is, when"},{"line_number":88,"context_line":"upgrading from Ocata. This means that it is possible to do an upgrade with"}],"source_content_type":"text/x-rst","patch_set":24,"id":"df3967d1_f9fe2f69","line":85,"updated":"2017-08-04 11:29:34.000000000","message":"a thought: this whole section is quite long, I wonder if we need a new document for it, with only an introduction left here..","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"15c2458b124a73888c2a4f150b27ae2c5a18d18a","unresolved":false,"context_lines":[{"line_number":82,"context_line":""},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Rolling upgrades"},{"line_number":85,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Rolling upgrades are available starting with the Pike release; that is, when"},{"line_number":88,"context_line":"upgrading from Ocata. This means that it is possible to do an upgrade with"}],"source_content_type":"text/x-rst","patch_set":24,"id":"bf3e73b7_1e2287a5","line":85,"in_reply_to":"df3967d1_f9fe2f69","updated":"2017-08-07 21:19:59.000000000","message":"I do kind of agree. I can\u0027t help but wonder if we should split process from theory/constraints since we seem to have both in here...  It kind of feels like it has too many,  Maybe move it to high level concept, process, and then theory under the Rolling Upgrades header.  We can always change it around later...","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fd924219f6f5e49ac814779e89a53acc24bcfa04","unresolved":false,"context_lines":[{"line_number":119,"context_line":"update the database schema. Data migrations must be done at the end of the"},{"line_number":120,"context_line":"rolling upgrade process, after the schema migration and after the services"},{"line_number":121,"context_line":"have been upgraded to the latest release. The data migration is performed"},{"line_number":122,"context_line":"using the ``ironic-dbsync online_data_migrations`` command. It can be run in"},{"line_number":123,"context_line":"a background process so that it does not interrupt running services."},{"line_number":124,"context_line":"(You would also execute the same command with services turned off if"},{"line_number":125,"context_line":"you are doing a cold upgrade)."}],"source_content_type":"text/x-rst","patch_set":24,"id":"df3967d1_d9012b6c","line":122,"updated":"2017-08-04 11:29:34.000000000","message":"very nit: I\u0027d prefer the command on a new line with :: syntax","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"15c2458b124a73888c2a4f150b27ae2c5a18d18a","unresolved":false,"context_lines":[{"line_number":119,"context_line":"update the database schema. Data migrations must be done at the end of the"},{"line_number":120,"context_line":"rolling upgrade process, after the schema migration and after the services"},{"line_number":121,"context_line":"have been upgraded to the latest release. The data migration is performed"},{"line_number":122,"context_line":"using the ``ironic-dbsync online_data_migrations`` command. It can be run in"},{"line_number":123,"context_line":"a background process so that it does not interrupt running services."},{"line_number":124,"context_line":"(You would also execute the same command with services turned off if"},{"line_number":125,"context_line":"you are doing a cold upgrade)."}],"source_content_type":"text/x-rst","patch_set":24,"id":"bf3e73b7_9e4af752","line":122,"in_reply_to":"df3967d1_d9012b6c","updated":"2017-08-07 21:19:59.000000000","message":"since this is theory and not stepwise instructions, I think this is actually better since we don\u0027t want people copying/pasting out of sequence.","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":19554,"name":"Nam","email":"namnh68@fsoft.com.vn","username":"namnh"},"change_message_id":"ecb7094dc3a36950750cd53948a9022c373e5b5b","unresolved":false,"context_lines":[{"line_number":148,"context_line":"API load balancer draining"},{"line_number":149,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"If you are using a load balancer for the ironic-api services, we recommend that"},{"line_number":152,"context_line":"you redirect requests to the new API services and drain off of the ironic-api"},{"line_number":153,"context_line":"services that have not yet been upgraded."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Rolling upgrade process"},{"line_number":156,"context_line":"-----------------------"}],"source_content_type":"text/x-rst","patch_set":24,"id":"df3967d1_2acfbc56","line":153,"range":{"start_line":151,"start_character":62,"end_line":153,"end_character":41},"updated":"2017-08-04 07:33:08.000000000","message":"I see your point. But if we do that then it will increase the number of requests to the new API services and a bad situation is that the API services will be overloaded. Especially in production, there are so many requests from users.\n\nMoreover, rolling-upgrade is implemented to solve cases, a case is that old services can interact with new services so it is good to restart ir-api one by one at a time. \n\nOne thing we need to ensure that draining an ir-api service off before upgrading it as you wrote below.","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"15c2458b124a73888c2a4f150b27ae2c5a18d18a","unresolved":false,"context_lines":[{"line_number":148,"context_line":"API load balancer draining"},{"line_number":149,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"If you are using a load balancer for the ironic-api services, we recommend that"},{"line_number":152,"context_line":"you redirect requests to the new API services and drain off of the ironic-api"},{"line_number":153,"context_line":"services that have not yet been upgraded."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Rolling upgrade process"},{"line_number":156,"context_line":"-----------------------"}],"source_content_type":"text/x-rst","patch_set":24,"id":"bf3e73b7_7e8e3379","line":153,"range":{"start_line":151,"start_character":62,"end_line":153,"end_character":41},"in_reply_to":"df3967d1_2acfbc56","updated":"2017-08-07 21:19:59.000000000","message":"Possible, although the intent is also so a user is not caught with an in-flight action on an API server, hence draining, instead of just restarting to upgrade. Also, the statement is in the plural, not singular, so I\u0027m not sure what what we should indicate beyond the most preferred path that we see in a common use/deployment scenario.","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fd924219f6f5e49ac814779e89a53acc24bcfa04","unresolved":false,"context_lines":[{"line_number":175,"context_line":"  the release notes). You can:"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"  * install the new release on an existing system"},{"line_number":178,"context_line":"  * install the new release in a new virtualenv or a container"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"  At this point, new columns and tables may exist in the database. These"},{"line_number":181,"context_line":"  database schema changes are done in a way that both the old and new (N and"}],"source_content_type":"text/x-rst","patch_set":24,"id":"df3967d1_b9fc2770","line":178,"updated":"2017-08-04 11:29:34.000000000","message":"nice!","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fd924219f6f5e49ac814779e89a53acc24bcfa04","unresolved":false,"context_lines":[{"line_number":181,"context_line":"  database schema changes are done in a way that both the old and new (N and"},{"line_number":182,"context_line":"  N+1) releases can perform operations against the same schema."},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"* Ironic bases its RPC and object storage format versions on the"},{"line_number":185,"context_line":"  ``[DEFAULT]/pin_release_version`` configuration option. It is advisable to"},{"line_number":186,"context_line":"  automate the deployment of changes in configuration files to make the"},{"line_number":187,"context_line":"  process less error prone and repeatable."}],"source_content_type":"text/x-rst","patch_set":24,"id":"df3967d1_99f7238c","line":184,"updated":"2017-08-04 11:29:34.000000000","message":"I\u0027d convert this to a\n\n .. note::\n\nas this is not a step, but rather an overall recommendation.\n\nactually, it duplicates what you have in \"RPC version pinning and versioned object backports\", so I guess it can be dropped..","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"15c2458b124a73888c2a4f150b27ae2c5a18d18a","unresolved":false,"context_lines":[{"line_number":181,"context_line":"  database schema changes are done in a way that both the old and new (N and"},{"line_number":182,"context_line":"  N+1) releases can perform operations against the same schema."},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"* Ironic bases its RPC and object storage format versions on the"},{"line_number":185,"context_line":"  ``[DEFAULT]/pin_release_version`` configuration option. It is advisable to"},{"line_number":186,"context_line":"  automate the deployment of changes in configuration files to make the"},{"line_number":187,"context_line":"  process less error prone and repeatable."}],"source_content_type":"text/x-rst","patch_set":24,"id":"bf3e73b7_3e654bb6","line":184,"in_reply_to":"df3967d1_99f7238c","updated":"2017-08-07 21:19:59.000000000","message":"Done","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fd924219f6f5e49ac814779e89a53acc24bcfa04","unresolved":false,"context_lines":[{"line_number":204,"context_line":"     RPC communication and data objects to conform to the old service."},{"line_number":205,"context_line":"     For example, if you are upgrading from Ocata to Pike, set this value to"},{"line_number":206,"context_line":"     ``ocata``."},{"line_number":207,"context_line":"   * restart the service"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"#. The next service to upgrade is ironic-api. Ensure that at least one"},{"line_number":210,"context_line":"   ironic-api service is running at all times. You may want to start another"}],"source_content_type":"text/x-rst","patch_set":24,"id":"df3967d1_79f23f9c","line":207,"updated":"2017-08-04 11:29:34.000000000","message":"nit: s/restart/start (you have shut down as the first step)","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"15c2458b124a73888c2a4f150b27ae2c5a18d18a","unresolved":false,"context_lines":[{"line_number":204,"context_line":"     RPC communication and data objects to conform to the old service."},{"line_number":205,"context_line":"     For example, if you are upgrading from Ocata to Pike, set this value to"},{"line_number":206,"context_line":"     ``ocata``."},{"line_number":207,"context_line":"   * restart the service"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"#. The next service to upgrade is ironic-api. Ensure that at least one"},{"line_number":210,"context_line":"   ironic-api service is running at all times. You may want to start another"}],"source_content_type":"text/x-rst","patch_set":24,"id":"bf3e73b7_1e09672b","line":207,"in_reply_to":"df3967d1_79f23f9c","updated":"2017-08-07 21:19:59.000000000","message":"Done","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fd924219f6f5e49ac814779e89a53acc24bcfa04","unresolved":false,"context_lines":[{"line_number":245,"context_line":"After maintenance window"},{"line_number":246,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"* Now that all the services are upgraded, the system is able to use the latest"},{"line_number":249,"context_line":"  version of the RPC protocol and able to access all the features of the new"},{"line_number":250,"context_line":"  release."},{"line_number":251,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"df3967d1_59ed3bb5","line":248,"updated":"2017-08-04 11:29:34.000000000","message":"this is not a step, rather an introduction. I\u0027d move it out of the list.","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"15c2458b124a73888c2a4f150b27ae2c5a18d18a","unresolved":false,"context_lines":[{"line_number":245,"context_line":"After maintenance window"},{"line_number":246,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"* Now that all the services are upgraded, the system is able to use the latest"},{"line_number":249,"context_line":"  version of the RPC protocol and able to access all the features of the new"},{"line_number":250,"context_line":"  release."},{"line_number":251,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"bf3e73b7_def87fc5","line":248,"in_reply_to":"df3967d1_59ed3bb5","updated":"2017-08-07 21:19:59.000000000","message":"Done","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fd924219f6f5e49ac814779e89a53acc24bcfa04","unresolved":false,"context_lines":[{"line_number":255,"context_line":"  one release cycle, so should be removed before your next upgrade is"},{"line_number":256,"context_line":"  performed."},{"line_number":257,"context_line":""},{"line_number":258,"context_line":"* Upgrade python-ironicclient along with other services connecting"},{"line_number":259,"context_line":"  to the Bare Metal service as a client, such as nova-conductor."},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"* Run the ``ironic-dbsync online_data_migrations`` command to make sure"}],"source_content_type":"text/x-rst","patch_set":24,"id":"df3967d1_392ef7fa","line":258,"updated":"2017-08-04 11:29:34.000000000","message":"nit (or even IMO): `` or ** around python-ironicclient","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"15c2458b124a73888c2a4f150b27ae2c5a18d18a","unresolved":false,"context_lines":[{"line_number":256,"context_line":"  performed."},{"line_number":257,"context_line":""},{"line_number":258,"context_line":"* Upgrade python-ironicclient along with other services connecting"},{"line_number":259,"context_line":"  to the Bare Metal service as a client, such as nova-conductor."},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"* Run the ``ironic-dbsync online_data_migrations`` command to make sure"},{"line_number":262,"context_line":"  that data migrations are applied. The command lets you limit"}],"source_content_type":"text/x-rst","patch_set":24,"id":"bf3e73b7_7e6ab380","line":259,"range":{"start_line":259,"start_character":54,"end_line":259,"end_character":63},"updated":"2017-08-07 21:19:59.000000000","message":"nova-compute.","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fd924219f6f5e49ac814779e89a53acc24bcfa04","unresolved":false,"context_lines":[{"line_number":265,"context_line":"  all of the migrations as soon as possible after the upgrade."},{"line_number":266,"context_line":""},{"line_number":267,"context_line":"  Note that you will not be able to start an upgrade to the next release after"},{"line_number":268,"context_line":"  this one, until this has been completed for the current release. For example,   as part of upgrading from Ocata to Pike, you need to complete Pike\u0027s data"},{"line_number":269,"context_line":"  migrations. If this not done, you will not be able to upgrade to Queens --"},{"line_number":270,"context_line":"  it will not be possible to execute Queens\u0027 database schema updates."},{"line_number":271,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"df3967d1_1931f35a","line":268,"updated":"2017-08-04 11:29:34.000000000","message":"nit: please wrap this line","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"15c2458b124a73888c2a4f150b27ae2c5a18d18a","unresolved":false,"context_lines":[{"line_number":265,"context_line":"  all of the migrations as soon as possible after the upgrade."},{"line_number":266,"context_line":""},{"line_number":267,"context_line":"  Note that you will not be able to start an upgrade to the next release after"},{"line_number":268,"context_line":"  this one, until this has been completed for the current release. For example,   as part of upgrading from Ocata to Pike, you need to complete Pike\u0027s data"},{"line_number":269,"context_line":"  migrations. If this not done, you will not be able to upgrade to Queens --"},{"line_number":270,"context_line":"  it will not be possible to execute Queens\u0027 database schema updates."},{"line_number":271,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"bf3e73b7_7eff53aa","line":268,"in_reply_to":"df3967d1_1931f35a","updated":"2017-08-07 21:19:59.000000000","message":"Done","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"5955b8b8e6069d69af14cbcfc9a02bef6b5a955c","unresolved":false,"context_lines":[{"line_number":67,"context_line":"  performed."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"* upgrade python-ironicclient along with any other services connecting"},{"line_number":70,"context_line":"  to the Bare Metal service as a client, such as nova-conductor"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"* run the ``ironic-dbsync online_data_migrations`` command to make sure"},{"line_number":73,"context_line":"  that data migrations are applied. The command lets you limit"}],"source_content_type":"text/x-rst","patch_set":25,"id":"9f436f4f_e3f51a85","line":70,"range":{"start_line":70,"start_character":49,"end_line":70,"end_character":63},"updated":"2017-08-08 05:44:24.000000000","message":"virt drivers are driven by nova-compute IIRC.","commit_id":"eb7e23749a1a44d2f95a1338a4d9e55e77689a0e"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"3fe749f031f2546ed51f8db0d38b3029dc85f75b","unresolved":false,"context_lines":[{"line_number":67,"context_line":"  performed."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"* upgrade python-ironicclient along with any other services connecting"},{"line_number":70,"context_line":"  to the Bare Metal service as a client, such as nova-conductor"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"* run the ``ironic-dbsync online_data_migrations`` command to make sure"},{"line_number":73,"context_line":"  that data migrations are applied. The command lets you limit"}],"source_content_type":"text/x-rst","patch_set":25,"id":"9f436f4f_81aabc82","line":70,"range":{"start_line":70,"start_character":49,"end_line":70,"end_character":63},"in_reply_to":"9f436f4f_e3f51a85","updated":"2017-08-08 13:14:36.000000000","message":"Doh, and I spotted it on my last review of it","commit_id":"eb7e23749a1a44d2f95a1338a4d9e55e77689a0e"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"5955b8b8e6069d69af14cbcfc9a02bef6b5a955c","unresolved":false,"context_lines":[{"line_number":270,"context_line":"  this one, until this has been completed for the current release. For example,"},{"line_number":271,"context_line":"  as part of upgrading from Ocata to Pike, you need to complete Pike\u0027s data"},{"line_number":272,"context_line":"  migrations. If this not done, you will not be able to upgrade to Queens --"},{"line_number":273,"context_line":"  it will not be possible to execute Queens\u0027 database schema updates."},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"Upgrading from Ocata to Pike"},{"line_number":276,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\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":25,"id":"9f436f4f_3e569508","line":273,"updated":"2017-08-08 05:44:24.000000000","message":"this paragraph is somewhat duplicated with L129-133.\nand we are missing a * as a bullet here.","commit_id":"eb7e23749a1a44d2f95a1338a4d9e55e77689a0e"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"3fe749f031f2546ed51f8db0d38b3029dc85f75b","unresolved":false,"context_lines":[{"line_number":270,"context_line":"  this one, until this has been completed for the current release. For example,"},{"line_number":271,"context_line":"  as part of upgrading from Ocata to Pike, you need to complete Pike\u0027s data"},{"line_number":272,"context_line":"  migrations. If this not done, you will not be able to upgrade to Queens --"},{"line_number":273,"context_line":"  it will not be possible to execute Queens\u0027 database schema updates."},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"Upgrading from Ocata to Pike"},{"line_number":276,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\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":25,"id":"9f436f4f_c1a0c4a8","line":273,"in_reply_to":"9f436f4f_3e569508","updated":"2017-08-08 13:14:36.000000000","message":"Intentional I believe, and this is not a bullet point item.  I should remove the spacing.","commit_id":"eb7e23749a1a44d2f95a1338a4d9e55e77689a0e"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"#. update ironic code, without restarting services"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"#. run database schema migrations via ``ironic-dbsync upgrade``"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"#. restart ironic-conductor and ironic-api services"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Once the above is done, do the following:"},{"line_number":62,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_a1c88e21","line":59,"range":{"start_line":57,"start_character":0,"end_line":59,"end_character":51},"updated":"2017-08-14 13:23:49.000000000","message":"Shouldn\u0027t this be:\n \n- Stop ironic-conductor ironic-api services \n- run databse migrations\n- Start ironic-api/conductor \n\nbecause otherwise the database is going to upgraded with new stuff that old ironic services don\u0027t know about and if there are any removals then it might cause problems.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"ea62fabb56ce42a72abcaca5ee82c15bf41880e3","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"#. update ironic code, without restarting services"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"#. run database schema migrations via ``ironic-dbsync upgrade``"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"#. restart ironic-conductor and ironic-api services"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Once the above is done, do the following:"},{"line_number":62,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_ea042b1a","line":59,"range":{"start_line":57,"start_character":0,"end_line":59,"end_character":51},"in_reply_to":"9f436f4f_a1c88e21","updated":"2017-08-14 14:21:41.000000000","message":"\u003e if there are any removals then it might cause problems.\n\nwe no longer accept such migrations, as they break rolling upgrades. we assume that dbsync is safe to run with the old code still running.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"7dfa448da23baaa2bb7123b55258e392ef061117","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"#. update ironic code, without restarting services"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"#. run database schema migrations via ``ironic-dbsync upgrade``"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"#. restart ironic-conductor and ironic-api services"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Once the above is done, do the following:"},{"line_number":62,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_2ac7d398","line":59,"range":{"start_line":57,"start_character":0,"end_line":59,"end_character":51},"in_reply_to":"9f436f4f_a1c88e21","updated":"2017-08-14 14:30:48.000000000","message":"I think here we rely on the fact that we\u0027ll be handling the removals in code, like if we plan to rename a column, in the n+1 release we give it a new name, and try to load it from both new and old. If we\u0027re upgrading from n+1 to n+2 where we only support new name, all the values should have been moved to new column, so removing old column should not bother us.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":75,"context_line":"  limits the number of migrations executed in one run. You should complete"},{"line_number":76,"context_line":"  all of the migrations as soon as possible after the upgrade."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":".. warning:: You will not be able to start an upgrade to the next release"},{"line_number":79,"context_line":"             after this one, until this has been completed for the current"},{"line_number":80,"context_line":"             release. For example, as part of upgrading from Ocata to Pike,"},{"line_number":81,"context_line":"             you need to complete Pike\u0027s data migrations. If this not done,"},{"line_number":82,"context_line":"             you will not be able to upgrade to Queens -- it will not be"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_81f6aa62","line":79,"range":{"start_line":78,"start_character":61,"end_line":79,"end_character":28},"updated":"2017-08-14 13:23:49.000000000","message":"use \n\n\"next release\"\n\nor\n\n\"the release after this one\"","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":75,"context_line":"  limits the number of migrations executed in one run. You should complete"},{"line_number":76,"context_line":"  all of the migrations as soon as possible after the upgrade."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":".. warning:: You will not be able to start an upgrade to the next release"},{"line_number":79,"context_line":"             after this one, until this has been completed for the current"},{"line_number":80,"context_line":"             release. For example, as part of upgrading from Ocata to Pike,"},{"line_number":81,"context_line":"             you need to complete Pike\u0027s data migrations. If this not done,"},{"line_number":82,"context_line":"             you will not be able to upgrade to Queens -- it will not be"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_352974e5","line":79,"range":{"start_line":78,"start_character":61,"end_line":79,"end_character":28},"in_reply_to":"9f436f4f_81f6aa62","updated":"2017-08-14 16:11:42.000000000","message":"Done","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"6fcbdf3512ed996c4ab351b714ea3f2395e44656","unresolved":false,"context_lines":[{"line_number":80,"context_line":"             release. For example, as part of upgrading from Ocata to Pike,"},{"line_number":81,"context_line":"             you need to complete Pike\u0027s data migrations. If this not done,"},{"line_number":82,"context_line":"             you will not be able to upgrade to Queens -- it will not be"},{"line_number":83,"context_line":"             possible to execute Queens\u0027 database schema updates."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Rolling upgrades"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_64a2b4fe","line":83,"updated":"2017-08-14 12:42:50.000000000","message":"You can newline and indent this, like\n\n.. warning::\n\n  some text here.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":80,"context_line":"             release. For example, as part of upgrading from Ocata to Pike,"},{"line_number":81,"context_line":"             you need to complete Pike\u0027s data migrations. If this not done,"},{"line_number":82,"context_line":"             you will not be able to upgrade to Queens -- it will not be"},{"line_number":83,"context_line":"             possible to execute Queens\u0027 database schema updates."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Rolling upgrades"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_156b101e","line":83,"in_reply_to":"9f436f4f_64a2b4fe","updated":"2017-08-14 16:11:42.000000000","message":"Done","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":86,"context_line":"Rolling upgrades"},{"line_number":87,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"Rolling upgrades are available starting with the Pike release; that is, when"},{"line_number":90,"context_line":"upgrading from Ocata. This means that it is possible to do an upgrade with"},{"line_number":91,"context_line":"minimal to no downtime of the Bare Metal API."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Concepts"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_41a1e245","line":90,"range":{"start_line":89,"start_character":0,"end_line":90,"end_character":21},"updated":"2017-08-14 13:23:49.000000000","message":"This is a weird sentence... maybe it could be simplified like: \"Rolling upgrades are available starting with upgrades from Ocata to Pike\" \n\nwe also duplicate this information exactly in the \"Plan your upgrade\" section above which seems redundant.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":86,"context_line":"Rolling upgrades"},{"line_number":87,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"Rolling upgrades are available starting with the Pike release; that is, when"},{"line_number":90,"context_line":"upgrading from Ocata. This means that it is possible to do an upgrade with"},{"line_number":91,"context_line":"minimal to no downtime of the Bare Metal API."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Concepts"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_103f9eb4","line":90,"range":{"start_line":89,"start_character":0,"end_line":90,"end_character":21},"in_reply_to":"9f436f4f_41a1e245","updated":"2017-08-14 16:11:42.000000000","message":"I think the emphasis needs to be on \"We\u0027ve added this in the pike release\", and that the statement of ocata to pike needs to be an explicit example. Rewording the paragraph to try and achieve greater clarity while maintaining emphasis.\n\nwrt \"Plan your upgrade\" content duplication, I kind of feel like that is informational of what to know at a high level, and this is an introduction to an entire section, so I feel like duplication is kind of appropriate.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":110,"context_line":"and objects to their appropriate versions from the pinned release. If the"},{"line_number":111,"context_line":"``IncompatibleObjectVersion`` exception occurs, it is most likely due to an"},{"line_number":112,"context_line":"incorrect or unspecified ``[DEFAULT]/pin_release_version`` configuration value."},{"line_number":113,"context_line":"For example, when it is not set to the older release version, no conversion"},{"line_number":114,"context_line":"will happen during the upgrade."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Online data migrations"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_c1283298","line":113,"range":{"start_line":113,"start_character":18,"end_line":113,"end_character":20},"updated":"2017-08-14 13:23:49.000000000","message":"s/it/``[DEFAULT]/pin_release_version``/","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":117,"context_line":"~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"To make database schema migrations less painful to execute, all data migrations"},{"line_number":120,"context_line":"are banned from schema migration scripts. The schema migration scripts only"},{"line_number":121,"context_line":"update the database schema. Data migrations must be done at the end of the"},{"line_number":122,"context_line":"rolling upgrade process, after the schema migration and after the services"},{"line_number":123,"context_line":"have been upgraded to the latest release. The data migration is performed"},{"line_number":124,"context_line":"using the ``ironic-dbsync online_data_migrations`` command. It can be run in"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_24426c3f","line":121,"range":{"start_line":120,"start_character":42,"end_line":121,"end_character":27},"updated":"2017-08-14 13:23:49.000000000","message":"This sentence is a bit disjointed, I think it needs to be connected to the first. Something like:\n\"To make database schema migrations less painful to execute, all data migrations are banned from schema migration scripts so the schema migration scripts only update the database schema.\"","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":117,"context_line":"~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"To make database schema migrations less painful to execute, all data migrations"},{"line_number":120,"context_line":"are banned from schema migration scripts. The schema migration scripts only"},{"line_number":121,"context_line":"update the database schema. Data migrations must be done at the end of the"},{"line_number":122,"context_line":"rolling upgrade process, after the schema migration and after the services"},{"line_number":123,"context_line":"have been upgraded to the latest release. The data migration is performed"},{"line_number":124,"context_line":"using the ``ironic-dbsync online_data_migrations`` command. It can be run in"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_f0ff7aa8","line":121,"range":{"start_line":120,"start_character":42,"end_line":121,"end_character":27},"in_reply_to":"9f436f4f_24426c3f","updated":"2017-08-14 16:11:42.000000000","message":"This is a bit disjointed, and I suspect the only way to make it more clear, is to explicitly break it apart. Giving that route a try.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":121,"context_line":"update the database schema. Data migrations must be done at the end of the"},{"line_number":122,"context_line":"rolling upgrade process, after the schema migration and after the services"},{"line_number":123,"context_line":"have been upgraded to the latest release. The data migration is performed"},{"line_number":124,"context_line":"using the ``ironic-dbsync online_data_migrations`` command. It can be run in"},{"line_number":125,"context_line":"a background process so that it does not interrupt running services."},{"line_number":126,"context_line":"(You would also execute the same command with services turned off if"},{"line_number":127,"context_line":"you are doing a cold upgrade)."},{"line_number":128,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_a4777ca0","line":125,"range":{"start_line":124,"start_character":60,"end_line":125,"end_character":20},"updated":"2017-08-14 13:23:49.000000000","message":"It can be run as a background process","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":121,"context_line":"update the database schema. Data migrations must be done at the end of the"},{"line_number":122,"context_line":"rolling upgrade process, after the schema migration and after the services"},{"line_number":123,"context_line":"have been upgraded to the latest release. The data migration is performed"},{"line_number":124,"context_line":"using the ``ironic-dbsync online_data_migrations`` command. It can be run in"},{"line_number":125,"context_line":"a background process so that it does not interrupt running services."},{"line_number":126,"context_line":"(You would also execute the same command with services turned off if"},{"line_number":127,"context_line":"you are doing a cold upgrade)."},{"line_number":128,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_10a1de94","line":125,"range":{"start_line":124,"start_character":60,"end_line":125,"end_character":20},"in_reply_to":"9f436f4f_a4777ca0","updated":"2017-08-14 16:11:42.000000000","message":"Done","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"6fcbdf3512ed996c4ab351b714ea3f2395e44656","unresolved":false,"context_lines":[{"line_number":124,"context_line":"using the ``ironic-dbsync online_data_migrations`` command. It can be run in"},{"line_number":125,"context_line":"a background process so that it does not interrupt running services."},{"line_number":126,"context_line":"(You would also execute the same command with services turned off if"},{"line_number":127,"context_line":"you are doing a cold upgrade)."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"This data migration must be completed. If not, you will not be able to"},{"line_number":130,"context_line":"upgrade to future releases. For example, if you had upgraded from Ocata to"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_a49c1cc0","line":127,"updated":"2017-08-14 12:42:50.000000000","message":"I would consider rephrasing this to make the two steps more explicit. It\u0027s a little overbearing with the constant re-use of \"database\" \"schema\" \"data\" and \"migration\".\n\nTry something like:\n\n\"Database migrations occur in two steps:\n\n1) Schema migrations, which must only update the database schema and not modify any data.\n2) Data migrations, which must be done at the end of the rolling upgrade process, after schema migration has occured and after the services have been upgraded to the latest release.\"\n\nThis makes the two processes a bit more obviously isolated, and the numbering means anyone scanning will do the schema migration first (which is what you want)","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":124,"context_line":"using the ``ironic-dbsync online_data_migrations`` command. It can be run in"},{"line_number":125,"context_line":"a background process so that it does not interrupt running services."},{"line_number":126,"context_line":"(You would also execute the same command with services turned off if"},{"line_number":127,"context_line":"you are doing a cold upgrade)."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"This data migration must be completed. If not, you will not be able to"},{"line_number":130,"context_line":"upgrade to future releases. For example, if you had upgraded from Ocata to"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_70594a8c","line":127,"in_reply_to":"9f436f4f_a49c1cc0","updated":"2017-08-14 16:11:42.000000000","message":"I wonder if moving to a bullet point list makes this more explicit.  It is also a blending of theory and process :(\n\nA little rewording","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":146,"context_line":".. note::"},{"line_number":147,"context_line":"   This was tested with RabbitMQ messaging backend and may vary with other"},{"line_number":148,"context_line":"   backends."},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"API load balancer draining"},{"line_number":151,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":152,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_a4eadc0b","line":149,"updated":"2017-08-14 13:23:49.000000000","message":"It seems obvious, but shouldn\u0027t we mention the ironic-api service here too? What does it do with requests its in the process of handling etc\n\nAlso on a side note, this should be documented somewhere in the normal operations guide I think.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":146,"context_line":".. note::"},{"line_number":147,"context_line":"   This was tested with RabbitMQ messaging backend and may vary with other"},{"line_number":148,"context_line":"   backends."},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"API load balancer draining"},{"line_number":151,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":152,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_c474bb38","line":149,"in_reply_to":"9f436f4f_a4eadc0b","updated":"2017-08-14 16:11:42.000000000","message":"Agreed, this is largely operational. :\\\n\nI _think_ the API is going to handle sigterm depending on how it is being run too. :\\  looks like SIGTERM to uwsgi does a forced restart instead since it is is a parent process. 8(\n\nAdding a note regarding nodes in stable states.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":157,"context_line":"Rolling upgrade process"},{"line_number":158,"context_line":"-----------------------"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"To reduce downtime, the services can be upgraded in a rolling fashion. It means"},{"line_number":161,"context_line":"upgrading one or a few services at a time. To minimise downtime you need to"},{"line_number":162,"context_line":"have HA ironic deployment (at least two ironic-api and two ironic-conductor"},{"line_number":163,"context_line":"services) so that when a service instance is being upgraded, the other"},{"line_number":164,"context_line":"instances are still running."}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_64c994aa","line":161,"range":{"start_line":160,"start_character":0,"end_line":161,"end_character":42},"updated":"2017-08-14 13:23:49.000000000","message":"This should be at the top of the \"Rolling upgrades\" section","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":157,"context_line":"Rolling upgrade process"},{"line_number":158,"context_line":"-----------------------"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"To reduce downtime, the services can be upgraded in a rolling fashion. It means"},{"line_number":161,"context_line":"upgrading one or a few services at a time. To minimise downtime you need to"},{"line_number":162,"context_line":"have HA ironic deployment (at least two ironic-api and two ironic-conductor"},{"line_number":163,"context_line":"services) so that when a service instance is being upgraded, the other"},{"line_number":164,"context_line":"instances are still running."}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_073d25c3","line":161,"range":{"start_line":160,"start_character":0,"end_line":161,"end_character":42},"in_reply_to":"9f436f4f_64c994aa","updated":"2017-08-14 16:11:42.000000000","message":"Done.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":158,"context_line":"-----------------------"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"To reduce downtime, the services can be upgraded in a rolling fashion. It means"},{"line_number":161,"context_line":"upgrading one or a few services at a time. To minimise downtime you need to"},{"line_number":162,"context_line":"have HA ironic deployment (at least two ironic-api and two ironic-conductor"},{"line_number":163,"context_line":"services) so that when a service instance is being upgraded, the other"},{"line_number":164,"context_line":"instances are still running."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"**New features should not be used until after the upgrade has been completed.**"},{"line_number":167,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_44433014","line":164,"range":{"start_line":161,"start_character":43,"end_line":164,"end_character":28},"updated":"2017-08-14 13:23:49.000000000","message":"This seems like we should have a requirements sub-section at the top of the \"Rolling upgrades\" section, because people would have had to read all the stuff above before getting here and realising their deployment can do rolling upgrades.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":158,"context_line":"-----------------------"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"To reduce downtime, the services can be upgraded in a rolling fashion. It means"},{"line_number":161,"context_line":"upgrading one or a few services at a time. To minimise downtime you need to"},{"line_number":162,"context_line":"have HA ironic deployment (at least two ironic-api and two ironic-conductor"},{"line_number":163,"context_line":"services) so that when a service instance is being upgraded, the other"},{"line_number":164,"context_line":"instances are still running."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"**New features should not be used until after the upgrade has been completed.**"},{"line_number":167,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_048ac3bd","line":164,"range":{"start_line":161,"start_character":43,"end_line":164,"end_character":28},"in_reply_to":"9f436f4f_44433014","updated":"2017-08-14 16:11:42.000000000","message":"Agreed, moving to a requirements section.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":163,"context_line":"services) so that when a service instance is being upgraded, the other"},{"line_number":164,"context_line":"instances are still running."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"**New features should not be used until after the upgrade has been completed.**"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"Before maintenance window"},{"line_number":169,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_e4ffc4a8","line":166,"updated":"2017-08-14 13:23:49.000000000","message":"I agree it seems like this should be an a warning or note bubble.\n\nAlso isn\u0027t it not only new features, but any new API version, because you don\u0027t know if the request is going to land on a new API or old API and it might not be a feature but behaviours change on microversions too.\n\nAs a side note, this is one of the reason I think we need to have API version pinning during rolling upgrades, because the ironic API services will advertise their new version and unknowing an upgrade is going on some clients might potentially start trying to use the new API versions.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"6fcbdf3512ed996c4ab351b714ea3f2395e44656","unresolved":false,"context_lines":[{"line_number":163,"context_line":"services) so that when a service instance is being upgraded, the other"},{"line_number":164,"context_line":"instances are still running."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"**New features should not be used until after the upgrade has been completed.**"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"Before maintenance window"},{"line_number":169,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_04ad28e8","line":166,"updated":"2017-08-14 12:42:50.000000000","message":"You may want to warning or info this to make it more obvious.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":163,"context_line":"services) so that when a service instance is being upgraded, the other"},{"line_number":164,"context_line":"instances are still running."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"**New features should not be used until after the upgrade has been completed.**"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"Before maintenance window"},{"line_number":169,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_47c9eda9","line":166,"in_reply_to":"9f436f4f_04ad28e8","updated":"2017-08-14 16:11:42.000000000","message":"Done","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":163,"context_line":"services) so that when a service instance is being upgraded, the other"},{"line_number":164,"context_line":"instances are still running."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"**New features should not be used until after the upgrade has been completed.**"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"Before maintenance window"},{"line_number":169,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_27cee9b3","line":166,"in_reply_to":"9f436f4f_e4ffc4a8","updated":"2017-08-14 16:11:42.000000000","message":"Done, although not going into version pinning since it is covered below, and I think this is largely present to set context.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":168,"context_line":"Before maintenance window"},{"line_number":169,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"* Upgrade the ironic-python-agent image"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"* Using the new release (ironic code), execute the required database schema"},{"line_number":174,"context_line":"  updates by running the database upgrade command: ``ironic-dbsync upgrade``."}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_247f0c16","line":171,"updated":"2017-08-14 13:23:49.000000000","message":"Do we have a document on how to do this that we can link too from here? E.g. one that explains the steps etc download new image, upload to glance, update all ironic nodes etc.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":168,"context_line":"Before maintenance window"},{"line_number":169,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"* Upgrade the ironic-python-agent image"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"* Using the new release (ironic code), execute the required database schema"},{"line_number":174,"context_line":"  updates by running the database upgrade command: ``ironic-dbsync upgrade``."}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_27802946","line":171,"in_reply_to":"9f436f4f_247f0c16","updated":"2017-08-14 16:11:42.000000000","message":"Not that I\u0027m aware of, I think this is an eventual improvement although the top of the page would need giant warnings and caveats about hardware support, hardware managers, etc.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"6fcbdf3512ed996c4ab351b714ea3f2395e44656","unresolved":false,"context_lines":[{"line_number":186,"context_line":".. note:: Ironic bases its RPC and object storage format versions on the"},{"line_number":187,"context_line":"          ``[DEFAULT]/pin_release_version`` configuration option. It is"},{"line_number":188,"context_line":"          advisable to automate the deployment of changes in configuration"},{"line_number":189,"context_line":"          files to make the process less error prone and repeatable."},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"During maintenance window"},{"line_number":192,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_647bd47a","line":189,"updated":"2017-08-14 12:42:50.000000000","message":"For the sake of future work it might be nice to make the note styles the same, all formatted like \n\n.. note::\n\n  some text\n\nOR\n\n.. warning::\n\n  some text\n\n\nThis is a nitpick though, so perhaps its not worth addressing.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":186,"context_line":".. note:: Ironic bases its RPC and object storage format versions on the"},{"line_number":187,"context_line":"          ``[DEFAULT]/pin_release_version`` configuration option. It is"},{"line_number":188,"context_line":"          advisable to automate the deployment of changes in configuration"},{"line_number":189,"context_line":"          files to make the process less error prone and repeatable."},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"During maintenance window"},{"line_number":192,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_a71539e7","line":189,"in_reply_to":"9f436f4f_647bd47a","updated":"2017-08-14 16:11:42.000000000","message":"Done","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":187,"context_line":"          ``[DEFAULT]/pin_release_version`` configuration option. It is"},{"line_number":188,"context_line":"          advisable to automate the deployment of changes in configuration"},{"line_number":189,"context_line":"          files to make the process less error prone and repeatable."},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"During maintenance window"},{"line_number":192,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":193,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_2fdec56c","line":190,"updated":"2017-08-14 13:23:49.000000000","message":"There is information in this section about doing this dbsync which is missing from the offline migrations section, about things like the colomns and tables etc.\n\nIt makes me wonder if some of these steps which just seem to include duplicated instructions should be separated and shared between both upgrade methods.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":187,"context_line":"          ``[DEFAULT]/pin_release_version`` configuration option. It is"},{"line_number":188,"context_line":"          advisable to automate the deployment of changes in configuration"},{"line_number":189,"context_line":"          files to make the process less error prone and repeatable."},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"During maintenance window"},{"line_number":192,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":193,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_c7183d1f","line":190,"in_reply_to":"9f436f4f_2fdec56c","updated":"2017-08-14 16:11:42.000000000","message":"I kind of feel like if we decoupled theory from steps, we would end up with more information like the offline upgrades. I\u0027m also not exactly sure what to do about it at the moment aside from us eventually spitting theory out.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":191,"context_line":"During maintenance window"},{"line_number":192,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"#. ironic-conductor services should be upgraded first. Ensure that at least"},{"line_number":195,"context_line":"   one ironic-conductor service is running at all times. For every"},{"line_number":196,"context_line":"   ironic-conductor, either one by one or a few at a time:"},{"line_number":197,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_240f0c38","line":194,"range":{"start_line":194,"start_character":3,"end_line":194,"end_character":19},"updated":"2017-08-14 13:23:49.000000000","message":"All ironic-conductor services","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":191,"context_line":"During maintenance window"},{"line_number":192,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"#. ironic-conductor services should be upgraded first. Ensure that at least"},{"line_number":195,"context_line":"   one ironic-conductor service is running at all times. For every"},{"line_number":196,"context_line":"   ironic-conductor, either one by one or a few at a time:"},{"line_number":197,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_47b32d0b","line":194,"range":{"start_line":194,"start_character":3,"end_line":194,"end_character":19},"in_reply_to":"9f436f4f_240f0c38","updated":"2017-08-14 16:11:42.000000000","message":"Done","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"7dfa448da23baaa2bb7123b55258e392ef061117","unresolved":false,"context_lines":[{"line_number":195,"context_line":"   one ironic-conductor service is running at all times. For every"},{"line_number":196,"context_line":"   ironic-conductor, either one by one or a few at a time:"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"   * shut down the service. Conductors are load-balanced by the message queue,"},{"line_number":199,"context_line":"     so the only thing you need to worry about is to shut the service down"},{"line_number":200,"context_line":"     gracefully (using ``SIGTERM`` signal) to make sure it will finish all the"},{"line_number":201,"context_line":"     requests being processed before shutting down"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_d58b4865","line":198,"range":{"start_line":198,"start_character":64,"end_line":198,"end_character":77},"updated":"2017-08-14 14:30:48.000000000","message":"hash ring?","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":195,"context_line":"   one ironic-conductor service is running at all times. For every"},{"line_number":196,"context_line":"   ironic-conductor, either one by one or a few at a time:"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"   * shut down the service. Conductors are load-balanced by the message queue,"},{"line_number":199,"context_line":"     so the only thing you need to worry about is to shut the service down"},{"line_number":200,"context_line":"     gracefully (using ``SIGTERM`` signal) to make sure it will finish all the"},{"line_number":201,"context_line":"     requests being processed before shutting down"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_67c2b15b","line":198,"range":{"start_line":198,"start_character":64,"end_line":198,"end_character":77},"in_reply_to":"9f436f4f_d58b4865","updated":"2017-08-14 16:11:42.000000000","message":"Messages to conductors perhaps?","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":199,"context_line":"     so the only thing you need to worry about is to shut the service down"},{"line_number":200,"context_line":"     gracefully (using ``SIGTERM`` signal) to make sure it will finish all the"},{"line_number":201,"context_line":"     requests being processed before shutting down"},{"line_number":202,"context_line":"   * upgrade the code and dependencies"},{"line_number":203,"context_line":"   * set the ``[DEFAULT]/pin_release_version`` configuration option value to"},{"line_number":204,"context_line":"     the version you are upgrading from (that is, the old version). Based on"},{"line_number":205,"context_line":"     this setting, the new ironic-conductor services will downgrade any"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_e456a42a","line":202,"range":{"start_line":202,"start_character":17,"end_line":202,"end_character":21},"updated":"2017-08-14 13:23:49.000000000","message":"Not a fan of referring to the ironic install as code all the time, yes it makes sense if someone is installing directly from source, but in the case of installing from packages etc it makes less sense, something like:\n\n\"upgrade the installed version of ironic\"\n\nis more generic.","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":199,"context_line":"     so the only thing you need to worry about is to shut the service down"},{"line_number":200,"context_line":"     gracefully (using ``SIGTERM`` signal) to make sure it will finish all the"},{"line_number":201,"context_line":"     requests being processed before shutting down"},{"line_number":202,"context_line":"   * upgrade the code and dependencies"},{"line_number":203,"context_line":"   * set the ``[DEFAULT]/pin_release_version`` configuration option value to"},{"line_number":204,"context_line":"     the version you are upgrading from (that is, the old version). Based on"},{"line_number":205,"context_line":"     this setting, the new ironic-conductor services will downgrade any"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_27b829e3","line":202,"range":{"start_line":202,"start_character":17,"end_line":202,"end_character":21},"in_reply_to":"9f436f4f_e456a42a","updated":"2017-08-14 16:11:42.000000000","message":"Done","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":209,"context_line":"   * start the service"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"#. The next service to upgrade is ironic-api. Ensure that at least one"},{"line_number":212,"context_line":"   ironic-api service is running at all times. You may want to start another"},{"line_number":213,"context_line":"   instance of the older ironic-api to handle the load while you are upgrading"},{"line_number":214,"context_line":"   the original ironic-api services. For every ironic-api service, either one"},{"line_number":215,"context_line":"   by one or a few at a time:"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_4f0b4923","line":212,"range":{"start_line":212,"start_character":69,"end_line":212,"end_character":76},"updated":"2017-08-14 13:23:49.000000000","message":"s/another/a temporary","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":209,"context_line":"   * start the service"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"#. The next service to upgrade is ironic-api. Ensure that at least one"},{"line_number":212,"context_line":"   ironic-api service is running at all times. You may want to start another"},{"line_number":213,"context_line":"   instance of the older ironic-api to handle the load while you are upgrading"},{"line_number":214,"context_line":"   the original ironic-api services. For every ironic-api service, either one"},{"line_number":215,"context_line":"   by one or a few at a time:"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_a7c3f956","line":212,"range":{"start_line":212,"start_character":69,"end_line":212,"end_character":76},"in_reply_to":"9f436f4f_4f0b4923","updated":"2017-08-14 16:11:42.000000000","message":"Done","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f198fa5db0b67b1b761aa63308a2d0019e92eb8a","unresolved":false,"context_lines":[{"line_number":218,"context_line":"     (for example HAProxy), so you need to take the service instance out of the"},{"line_number":219,"context_line":"     balancer"},{"line_number":220,"context_line":"   * shut it down"},{"line_number":221,"context_line":"   * upgrade the code and dependencies"},{"line_number":222,"context_line":"   * set the ``[DEFAULT]/pin_release_version`` configuration option value to"},{"line_number":223,"context_line":"     the version you are upgrading from (that is, the old version). Based on"},{"line_number":224,"context_line":"     this setting, the new ironic-api services will downgrade any RPC"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_2f3da5c3","line":221,"range":{"start_line":221,"start_character":17,"end_line":221,"end_character":21},"updated":"2017-08-14 13:23:49.000000000","message":"ditto on \"code\" vs \"installed version of ironic\"","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":218,"context_line":"     (for example HAProxy), so you need to take the service instance out of the"},{"line_number":219,"context_line":"     balancer"},{"line_number":220,"context_line":"   * shut it down"},{"line_number":221,"context_line":"   * upgrade the code and dependencies"},{"line_number":222,"context_line":"   * set the ``[DEFAULT]/pin_release_version`` configuration option value to"},{"line_number":223,"context_line":"     the version you are upgrading from (that is, the old version). Based on"},{"line_number":224,"context_line":"     this setting, the new ironic-api services will downgrade any RPC"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_47a8cd8a","line":221,"range":{"start_line":221,"start_character":17,"end_line":221,"end_character":21},"in_reply_to":"9f436f4f_2f3da5c3","updated":"2017-08-14 16:11:42.000000000","message":"Done","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"9577a9eb5ffde6e03247a19697ca1ce79095a239","unresolved":false,"context_lines":[{"line_number":258,"context_line":"  performed."},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"* Upgrade ``python-ironicclient`` along with other services connecting"},{"line_number":261,"context_line":"  to the Bare Metal service as a client, such as nova-compute."},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"* Run the ``ironic-dbsync online_data_migrations`` command to make sure"},{"line_number":264,"context_line":"  that data migrations are applied. The command lets you limit"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_a9cf83ae","line":261,"range":{"start_line":261,"start_character":49,"end_line":261,"end_character":61},"updated":"2017-08-11 10:51:55.000000000","message":"nit: ``nova-compute``","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":258,"context_line":"  performed."},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"* Upgrade ``python-ironicclient`` along with other services connecting"},{"line_number":261,"context_line":"  to the Bare Metal service as a client, such as nova-compute."},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"* Run the ``ironic-dbsync online_data_migrations`` command to make sure"},{"line_number":264,"context_line":"  that data migrations are applied. The command lets you limit"}],"source_content_type":"text/x-rst","patch_set":26,"id":"9f436f4f_e7922157","line":261,"range":{"start_line":261,"start_character":49,"end_line":261,"end_character":61},"in_reply_to":"9f436f4f_a9cf83ae","updated":"2017-08-14 16:11:42.000000000","message":"Done","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"9577a9eb5ffde6e03247a19697ca1ce79095a239","unresolved":false,"context_lines":[{"line_number":266,"context_line":"  limits the number of migrations executed in one run. You should complete"},{"line_number":267,"context_line":"  all of the migrations as soon as possible after the upgrade."},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"Note that you will not be able to start an upgrade to the next release after"},{"line_number":270,"context_line":"this one, until this has been completed for the current release. For example,"},{"line_number":271,"context_line":"as part of upgrading from Ocata to Pike, you need to complete Pike\u0027s data"},{"line_number":272,"context_line":"migrations. If this not done, you will not be able to upgrade to Queens --"},{"line_number":273,"context_line":"it will not be possible to execute Queens\u0027 database schema updates."},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"Upgrading from Ocata to Pike"},{"line_number":276,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\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":26,"id":"9f436f4f_e9d58b44","line":273,"range":{"start_line":269,"start_character":0,"end_line":273,"end_character":67},"updated":"2017-08-11 10:51:55.000000000","message":"nit: I guess it should be a .. warning:: similar to one for cold upgrades","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"b6946d2ec96d3d96e25ea6eb842ec815a123bbe1","unresolved":false,"context_lines":[{"line_number":266,"context_line":"  limits the number of migrations executed in one run. You should complete"},{"line_number":267,"context_line":"  all of the migrations as soon as possible after the upgrade."},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"Note that you will not be able to start an upgrade to the next release after"},{"line_number":270,"context_line":"this one, until this has been completed for the current release. For example,"},{"line_number":271,"context_line":"as part of upgrading from Ocata to Pike, you need to complete Pike\u0027s data"},{"line_number":272,"context_line":"migrations. If this not done, you will not be able to upgrade to Queens --"},{"line_number":273,"context_line":"it will not be possible to execute Queens\u0027 database schema updates."},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"Upgrading from Ocata to Pike"},{"line_number":276,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\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":26,"id":"9f436f4f_0796454d","line":273,"range":{"start_line":269,"start_character":0,"end_line":273,"end_character":67},"in_reply_to":"9f436f4f_e9d58b44","updated":"2017-08-14 16:11:42.000000000","message":"Done","commit_id":"519e379c7809e4e7903c2648e13da3587ee0f1ce"}],"doc/source/deploy/upgrade-guide.rst":[{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"b3e856c7289f68f9822e08727160d9d742a47194","unresolved":false,"context_lines":[{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"When upgrading from Newton, it is possible to do the upgrade with minimal to"},{"line_number":45,"context_line":"no downtime on the control plane (ironic API)."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Concepts"},{"line_number":48,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_0930a1e7","line":45,"updated":"2017-01-04 20:06:11.000000000","message":"conductor is part of control plane, too","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"e6cd90ab700f34802bae5122a942e7df88dfd3a7","unresolved":false,"context_lines":[{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"When upgrading from Newton, it is possible to do the upgrade with minimal to"},{"line_number":45,"context_line":"no downtime on the control plane (ironic API)."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Concepts"},{"line_number":48,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_5248de5b","line":45,"in_reply_to":"ba5201f7_0930a1e7","updated":"2017-01-10 16:50:02.000000000","message":"Yes, I mean the ability to do ironic HTTP API, not the api service.","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"b3e856c7289f68f9822e08727160d9d742a47194","unresolved":false,"context_lines":[{"line_number":52,"context_line":"RPC version pinning and versioned object backports"},{"line_number":53,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Through careful RPC versioning, newer services are able to talk to older"},{"line_number":56,"context_line":"services (and vice-versa). The versions are specified in the"},{"line_number":57,"context_line":"``pin_release_version`` configuration variable. RPC pinning ensures new"},{"line_number":58,"context_line":"services can talk to the older service\u0027s method signatures. But many of the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_c91f7906","line":55,"updated":"2017-01-04 20:06:11.000000000","message":"I\u0027m not sure we should go into the details of object versioning in operator-facing documentation. It might be enough to just talk about RPC version compatibility.","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"e6cd90ab700f34802bae5122a942e7df88dfd3a7","unresolved":false,"context_lines":[{"line_number":52,"context_line":"RPC version pinning and versioned object backports"},{"line_number":53,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Through careful RPC versioning, newer services are able to talk to older"},{"line_number":56,"context_line":"services (and vice-versa). The versions are specified in the"},{"line_number":57,"context_line":"``pin_release_version`` configuration variable. RPC pinning ensures new"},{"line_number":58,"context_line":"services can talk to the older service\u0027s method signatures. But many of the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_854f4dbd","line":55,"in_reply_to":"ba5201f7_c91f7906","updated":"2017-01-10 16:50:02.000000000","message":"I agree, I removed some of the redundant text in this paragraph.","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"b3e856c7289f68f9822e08727160d9d742a47194","unresolved":false,"context_lines":[{"line_number":59,"context_line":"parameters are objects that may well be too new for the old service to"},{"line_number":60,"context_line":"understand. Ironic makes sure to backport an object to a version that it is"},{"line_number":61,"context_line":"pinned to before sending. In case of receiving ``UnsupportedVersion`` or"},{"line_number":62,"context_line":"``IncompatibleObjectVersion`` exceptions it ist most probable that this"},{"line_number":63,"context_line":"configuration variable is misconfigured."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Online Data Migrations"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_8944911b","line":62,"range":{"start_line":62,"start_character":44,"end_line":62,"end_character":47},"updated":"2017-01-04 20:06:11.000000000","message":"s/ist/is","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"e6cd90ab700f34802bae5122a942e7df88dfd3a7","unresolved":false,"context_lines":[{"line_number":59,"context_line":"parameters are objects that may well be too new for the old service to"},{"line_number":60,"context_line":"understand. Ironic makes sure to backport an object to a version that it is"},{"line_number":61,"context_line":"pinned to before sending. In case of receiving ``UnsupportedVersion`` or"},{"line_number":62,"context_line":"``IncompatibleObjectVersion`` exceptions it ist most probable that this"},{"line_number":63,"context_line":"configuration variable is misconfigured."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Online Data Migrations"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_e34491b8","line":62,"range":{"start_line":62,"start_character":44,"end_line":62,"end_character":47},"in_reply_to":"ba5201f7_8944911b","updated":"2017-01-10 16:50:02.000000000","message":"Done","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"b3e856c7289f68f9822e08727160d9d742a47194","unresolved":false,"context_lines":[{"line_number":68,"context_line":"To make DB schema migrations less painful to execute, all data migrations are"},{"line_number":69,"context_line":"banned from schema migration scripts. Instead, the migrations should be done"},{"line_number":70,"context_line":"by backgroud process in a manner that doesn\u0027t interrupt running services"},{"line_number":71,"context_line":"(you can also execute online data migrations with services turned off if you\u0027re"},{"line_number":72,"context_line":"doing a cold upgrade). In Ocata a new ``ironic-dbsync online-data-migrations``"},{"line_number":73,"context_line":"utility was added for that purpose.  Before upgrading Ocata to Pike, you need"},{"line_number":74,"context_line":"to run this tool in the background, until it tells you no more migrations are"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_69804df8","line":71,"range":{"start_line":71,"start_character":22,"end_line":71,"end_character":28},"updated":"2017-01-04 20:06:11.000000000","message":"nit: these wouldn\u0027t be \"online\" data migrations if services are turned off. Perhaps it\u0027s better to specify that you can use the same command for upgrading if services are turned off.","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"e6cd90ab700f34802bae5122a942e7df88dfd3a7","unresolved":false,"context_lines":[{"line_number":68,"context_line":"To make DB schema migrations less painful to execute, all data migrations are"},{"line_number":69,"context_line":"banned from schema migration scripts. Instead, the migrations should be done"},{"line_number":70,"context_line":"by backgroud process in a manner that doesn\u0027t interrupt running services"},{"line_number":71,"context_line":"(you can also execute online data migrations with services turned off if you\u0027re"},{"line_number":72,"context_line":"doing a cold upgrade). In Ocata a new ``ironic-dbsync online-data-migrations``"},{"line_number":73,"context_line":"utility was added for that purpose.  Before upgrading Ocata to Pike, you need"},{"line_number":74,"context_line":"to run this tool in the background, until it tells you no more migrations are"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_a3d609c1","line":71,"range":{"start_line":71,"start_character":22,"end_line":71,"end_character":28},"in_reply_to":"ba5201f7_69804df8","updated":"2017-01-10 16:50:02.000000000","message":"Done","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"b3e856c7289f68f9822e08727160d9d742a47194","unresolved":false,"context_lines":[{"line_number":70,"context_line":"by backgroud process in a manner that doesn\u0027t interrupt running services"},{"line_number":71,"context_line":"(you can also execute online data migrations with services turned off if you\u0027re"},{"line_number":72,"context_line":"doing a cold upgrade). In Ocata a new ``ironic-dbsync online-data-migrations``"},{"line_number":73,"context_line":"utility was added for that purpose.  Before upgrading Ocata to Pike, you need"},{"line_number":74,"context_line":"to run this tool in the background, until it tells you no more migrations are"},{"line_number":75,"context_line":"needed.  Note that you won\u0027t be able to apply Pike\u0027s schema migrations before"},{"line_number":76,"context_line":"completing Ocata\u0027s online data migrations."}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_69ae8d82","line":73,"updated":"2017-01-04 20:06:11.000000000","message":"Ocata to Pike or any intermediate release","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"e6cd90ab700f34802bae5122a942e7df88dfd3a7","unresolved":false,"context_lines":[{"line_number":70,"context_line":"by backgroud process in a manner that doesn\u0027t interrupt running services"},{"line_number":71,"context_line":"(you can also execute online data migrations with services turned off if you\u0027re"},{"line_number":72,"context_line":"doing a cold upgrade). In Ocata a new ``ironic-dbsync online-data-migrations``"},{"line_number":73,"context_line":"utility was added for that purpose.  Before upgrading Ocata to Pike, you need"},{"line_number":74,"context_line":"to run this tool in the background, until it tells you no more migrations are"},{"line_number":75,"context_line":"needed.  Note that you won\u0027t be able to apply Pike\u0027s schema migrations before"},{"line_number":76,"context_line":"completing Ocata\u0027s online data migrations."}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_7ef916c8","line":73,"in_reply_to":"ba5201f7_69ae8d82","updated":"2017-01-10 16:50:02.000000000","message":"I clarified at the end of this paragraph that it follows into the future, so before upgrading to Queens, online migrations from Pike have to be applied and so on.","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"b3e856c7289f68f9822e08727160d9d742a47194","unresolved":false,"context_lines":[{"line_number":78,"context_line":"Graceful service shutdown"},{"line_number":79,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"Ironic conductor service is a python processes listening for messages on a AMQP"},{"line_number":82,"context_line":"queue. When the operator sends SIGTERM signal to the process, it stops getting"},{"line_number":83,"context_line":"new work from its queue, completes any outstanding work and then terminates."},{"line_number":84,"context_line":"During this process, messages can be left on the queue for when the python"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_49e469e0","line":81,"range":{"start_line":81,"start_character":37,"end_line":81,"end_character":46},"updated":"2017-01-04 20:06:11.000000000","message":"s/processes/process","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"b3e856c7289f68f9822e08727160d9d742a47194","unresolved":false,"context_lines":[{"line_number":112,"context_line":"  between subsequent releases. This means that you cannot upgrade Newton"},{"line_number":113,"context_line":"  directly into Pike, you need to upgrade to Ocata first."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* To avoid dependency hell it is advised to have your ironic services deployed"},{"line_number":116,"context_line":"  separately in containers or Python venvs."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* Note that ironic is basing it\u0027s RPC and object storage format version on the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_0f8c217e","line":115,"range":{"start_line":115,"start_character":2,"end_line":115,"end_character":26},"updated":"2017-01-04 20:06:11.000000000","message":"How about:\n\n\"To avoid conflicting dependencies...\"","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"e6cd90ab700f34802bae5122a942e7df88dfd3a7","unresolved":false,"context_lines":[{"line_number":112,"context_line":"  between subsequent releases. This means that you cannot upgrade Newton"},{"line_number":113,"context_line":"  directly into Pike, you need to upgrade to Ocata first."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* To avoid dependency hell it is advised to have your ironic services deployed"},{"line_number":116,"context_line":"  separately in containers or Python venvs."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* Note that ironic is basing it\u0027s RPC and object storage format version on the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_dec3e255","line":115,"range":{"start_line":115,"start_character":2,"end_line":115,"end_character":26},"in_reply_to":"ba5201f7_0f8c217e","updated":"2017-01-10 16:50:02.000000000","message":"Done","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"b3e856c7289f68f9822e08727160d9d742a47194","unresolved":false,"context_lines":[{"line_number":113,"context_line":"  directly into Pike, you need to upgrade to Ocata first."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* To avoid dependency hell it is advised to have your ironic services deployed"},{"line_number":116,"context_line":"  separately in containers or Python venvs."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* Note that ironic is basing it\u0027s RPC and object storage format version on the"},{"line_number":119,"context_line":"  ``pin_release_version`` configuration variable. It is advisible to automate"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_2feba514","line":116,"range":{"start_line":116,"start_character":37,"end_line":116,"end_character":42},"updated":"2017-01-04 20:06:11.000000000","message":"virtualenvs","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"e6cd90ab700f34802bae5122a942e7df88dfd3a7","unresolved":false,"context_lines":[{"line_number":113,"context_line":"  directly into Pike, you need to upgrade to Ocata first."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* To avoid dependency hell it is advised to have your ironic services deployed"},{"line_number":116,"context_line":"  separately in containers or Python venvs."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* Note that ironic is basing it\u0027s RPC and object storage format version on the"},{"line_number":119,"context_line":"  ``pin_release_version`` configuration variable. It is advisible to automate"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_1ea48ab7","line":116,"range":{"start_line":116,"start_character":37,"end_line":116,"end_character":42},"in_reply_to":"ba5201f7_2feba514","updated":"2017-01-10 16:50:02.000000000","message":"Done","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"b3e856c7289f68f9822e08727160d9d742a47194","unresolved":false,"context_lines":[{"line_number":118,"context_line":"* Note that ironic is basing it\u0027s RPC and object storage format version on the"},{"line_number":119,"context_line":"  ``pin_release_version`` configuration variable. It is advisible to automate"},{"line_number":120,"context_line":"  the deployment of changes in configuration files to make the process less"},{"line_number":121,"context_line":"  error prone and repatable."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"* Assumed service upgrade order is first to upgrade the Ironic Python Agent"},{"line_number":124,"context_line":"  image, then ironic-conductor, ironic-api, and finally python-ironicclient"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_afdf9567","line":121,"range":{"start_line":121,"start_character":18,"end_line":121,"end_character":27},"updated":"2017-01-04 20:06:11.000000000","message":"repeatable","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"b3e856c7289f68f9822e08727160d9d742a47194","unresolved":false,"context_lines":[{"line_number":120,"context_line":"  the deployment of changes in configuration files to make the process less"},{"line_number":121,"context_line":"  error prone and repatable."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"* Assumed service upgrade order is first to upgrade the Ironic Python Agent"},{"line_number":124,"context_line":"  image, then ironic-conductor, ironic-api, and finally python-ironicclient"},{"line_number":125,"context_line":"  with other services connecting to ironic as a client."},{"line_number":126,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_4fd7094b","line":123,"updated":"2017-01-04 20:06:11.000000000","message":"Do you think it\u0027s also necessary to explicitly mention that Nova should be upgraded after Ironic if the deployment uses both?","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"e6cd90ab700f34802bae5122a942e7df88dfd3a7","unresolved":false,"context_lines":[{"line_number":120,"context_line":"  the deployment of changes in configuration files to make the process less"},{"line_number":121,"context_line":"  error prone and repatable."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"* Assumed service upgrade order is first to upgrade the Ironic Python Agent"},{"line_number":124,"context_line":"  image, then ironic-conductor, ironic-api, and finally python-ironicclient"},{"line_number":125,"context_line":"  with other services connecting to ironic as a client."},{"line_number":126,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_9e3a3a33","line":123,"in_reply_to":"ba5201f7_4fd7094b","updated":"2017-01-10 16:50:02.000000000","message":"Ok, I added nova-conductor as an example. I\u0027m not sure though if this will always be the case. You may be able to upgrade nova without upgrading python-ironicclient first.","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"b3e856c7289f68f9822e08727160d9d742a47194","unresolved":false,"context_lines":[{"line_number":159,"context_line":"   communication and data storage. After upgrading the code, restart the"},{"line_number":160,"context_line":"   service."},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"2. You should repeat first step for all of the ironic-conductor services."},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"3. Next service is ironic-api. In HA deployment you\u0027re typically running them"},{"line_number":165,"context_line":"   behind a load balancer (e.g. HAProxy), so you  need to take one service"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_ef535de0","line":162,"updated":"2017-01-04 20:06:11.000000000","message":"Might be good to specify \"Ensure at least one ironic-conductor service is running at all times.\"","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"e6cd90ab700f34802bae5122a942e7df88dfd3a7","unresolved":false,"context_lines":[{"line_number":159,"context_line":"   communication and data storage. After upgrading the code, restart the"},{"line_number":160,"context_line":"   service."},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"2. You should repeat first step for all of the ironic-conductor services."},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"3. Next service is ironic-api. In HA deployment you\u0027re typically running them"},{"line_number":165,"context_line":"   behind a load balancer (e.g. HAProxy), so you  need to take one service"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_def76257","line":162,"in_reply_to":"ba5201f7_ef535de0","updated":"2017-01-10 16:50:02.000000000","message":"Done","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"b3e856c7289f68f9822e08727160d9d742a47194","unresolved":false,"context_lines":[{"line_number":162,"context_line":"2. You should repeat first step for all of the ironic-conductor services."},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"3. Next service is ironic-api. In HA deployment you\u0027re typically running them"},{"line_number":165,"context_line":"   behind a load balancer (e.g. HAProxy), so you  need to take one service"},{"line_number":166,"context_line":"   instance out of the balancer, shut it down, upgrade the code and"},{"line_number":167,"context_line":"   dependencies, set the ``pin_release_version`` configuration and start the"},{"line_number":168,"context_line":"   service again. Then you can plug it back into the load balancer."}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_6f568dcf","line":165,"range":{"start_line":165,"start_character":48,"end_line":165,"end_character":50},"updated":"2017-01-04 20:06:11.000000000","message":"You have an extra space here","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"e6cd90ab700f34802bae5122a942e7df88dfd3a7","unresolved":false,"context_lines":[{"line_number":162,"context_line":"2. You should repeat first step for all of the ironic-conductor services."},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"3. Next service is ironic-api. In HA deployment you\u0027re typically running them"},{"line_number":165,"context_line":"   behind a load balancer (e.g. HAProxy), so you  need to take one service"},{"line_number":166,"context_line":"   instance out of the balancer, shut it down, upgrade the code and"},{"line_number":167,"context_line":"   dependencies, set the ``pin_release_version`` configuration and start the"},{"line_number":168,"context_line":"   service again. Then you can plug it back into the load balancer."}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_3eb6ae8a","line":165,"range":{"start_line":165,"start_character":48,"end_line":165,"end_character":50},"in_reply_to":"ba5201f7_6f568dcf","updated":"2017-01-10 16:50:02.000000000","message":"Done","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"b3e856c7289f68f9822e08727160d9d742a47194","unresolved":false,"context_lines":[{"line_number":177,"context_line":"     At this point, ironic is running in the new version but with downgraded"},{"line_number":178,"context_line":"     RPC communication and database object storage formats. New features can"},{"line_number":179,"context_line":"     fail when objects are backported to lowest common denominator and some"},{"line_number":180,"context_line":"     internal RPC api functions may still be not available."},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"5. Proceed with removing the ``pin_release_version`` setting of"},{"line_number":183,"context_line":"   ironic-conductor services, after which a restart is required. Do it for all"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_2f0725cb","line":180,"range":{"start_line":180,"start_character":18,"end_line":180,"end_character":21},"updated":"2017-01-04 20:06:11.000000000","message":"s/api/API","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"e6cd90ab700f34802bae5122a942e7df88dfd3a7","unresolved":false,"context_lines":[{"line_number":177,"context_line":"     At this point, ironic is running in the new version but with downgraded"},{"line_number":178,"context_line":"     RPC communication and database object storage formats. New features can"},{"line_number":179,"context_line":"     fail when objects are backported to lowest common denominator and some"},{"line_number":180,"context_line":"     internal RPC api functions may still be not available."},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"5. Proceed with removing the ``pin_release_version`` setting of"},{"line_number":183,"context_line":"   ironic-conductor services, after which a restart is required. Do it for all"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_5eb9b278","line":180,"range":{"start_line":180,"start_character":18,"end_line":180,"end_character":21},"in_reply_to":"ba5201f7_2f0725cb","updated":"2017-01-10 16:50:02.000000000","message":"Done","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":19213,"name":"Szymon Borkowski","email":"szymon.borkowski@intel.com","username":"sborkows"},"change_message_id":"00c8f976bbcf0e62da826e6cd2c5950d43ca1219","unresolved":false,"context_lines":[{"line_number":201,"context_line":""},{"line_number":202,"context_line":"* Since Ocata, you also need to run ``ironic-dbsync online_data_migrations``"},{"line_number":203,"context_line":"  command to make sure data migrations are applied. The tool let\u0027s you limit"},{"line_number":204,"context_line":"  the impact of the data migrations by using ``--max_number`` option to limit"},{"line_number":205,"context_line":"  number of migrations executed in one run. You need to complete all of the"},{"line_number":206,"context_line":"  migrations before starting upgrade to the next version (e.g. you need to"},{"line_number":207,"context_line":"  complete Ocata\u0027s data migrations before proceeding with upgrade to Pike; you"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_6fee78b5","line":204,"range":{"start_line":204,"start_character":47,"end_line":204,"end_character":59},"updated":"2017-01-05 09:33:36.000000000","message":"s/--max_number/--max-count","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"e6cd90ab700f34802bae5122a942e7df88dfd3a7","unresolved":false,"context_lines":[{"line_number":201,"context_line":""},{"line_number":202,"context_line":"* Since Ocata, you also need to run ``ironic-dbsync online_data_migrations``"},{"line_number":203,"context_line":"  command to make sure data migrations are applied. The tool let\u0027s you limit"},{"line_number":204,"context_line":"  the impact of the data migrations by using ``--max_number`` option to limit"},{"line_number":205,"context_line":"  number of migrations executed in one run. You need to complete all of the"},{"line_number":206,"context_line":"  migrations before starting upgrade to the next version (e.g. you need to"},{"line_number":207,"context_line":"  complete Ocata\u0027s data migrations before proceeding with upgrade to Pike; you"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba5201f7_3e122e63","line":204,"range":{"start_line":204,"start_character":47,"end_line":204,"end_character":59},"in_reply_to":"ba5201f7_6fee78b5","updated":"2017-01-10 16:50:02.000000000","message":"Done","commit_id":"a81638eef1532a0698b62a437394291aff94b02d"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Through careful RPC versioning, newer services are able to talk to older"},{"line_number":56,"context_line":"services (and vice-versa). The versions are specified in the"},{"line_number":57,"context_line":"``pin_release_version`` configuration variable. Ironic makes sure to backport"},{"line_number":58,"context_line":"an RPC call and objects to a version that it is pinned to before sending. In"},{"line_number":59,"context_line":"case of receiving ``UnsupportedVersion`` or ``IncompatibleObjectVersion``"},{"line_number":60,"context_line":"exceptions it is most probable that this configuration variable is"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_9c64b822","line":57,"updated":"2017-01-11 22:49:36.000000000","message":"maybe add \u0027[DEFAULT]\u0027 before the config variable string.","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad753cb403c50b0f6f01c40a238aca319bd3f348","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Through careful RPC versioning, newer services are able to talk to older"},{"line_number":56,"context_line":"services (and vice-versa). The versions are specified in the"},{"line_number":57,"context_line":"``pin_release_version`` configuration variable. Ironic makes sure to backport"},{"line_number":58,"context_line":"an RPC call and objects to a version that it is pinned to before sending. In"},{"line_number":59,"context_line":"case of receiving ``UnsupportedVersion`` or ``IncompatibleObjectVersion``"},{"line_number":60,"context_line":"exceptions it is most probable that this configuration variable is"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a57fde8_bbb6653b","line":57,"in_reply_to":"ba5201f7_9c64b822","updated":"2017-01-12 15:25:53.000000000","message":"Done","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":56,"context_line":"services (and vice-versa). The versions are specified in the"},{"line_number":57,"context_line":"``pin_release_version`` configuration variable. Ironic makes sure to backport"},{"line_number":58,"context_line":"an RPC call and objects to a version that it is pinned to before sending. In"},{"line_number":59,"context_line":"case of receiving ``UnsupportedVersion`` or ``IncompatibleObjectVersion``"},{"line_number":60,"context_line":"exceptions it is most probable that this configuration variable is"},{"line_number":61,"context_line":"misconfigured."},{"line_number":62,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_2faf102b","line":59,"updated":"2017-01-11 22:49:36.000000000","message":"Maybe \u0027If UnsupportedVersion or IncompatibleObjectVersion exceptions  occur, it is most likely due to an incorrect value for the pin-release_version configuration variable.\u0027","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad753cb403c50b0f6f01c40a238aca319bd3f348","unresolved":false,"context_lines":[{"line_number":56,"context_line":"services (and vice-versa). The versions are specified in the"},{"line_number":57,"context_line":"``pin_release_version`` configuration variable. Ironic makes sure to backport"},{"line_number":58,"context_line":"an RPC call and objects to a version that it is pinned to before sending. In"},{"line_number":59,"context_line":"case of receiving ``UnsupportedVersion`` or ``IncompatibleObjectVersion``"},{"line_number":60,"context_line":"exceptions it is most probable that this configuration variable is"},{"line_number":61,"context_line":"misconfigured."},{"line_number":62,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a57fde8_9bb9a131","line":59,"in_reply_to":"ba5201f7_2faf102b","updated":"2017-01-12 15:25:53.000000000","message":"Done","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":65,"context_line":""},{"line_number":66,"context_line":"To make DB schema migrations less painful to execute, all data migrations are"},{"line_number":67,"context_line":"banned from schema migration scripts. Instead, the migrations should be done"},{"line_number":68,"context_line":"by backgroud process in a manner that doesn\u0027t interrupt running services"},{"line_number":69,"context_line":"(you can also execute the same command with services turned off if you\u0027re"},{"line_number":70,"context_line":"doing a cold upgrade). In Ocata a new ``ironic-dbsync online_data_migrations``"},{"line_number":71,"context_line":"utility was added for that purpose. Before upgrading Ocata to Pike, you need"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_ef6fc8f9","line":68,"updated":"2017-01-11 22:49:36.000000000","message":"s/backgroud/background/","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad753cb403c50b0f6f01c40a238aca319bd3f348","unresolved":false,"context_lines":[{"line_number":65,"context_line":""},{"line_number":66,"context_line":"To make DB schema migrations less painful to execute, all data migrations are"},{"line_number":67,"context_line":"banned from schema migration scripts. Instead, the migrations should be done"},{"line_number":68,"context_line":"by backgroud process in a manner that doesn\u0027t interrupt running services"},{"line_number":69,"context_line":"(you can also execute the same command with services turned off if you\u0027re"},{"line_number":70,"context_line":"doing a cold upgrade). In Ocata a new ``ironic-dbsync online_data_migrations``"},{"line_number":71,"context_line":"utility was added for that purpose. Before upgrading Ocata to Pike, you need"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a57fde8_1bf3f10b","line":68,"in_reply_to":"ba5201f7_ef6fc8f9","updated":"2017-01-12 15:25:53.000000000","message":"Done","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"* Note that there\u0027s an assumption that live upgrade can be performed only"},{"line_number":112,"context_line":"  between subsequent releases. This means that you cannot upgrade Newton"},{"line_number":113,"context_line":"  directly into Pike, you need to upgrade to Ocata first."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* To avoid conflicting dependencies it is advised to have your ironic services"},{"line_number":116,"context_line":"  deployed separately in containers or Python virtualenvs."}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_cf54c4ff","line":113,"updated":"2017-01-11 22:49:36.000000000","message":"s/into/to/","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":115,"context_line":"* To avoid conflicting dependencies it is advised to have your ironic services"},{"line_number":116,"context_line":"  deployed separately in containers or Python virtualenvs."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* Note that ironic is basing it\u0027s RPC and object storage format version on the"},{"line_number":119,"context_line":"  ``pin_release_version`` configuration variable. It is advisible to automate"},{"line_number":120,"context_line":"  the deployment of changes in configuration files to make the process less"},{"line_number":121,"context_line":"  error prone and repeatable."}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_cf6be4b7","line":118,"updated":"2017-01-11 22:49:36.000000000","message":"s/it\u0027s/its/\n\ns/version/versions/","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad753cb403c50b0f6f01c40a238aca319bd3f348","unresolved":false,"context_lines":[{"line_number":115,"context_line":"* To avoid conflicting dependencies it is advised to have your ironic services"},{"line_number":116,"context_line":"  deployed separately in containers or Python virtualenvs."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* Note that ironic is basing it\u0027s RPC and object storage format version on the"},{"line_number":119,"context_line":"  ``pin_release_version`` configuration variable. It is advisible to automate"},{"line_number":120,"context_line":"  the deployment of changes in configuration files to make the process less"},{"line_number":121,"context_line":"  error prone and repeatable."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a57fde8_1b41310c","line":118,"in_reply_to":"ba5201f7_cf6be4b7","updated":"2017-01-12 15:25:53.000000000","message":"Done","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":116,"context_line":"  deployed separately in containers or Python virtualenvs."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* Note that ironic is basing it\u0027s RPC and object storage format version on the"},{"line_number":119,"context_line":"  ``pin_release_version`` configuration variable. It is advisible to automate"},{"line_number":120,"context_line":"  the deployment of changes in configuration files to make the process less"},{"line_number":121,"context_line":"  error prone and repeatable."},{"line_number":122,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_8f9c7cc1","line":119,"updated":"2017-01-11 22:49:36.000000000","message":"s/``/``[DEFAULT]/\n\ns/advisible/advisable/","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad753cb403c50b0f6f01c40a238aca319bd3f348","unresolved":false,"context_lines":[{"line_number":116,"context_line":"  deployed separately in containers or Python virtualenvs."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* Note that ironic is basing it\u0027s RPC and object storage format version on the"},{"line_number":119,"context_line":"  ``pin_release_version`` configuration variable. It is advisible to automate"},{"line_number":120,"context_line":"  the deployment of changes in configuration files to make the process less"},{"line_number":121,"context_line":"  error prone and repeatable."},{"line_number":122,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a57fde8_9b5521c8","line":119,"in_reply_to":"ba5201f7_8f9c7cc1","updated":"2017-01-12 15:25:53.000000000","message":"Done","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":130,"context_line":"To reduce downtime, the services can be upgraded in a rolling fashion. It means"},{"line_number":131,"context_line":"upgrading a few services at a time. To minimise downtime you need to have HA"},{"line_number":132,"context_line":"ironic deployment, so at the moment a service is upgraded, you\u0027ll keep other"},{"line_number":133,"context_line":"service instances running."},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"Before maintenance window"},{"line_number":136,"context_line":"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_ef5a68f1","line":133,"updated":"2017-01-11 22:49:36.000000000","message":"maybe \u0027so that when a service instance is being upgraded, the other instances are still running.\u0027","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad753cb403c50b0f6f01c40a238aca319bd3f348","unresolved":false,"context_lines":[{"line_number":130,"context_line":"To reduce downtime, the services can be upgraded in a rolling fashion. It means"},{"line_number":131,"context_line":"upgrading a few services at a time. To minimise downtime you need to have HA"},{"line_number":132,"context_line":"ironic deployment, so at the moment a service is upgraded, you\u0027ll keep other"},{"line_number":133,"context_line":"service instances running."},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"Before maintenance window"},{"line_number":136,"context_line":"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a57fde8_bb1745ec","line":133,"in_reply_to":"ba5201f7_ef5a68f1","updated":"2017-01-12 15:25:53.000000000","message":"Done","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":137,"context_line":""},{"line_number":138,"context_line":"* First you should execute required DB schema migrations. To achieve that"},{"line_number":139,"context_line":"  without interrupting your existing installation, install new ironic code in"},{"line_number":140,"context_line":"  new virtualenv or a container and run the DB sync"},{"line_number":141,"context_line":"  (``ironic-dbsync upgrade``). These schema change operations should have"},{"line_number":142,"context_line":"  minimal or no effect on performance, and should not cause any operations to"},{"line_number":143,"context_line":"  fail (but please check the release notes)."}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_2fc9d059","line":140,"updated":"2017-01-11 22:49:36.000000000","message":"s/DB sync  ()/DB upgrade command: ``ironic-dbsync upgrade``","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad753cb403c50b0f6f01c40a238aca319bd3f348","unresolved":false,"context_lines":[{"line_number":137,"context_line":""},{"line_number":138,"context_line":"* First you should execute required DB schema migrations. To achieve that"},{"line_number":139,"context_line":"  without interrupting your existing installation, install new ironic code in"},{"line_number":140,"context_line":"  new virtualenv or a container and run the DB sync"},{"line_number":141,"context_line":"  (``ironic-dbsync upgrade``). These schema change operations should have"},{"line_number":142,"context_line":"  minimal or no effect on performance, and should not cause any operations to"},{"line_number":143,"context_line":"  fail (but please check the release notes)."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a57fde8_bbee65ea","line":140,"in_reply_to":"ba5201f7_2fc9d059","updated":"2017-01-12 15:25:53.000000000","message":"Done","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":149,"context_line":"During maintenance window"},{"line_number":150,"context_line":"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\""},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"1. ironic-conductor services should go first. Conductors are load-balanced by"},{"line_number":153,"context_line":"   the message queue, so the only thing you need to worry about is to shut"},{"line_number":154,"context_line":"   the service down gracefully (using ``SIGTERM`` signal) to make sure it will"},{"line_number":155,"context_line":"   finish all the requests being processed before shutting down. Upgrade the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_2fd0f0f5","line":152,"updated":"2017-01-11 22:49:36.000000000","message":"s/go/be upgraded/","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":153,"context_line":"   the message queue, so the only thing you need to worry about is to shut"},{"line_number":154,"context_line":"   the service down gracefully (using ``SIGTERM`` signal) to make sure it will"},{"line_number":155,"context_line":"   finish all the requests being processed before shutting down. Upgrade the"},{"line_number":156,"context_line":"   code and set ``pin_release_version`` to the version you are upgrading from."},{"line_number":157,"context_line":"   Ironic\u0027s internal mechanisms will make sure that new ironic-conductor will"},{"line_number":158,"context_line":"   detect that it\u0027s running with older versions and will downgrade any"},{"line_number":159,"context_line":"   communication and data storage. After upgrading the code, restart the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_af0a2088","line":156,"updated":"2017-01-11 22:49:36.000000000","message":"s/``/``[DEFAULT]/","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad753cb403c50b0f6f01c40a238aca319bd3f348","unresolved":false,"context_lines":[{"line_number":153,"context_line":"   the message queue, so the only thing you need to worry about is to shut"},{"line_number":154,"context_line":"   the service down gracefully (using ``SIGTERM`` signal) to make sure it will"},{"line_number":155,"context_line":"   finish all the requests being processed before shutting down. Upgrade the"},{"line_number":156,"context_line":"   code and set ``pin_release_version`` to the version you are upgrading from."},{"line_number":157,"context_line":"   Ironic\u0027s internal mechanisms will make sure that new ironic-conductor will"},{"line_number":158,"context_line":"   detect that it\u0027s running with older versions and will downgrade any"},{"line_number":159,"context_line":"   communication and data storage. After upgrading the code, restart the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a57fde8_5b95793e","line":156,"in_reply_to":"ba5201f7_af0a2088","updated":"2017-01-12 15:25:53.000000000","message":"Done","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":154,"context_line":"   the service down gracefully (using ``SIGTERM`` signal) to make sure it will"},{"line_number":155,"context_line":"   finish all the requests being processed before shutting down. Upgrade the"},{"line_number":156,"context_line":"   code and set ``pin_release_version`` to the version you are upgrading from."},{"line_number":157,"context_line":"   Ironic\u0027s internal mechanisms will make sure that new ironic-conductor will"},{"line_number":158,"context_line":"   detect that it\u0027s running with older versions and will downgrade any"},{"line_number":159,"context_line":"   communication and data storage. After upgrading the code, restart the"},{"line_number":160,"context_line":"   service."}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_6fed98b6","line":157,"updated":"2017-01-11 22:49:36.000000000","message":"s/new ironic-conductor/any new ironic-conductor services/","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad753cb403c50b0f6f01c40a238aca319bd3f348","unresolved":false,"context_lines":[{"line_number":154,"context_line":"   the service down gracefully (using ``SIGTERM`` signal) to make sure it will"},{"line_number":155,"context_line":"   finish all the requests being processed before shutting down. Upgrade the"},{"line_number":156,"context_line":"   code and set ``pin_release_version`` to the version you are upgrading from."},{"line_number":157,"context_line":"   Ironic\u0027s internal mechanisms will make sure that new ironic-conductor will"},{"line_number":158,"context_line":"   detect that it\u0027s running with older versions and will downgrade any"},{"line_number":159,"context_line":"   communication and data storage. After upgrading the code, restart the"},{"line_number":160,"context_line":"   service."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a57fde8_fbbaadbf","line":157,"in_reply_to":"ba5201f7_6fed98b6","updated":"2017-01-12 15:25:53.000000000","message":"Done","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":163,"context_line":"   Ensure at least one ironic-conductor service is running at all times."},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"3. Next service is ironic-api. In HA deployment you\u0027re typically running them"},{"line_number":166,"context_line":"   behind a load balancer (e.g. HAProxy), so you need to take one service"},{"line_number":167,"context_line":"   instance out of the balancer, shut it down, upgrade the code and"},{"line_number":168,"context_line":"   dependencies, set the ``pin_release_version`` configuration and start the"},{"line_number":169,"context_line":"   service again. Then you can plug it back into the load balancer."}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_ef37c84a","line":166,"updated":"2017-01-11 22:49:36.000000000","message":"s/e.g./for example/ (because we\u0027re not supposed to use abbreviations)","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad753cb403c50b0f6f01c40a238aca319bd3f348","unresolved":false,"context_lines":[{"line_number":163,"context_line":"   Ensure at least one ironic-conductor service is running at all times."},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"3. Next service is ironic-api. In HA deployment you\u0027re typically running them"},{"line_number":166,"context_line":"   behind a load balancer (e.g. HAProxy), so you need to take one service"},{"line_number":167,"context_line":"   instance out of the balancer, shut it down, upgrade the code and"},{"line_number":168,"context_line":"   dependencies, set the ``pin_release_version`` configuration and start the"},{"line_number":169,"context_line":"   service again. Then you can plug it back into the load balancer."}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a57fde8_dbb5e9d0","line":166,"in_reply_to":"ba5201f7_ef37c84a","updated":"2017-01-12 15:25:53.000000000","message":"Done","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":165,"context_line":"3. Next service is ironic-api. In HA deployment you\u0027re typically running them"},{"line_number":166,"context_line":"   behind a load balancer (e.g. HAProxy), so you need to take one service"},{"line_number":167,"context_line":"   instance out of the balancer, shut it down, upgrade the code and"},{"line_number":168,"context_line":"   dependencies, set the ``pin_release_version`` configuration and start the"},{"line_number":169,"context_line":"   service again. Then you can plug it back into the load balancer."},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"   .. note::"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_8f139cb7","line":168,"updated":"2017-01-11 22:49:36.000000000","message":"s/``/``[DEFAULT]/","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad753cb403c50b0f6f01c40a238aca319bd3f348","unresolved":false,"context_lines":[{"line_number":165,"context_line":"3. Next service is ironic-api. In HA deployment you\u0027re typically running them"},{"line_number":166,"context_line":"   behind a load balancer (e.g. HAProxy), so you need to take one service"},{"line_number":167,"context_line":"   instance out of the balancer, shut it down, upgrade the code and"},{"line_number":168,"context_line":"   dependencies, set the ``pin_release_version`` configuration and start the"},{"line_number":169,"context_line":"   service again. Then you can plug it back into the load balancer."},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"   .. note::"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a57fde8_3bb515cd","line":168,"in_reply_to":"ba5201f7_8f139cb7","updated":"2017-01-12 15:25:53.000000000","message":"Done","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":180,"context_line":"     fail when objects are backported to lowest common denominator and some"},{"line_number":181,"context_line":"     internal RPC API functions may still be not available."},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"5. Proceed with removing the ``pin_release_version`` setting of"},{"line_number":184,"context_line":"   ironic-conductor services, after which a restart is required. Do it for all"},{"line_number":185,"context_line":"   ironic-conductor services, one at a time."},{"line_number":186,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_4f7534f8","line":183,"updated":"2017-01-11 22:49:36.000000000","message":"[DEFAULT]pin_release_version configuration option","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad753cb403c50b0f6f01c40a238aca319bd3f348","unresolved":false,"context_lines":[{"line_number":180,"context_line":"     fail when objects are backported to lowest common denominator and some"},{"line_number":181,"context_line":"     internal RPC API functions may still be not available."},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"5. Proceed with removing the ``pin_release_version`` setting of"},{"line_number":184,"context_line":"   ironic-conductor services, after which a restart is required. Do it for all"},{"line_number":185,"context_line":"   ironic-conductor services, one at a time."},{"line_number":186,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a57fde8_9bc44141","line":183,"in_reply_to":"ba5201f7_4f7534f8","updated":"2017-01-12 15:25:53.000000000","message":"Done","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":190,"context_line":"After maintenance window"},{"line_number":191,"context_line":"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\""},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"* Now all the services are upgraded, the system is able to use the latest"},{"line_number":194,"context_line":"  version of the RPC protocol and able to access all the features of the new"},{"line_number":195,"context_line":"  release."},{"line_number":196,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_4f4c54c8","line":193,"updated":"2017-01-11 22:49:36.000000000","message":"s/Now/Now that/","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad753cb403c50b0f6f01c40a238aca319bd3f348","unresolved":false,"context_lines":[{"line_number":190,"context_line":"After maintenance window"},{"line_number":191,"context_line":"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\""},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"* Now all the services are upgraded, the system is able to use the latest"},{"line_number":194,"context_line":"  version of the RPC protocol and able to access all the features of the new"},{"line_number":195,"context_line":"  release."},{"line_number":196,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a57fde8_1be771e5","line":193,"in_reply_to":"ba5201f7_4f4c54c8","updated":"2017-01-12 15:25:53.000000000","message":"Done","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ad41ffa1964aee64094824af89ba2ff5e6aeb3f4","unresolved":false,"context_lines":[{"line_number":201,"context_line":"  upgrade is performed."},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"* Since Ocata, you also need to run ``ironic-dbsync online_data_migrations``"},{"line_number":204,"context_line":"  command to make sure data migrations are applied. The tool let\u0027s you limit"},{"line_number":205,"context_line":"  the impact of the data migrations by using ``--max-count`` option to limit"},{"line_number":206,"context_line":"  number of migrations executed in one run. You need to complete all of the"},{"line_number":207,"context_line":"  migrations before starting upgrade to the next version (e.g. you need to"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba5201f7_2fdab0e8","line":204,"updated":"2017-01-11 22:49:36.000000000","message":"s/let\u0027s/lets/","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"ad753cb403c50b0f6f01c40a238aca319bd3f348","unresolved":false,"context_lines":[{"line_number":201,"context_line":"  upgrade is performed."},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"* Since Ocata, you also need to run ``ironic-dbsync online_data_migrations``"},{"line_number":204,"context_line":"  command to make sure data migrations are applied. The tool let\u0027s you limit"},{"line_number":205,"context_line":"  the impact of the data migrations by using ``--max-count`` option to limit"},{"line_number":206,"context_line":"  number of migrations executed in one run. You need to complete all of the"},{"line_number":207,"context_line":"  migrations before starting upgrade to the next version (e.g. you need to"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a57fde8_9bdb611b","line":204,"in_reply_to":"ba5201f7_2fdab0e8","updated":"2017-01-12 15:25:53.000000000","message":"Done","commit_id":"f922b572476a3002b0a13241ae09e8d12f696398"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3d8320d3b148ae725af30c9ecba5e38fbe43a9ec","unresolved":false,"context_lines":[{"line_number":58,"context_line":"backport an RPC call and objects to a version that it is pinned to before"},{"line_number":59,"context_line":"sending. If ``UnsupportedVersion`` or ``IncompatibleObjectVersion`` exceptions"},{"line_number":60,"context_line":"occur, it is most likely due to an incorrect value for the"},{"line_number":61,"context_line":"``[DEFAULT]/pin_release_version`` configuration variable."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Online Data Migrations"},{"line_number":64,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a3c09a3_cb59ed36","line":61,"updated":"2017-01-17 22:19:46.000000000","message":"I was just thinking about this. It would be a programming error, not the user selecting the wrong value, right? Because the description for pin_release_version will only show the possible release versions.\n\nSo can the operator put an invalid value there?","commit_id":"203ed65ee03ea4fa851d862715df4b61948a2577"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fd12a19bb166850f1634ac8a7e4d1288fd4706f5","unresolved":false,"context_lines":[{"line_number":58,"context_line":"backport an RPC call and objects to a version that it is pinned to before"},{"line_number":59,"context_line":"sending. If ``UnsupportedVersion`` or ``IncompatibleObjectVersion`` exceptions"},{"line_number":60,"context_line":"occur, it is most likely due to an incorrect value for the"},{"line_number":61,"context_line":"``[DEFAULT]/pin_release_version`` configuration variable."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Online Data Migrations"},{"line_number":64,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a3c09a3_7468a088","line":61,"in_reply_to":"7a3c09a3_5934e948","updated":"2017-01-18 18:29:18.000000000","message":"Oh, good point. If this is the most likely scenario, it would be worth mentioning. Eg, for L60, something like\n\ns/incorrect value/incorrect value or not specifying a value (for example, did not set this to the older service so that no pinning happens during the upgrade)./","commit_id":"203ed65ee03ea4fa851d862715df4b61948a2577"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"08ccd2d058b078a838c0bfd1d0b8af9c813deca6","unresolved":false,"context_lines":[{"line_number":58,"context_line":"backport an RPC call and objects to a version that it is pinned to before"},{"line_number":59,"context_line":"sending. If ``UnsupportedVersion`` or ``IncompatibleObjectVersion`` exceptions"},{"line_number":60,"context_line":"occur, it is most likely due to an incorrect value for the"},{"line_number":61,"context_line":"``[DEFAULT]/pin_release_version`` configuration variable."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Online Data Migrations"},{"line_number":64,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"}],"source_content_type":"text/x-rst","patch_set":8,"id":"5a3905b3_b0e9db1c","line":61,"in_reply_to":"7a3c09a3_7468a088","updated":"2017-01-20 12:12:04.000000000","message":"Done","commit_id":"203ed65ee03ea4fa851d862715df4b61948a2577"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fc36aa14bb118f57522277281f0a70817d579bf2","unresolved":false,"context_lines":[{"line_number":58,"context_line":"backport an RPC call and objects to a version that it is pinned to before"},{"line_number":59,"context_line":"sending. If ``UnsupportedVersion`` or ``IncompatibleObjectVersion`` exceptions"},{"line_number":60,"context_line":"occur, it is most likely due to an incorrect value for the"},{"line_number":61,"context_line":"``[DEFAULT]/pin_release_version`` configuration variable."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Online Data Migrations"},{"line_number":64,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a3c09a3_5934e948","line":61,"in_reply_to":"7a3c09a3_cb59ed36","updated":"2017-01-18 07:36:19.000000000","message":"You\u0027re right, but there is a third option. That is when the operator forgets to set this pin (like pin the ocata version to newton), the older service can then get called with the newer rpc api and objects versions, which will throw these errors.","commit_id":"203ed65ee03ea4fa851d862715df4b61948a2577"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"2e61cf6d1c4c19d21a4b79469eabb8cbc9768562","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* Run online data migrations."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Rolling upgrades - available since Ocata"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"When upgrading from Newton, it is possible to do the upgrade with minimal to"},{"line_number":45,"context_line":"no downtime on the control plane (ironic HTTP API)."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Concepts"},{"line_number":48,"context_line":"--------"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"There are 4 aspects of the rolling upgrade process to keep in mind:"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a430d35_587d1e6d","line":47,"range":{"start_line":41,"start_character":0,"end_line":47,"end_character":8},"updated":"2017-02-07 00:30:42.000000000","message":"Following the sectioning conventions of this document, the section title could be \"Upgrading from Newton to Ocata\" and \n\n\"Concepts\" could be subtitled as \"Rolling Upgrades\".","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"db0c6b552a1f61bb58cda95719fd84b1050f8247","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* Run online data migrations."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Rolling upgrades - available since Ocata"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"When upgrading from Newton, it is possible to do the upgrade with minimal to"},{"line_number":45,"context_line":"no downtime on the control plane (ironic HTTP API)."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Concepts"},{"line_number":48,"context_line":"--------"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"There are 4 aspects of the rolling upgrade process to keep in mind:"}],"source_content_type":"text/x-rst","patch_set":10,"id":"ffe62b97_3d88c8c4","line":47,"range":{"start_line":41,"start_character":0,"end_line":47,"end_character":8},"in_reply_to":"1a430d35_587d1e6d","updated":"2017-03-24 04:50:09.000000000","message":"That\u0027s wrong, there\u0027s already an \u0027Upgrading from Newton to Ocata\u0027 section (below). This is for from whenever rolling upgrade lands. I suspect we might need to re-organize this, and/or add one for \u0027Upgrading from Ocata to Pike\u0027.\n\nThe intent of this patch is to describe how rolling upgrades would work, not for a particular release specifically, but going forward.\n\nwrt \u0027Concepts\u0027, From L41, it is all about rolling upgrades, so it doesn\u0027t make sense to have a subtitle that is \u0027rolling upgrades\u0027. I\u0027m open to something else though :-)","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"2e61cf6d1c4c19d21a4b79469eabb8cbc9768562","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"To make DB schema migrations less painful to execute, all data migrations are"},{"line_number":68,"context_line":"banned from schema migration scripts. Instead, the migrations should be done"},{"line_number":69,"context_line":"by background process in a manner that doesn\u0027t interrupt running services"},{"line_number":70,"context_line":"(you can also execute the same command with services turned off if you\u0027re"},{"line_number":71,"context_line":"doing a cold upgrade). In Ocata a new ``ironic-dbsync online_data_migrations``"},{"line_number":72,"context_line":"utility was added for that purpose. Before upgrading Ocata to Pike, you need"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a430d35_45c0dbe0","line":69,"range":{"start_line":69,"start_character":39,"end_line":69,"end_character":46},"updated":"2017-02-07 00:30:42.000000000","message":"generally contractions are not preferred: http://docs.openstack.org/contributor-guide/writing-style/general-writing-guidelines.html#do-not-use-contractions","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"db0c6b552a1f61bb58cda95719fd84b1050f8247","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"To make DB schema migrations less painful to execute, all data migrations are"},{"line_number":68,"context_line":"banned from schema migration scripts. Instead, the migrations should be done"},{"line_number":69,"context_line":"by background process in a manner that doesn\u0027t interrupt running services"},{"line_number":70,"context_line":"(you can also execute the same command with services turned off if you\u0027re"},{"line_number":71,"context_line":"doing a cold upgrade). In Ocata a new ``ironic-dbsync online_data_migrations``"},{"line_number":72,"context_line":"utility was added for that purpose. Before upgrading Ocata to Pike, you need"}],"source_content_type":"text/x-rst","patch_set":10,"id":"ffe62b97_0e3828d1","line":69,"range":{"start_line":69,"start_character":39,"end_line":69,"end_character":46},"in_reply_to":"1a430d35_45c0dbe0","updated":"2017-03-24 04:50:09.000000000","message":"+1","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"deb22933862d42c96914153044f253aaa5765723","unresolved":false,"context_lines":[{"line_number":79,"context_line":"Graceful service shutdown"},{"line_number":80,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"Ironic conductor service is a python process listening for messages on a AMQP"},{"line_number":83,"context_line":"queue. When the operator sends SIGTERM signal to the process, it stops getting"},{"line_number":84,"context_line":"new work from its queue, completes any outstanding work and then terminates."},{"line_number":85,"context_line":"During this process, messages can be left on the queue for when the python"}],"source_content_type":"text/x-rst","patch_set":10,"id":"3a461143_c5578e00","line":82,"range":{"start_line":82,"start_character":73,"end_line":82,"end_character":77},"updated":"2017-01-26 22:32:17.000000000","message":"Just for consistency should RabbitMQ be used here instead of mentioning about the protocol AMQP that rabbitmq use?","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"db0c6b552a1f61bb58cda95719fd84b1050f8247","unresolved":false,"context_lines":[{"line_number":79,"context_line":"Graceful service shutdown"},{"line_number":80,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"Ironic conductor service is a python process listening for messages on a AMQP"},{"line_number":83,"context_line":"queue. When the operator sends SIGTERM signal to the process, it stops getting"},{"line_number":84,"context_line":"new work from its queue, completes any outstanding work and then terminates."},{"line_number":85,"context_line":"During this process, messages can be left on the queue for when the python"}],"source_content_type":"text/x-rst","patch_set":10,"id":"ffe62b97_986482bb","line":82,"range":{"start_line":82,"start_character":73,"end_line":82,"end_character":77},"in_reply_to":"3a461143_c5578e00","updated":"2017-03-24 04:50:09.000000000","message":"I don\u0027t think so. It is possible to use something other than RabbitMQ. I changed it to be \u0027message queue\u0027 :)","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":23883,"name":"Joanna Taryma","email":"joanna.taryma@intel.com","username":"jtaryma"},"change_message_id":"6a07a3a702d89852c3768c22383eab7dbe58bd91","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"Ironic conductor service is a python process listening for messages on a AMQP"},{"line_number":83,"context_line":"queue. When the operator sends SIGTERM signal to the process, it stops getting"},{"line_number":84,"context_line":"new work from its queue, completes any outstanding work and then terminates."},{"line_number":85,"context_line":"During this process, messages can be left on the queue for when the python"},{"line_number":86,"context_line":"process starts back up. This gives us a way to shutdown a service using older"},{"line_number":87,"context_line":"code, and start up a service using newer code with minimal impact."}],"source_content_type":"text/x-rst","patch_set":10,"id":"3a461143_0bcb761f","line":84,"updated":"2017-01-26 18:20:47.000000000","message":"Word \u0027new\u0027 seems a little bit confusing here - it is a queue and there may be stale items that are not new, but still waiting for being processed. \n\nMaybe it will be clearer if stated that:\n \"stops consuming messages from queue, so that no additional work is picked up. It completes already started work (tasks?) and then terminates.","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"db0c6b552a1f61bb58cda95719fd84b1050f8247","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"Ironic conductor service is a python process listening for messages on a AMQP"},{"line_number":83,"context_line":"queue. When the operator sends SIGTERM signal to the process, it stops getting"},{"line_number":84,"context_line":"new work from its queue, completes any outstanding work and then terminates."},{"line_number":85,"context_line":"During this process, messages can be left on the queue for when the python"},{"line_number":86,"context_line":"process starts back up. This gives us a way to shutdown a service using older"},{"line_number":87,"context_line":"code, and start up a service using newer code with minimal impact."}],"source_content_type":"text/x-rst","patch_set":10,"id":"ffe62b97_b8dce618","line":84,"in_reply_to":"3a461143_0bcb761f","updated":"2017-03-24 04:50:09.000000000","message":"Done","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":23883,"name":"Joanna Taryma","email":"joanna.taryma@intel.com","username":"jtaryma"},"change_message_id":"6a07a3a702d89852c3768c22383eab7dbe58bd91","unresolved":false,"context_lines":[{"line_number":87,"context_line":"code, and start up a service using newer code with minimal impact."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":".. note::"},{"line_number":90,"context_line":"   This was tested with RabbitMQ messaging backend and may vary with other"},{"line_number":91,"context_line":"   backends."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"API load balancer draining"}],"source_content_type":"text/x-rst","patch_set":10,"id":"3a461143_4e5bcc2e","line":90,"updated":"2017-01-26 18:20:47.000000000","message":"Maybe mention the fact that messaging backend must support durability of messages on consumer detach (if I understand the requirements properly)","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"db0c6b552a1f61bb58cda95719fd84b1050f8247","unresolved":false,"context_lines":[{"line_number":87,"context_line":"code, and start up a service using newer code with minimal impact."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":".. note::"},{"line_number":90,"context_line":"   This was tested with RabbitMQ messaging backend and may vary with other"},{"line_number":91,"context_line":"   backends."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"API load balancer draining"}],"source_content_type":"text/x-rst","patch_set":10,"id":"ffe62b97_78989e69","line":90,"in_reply_to":"3a461143_4e5bcc2e","updated":"2017-03-24 04:50:09.000000000","message":"I\u0027m not sure if I want to go to that detail. That might not be the only thing so I\u0027d prefer to leave it vague. (Unless you know for sure?)","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":23883,"name":"Joanna Taryma","email":"joanna.taryma@intel.com","username":"jtaryma"},"change_message_id":"6a07a3a702d89852c3768c22383eab7dbe58bd91","unresolved":false,"context_lines":[{"line_number":106,"context_line":"* Read and ensure you understand the release notes for the next release."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"* Make a backup of your database. Ironic does not support downgrading of the"},{"line_number":109,"context_line":"  database. Hence, in case of upgrade failure, restoring database from backup"},{"line_number":110,"context_line":"  is the only choice."},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"* Note that there\u0027s an assumption that live upgrade can be performed only"}],"source_content_type":"text/x-rst","patch_set":10,"id":"3a461143_0e9f04b5","line":109,"updated":"2017-01-26 18:20:47.000000000","message":"This is an important point - maybe add this as optional step around ln 30?","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"db0c6b552a1f61bb58cda95719fd84b1050f8247","unresolved":false,"context_lines":[{"line_number":106,"context_line":"* Read and ensure you understand the release notes for the next release."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"* Make a backup of your database. Ironic does not support downgrading of the"},{"line_number":109,"context_line":"  database. Hence, in case of upgrade failure, restoring database from backup"},{"line_number":110,"context_line":"  is the only choice."},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"* Note that there\u0027s an assumption that live upgrade can be performed only"}],"source_content_type":"text/x-rst","patch_set":10,"id":"ffe62b97_981802d4","line":109,"in_reply_to":"3a461143_0e9f04b5","updated":"2017-03-24 04:50:09.000000000","message":"I\u0027d rather not touch that section since it is outside the scope of rolling upgrades. I suspect we may end up reorganizing a bit more. (Cold upgrade vs rolling upgrade vs ..)","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":23883,"name":"Joanna Taryma","email":"joanna.taryma@intel.com","username":"jtaryma"},"change_message_id":"6a07a3a702d89852c3768c22383eab7dbe58bd91","unresolved":false,"context_lines":[{"line_number":150,"context_line":"During maintenance window"},{"line_number":151,"context_line":"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\""},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"1. ironic-conductor services should be upgraded first. Conductors are"},{"line_number":154,"context_line":"   load-balanced by the message queue, so the only thing you need to worry"},{"line_number":155,"context_line":"   about is to shut the service down gracefully (using ``SIGTERM`` signal) to"},{"line_number":156,"context_line":"   make sure it will finish all the requests being processed before shutting"}],"source_content_type":"text/x-rst","patch_set":10,"id":"3a461143_6e732881","line":153,"updated":"2017-01-26 18:20:47.000000000","message":"ln 124 states that IPA is first?","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"db0c6b552a1f61bb58cda95719fd84b1050f8247","unresolved":false,"context_lines":[{"line_number":150,"context_line":"During maintenance window"},{"line_number":151,"context_line":"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\""},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"1. ironic-conductor services should be upgraded first. Conductors are"},{"line_number":154,"context_line":"   load-balanced by the message queue, so the only thing you need to worry"},{"line_number":155,"context_line":"   about is to shut the service down gracefully (using ``SIGTERM`` signal) to"},{"line_number":156,"context_line":"   make sure it will finish all the requests being processed before shutting"}],"source_content_type":"text/x-rst","patch_set":10,"id":"ffe62b97_f3be0ffe","line":153,"in_reply_to":"3a461143_6e732881","updated":"2017-03-24 04:50:09.000000000","message":"this whole section seems to only describe the ironic services; I\u0027ll clarify.\n\nI suspect that IPA can be done before the maintenance window, but I haven\u0027t thought about it.","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"2e61cf6d1c4c19d21a4b79469eabb8cbc9768562","unresolved":false,"context_lines":[{"line_number":156,"context_line":"   make sure it will finish all the requests being processed before shutting"},{"line_number":157,"context_line":"   down. Upgrade the code and set ``[DEFAULT]/pin_release_version`` to the"},{"line_number":158,"context_line":"   version you are upgrading from. Ironic\u0027s internal mechanisms will make sure"},{"line_number":159,"context_line":"   that any new ironic-conductor services will detect that it\u0027s running with"},{"line_number":160,"context_line":"   older versions and will downgrade any communication and data storage. After"},{"line_number":161,"context_line":"   upgrading the code, restart the service."},{"line_number":162,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"1a430d35_05e2539f","line":159,"range":{"start_line":159,"start_character":59,"end_line":159,"end_character":63},"updated":"2017-02-07 00:30:42.000000000","message":"it is","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"db0c6b552a1f61bb58cda95719fd84b1050f8247","unresolved":false,"context_lines":[{"line_number":156,"context_line":"   make sure it will finish all the requests being processed before shutting"},{"line_number":157,"context_line":"   down. Upgrade the code and set ``[DEFAULT]/pin_release_version`` to the"},{"line_number":158,"context_line":"   version you are upgrading from. Ironic\u0027s internal mechanisms will make sure"},{"line_number":159,"context_line":"   that any new ironic-conductor services will detect that it\u0027s running with"},{"line_number":160,"context_line":"   older versions and will downgrade any communication and data storage. After"},{"line_number":161,"context_line":"   upgrading the code, restart the service."},{"line_number":162,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"ffe62b97_ce3120ef","line":159,"range":{"start_line":159,"start_character":59,"end_line":159,"end_character":63},"in_reply_to":"1a430d35_05e2539f","updated":"2017-03-24 04:50:09.000000000","message":"Done","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"deb22933862d42c96914153044f253aaa5765723","unresolved":false,"context_lines":[{"line_number":166,"context_line":"3. Next service is ironic-api. In HA deployment you\u0027re typically running them"},{"line_number":167,"context_line":"   behind a load balancer (for example HAProxy), so you need to take one"},{"line_number":168,"context_line":"   service instance out of the balancer, shut it down, upgrade the code and"},{"line_number":169,"context_line":"   dependencies, set the ``[DEFAULT]\\pin_release_version`` configuration and"},{"line_number":170,"context_line":"   start the service again. Then you can plug it back into the load balancer."},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"   .. note::"}],"source_content_type":"text/x-rst","patch_set":10,"id":"3a461143_6a45c9b1","line":169,"range":{"start_line":169,"start_character":27,"end_line":169,"end_character":56},"updated":"2017-01-26 22:32:17.000000000","message":"nit: s/[DEFAULT]\\pin_release_version\\[DEFAULT]/pin_release_version","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"db0c6b552a1f61bb58cda95719fd84b1050f8247","unresolved":false,"context_lines":[{"line_number":166,"context_line":"3. Next service is ironic-api. In HA deployment you\u0027re typically running them"},{"line_number":167,"context_line":"   behind a load balancer (for example HAProxy), so you need to take one"},{"line_number":168,"context_line":"   service instance out of the balancer, shut it down, upgrade the code and"},{"line_number":169,"context_line":"   dependencies, set the ``[DEFAULT]\\pin_release_version`` configuration and"},{"line_number":170,"context_line":"   start the service again. Then you can plug it back into the load balancer."},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"   .. note::"}],"source_content_type":"text/x-rst","patch_set":10,"id":"ffe62b97_ae4c9c76","line":169,"range":{"start_line":169,"start_character":27,"end_line":169,"end_character":56},"in_reply_to":"3a461143_6a45c9b1","updated":"2017-03-24 04:50:09.000000000","message":"Done","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":23883,"name":"Joanna Taryma","email":"joanna.taryma@intel.com","username":"jtaryma"},"change_message_id":"6a07a3a702d89852c3768c22383eab7dbe58bd91","unresolved":false,"context_lines":[{"line_number":209,"context_line":"  complete Ocata\u0027s data migrations before proceeding with upgrade to Pike; you"},{"line_number":210,"context_line":"  won\u0027t be able to execute Pike\u0027s DB schema migrations before completing"},{"line_number":211,"context_line":"  Ocata\u0027s data migrations)."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"Upgrading from Kilo to Liberty"},{"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\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":215,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"3a461143_eea1d8aa","line":212,"updated":"2017-01-26 18:20:47.000000000","message":"Just making sure - there are no instructions on\nL-\u003eM\nM-\u003eN\nWill L(iberty) users be able to upgrade directly to Ocata?","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":19593,"name":"Anup Navare","email":"anup.d.navare@intel.com","username":"anup"},"change_message_id":"deb22933862d42c96914153044f253aaa5765723","unresolved":false,"context_lines":[{"line_number":209,"context_line":"  complete Ocata\u0027s data migrations before proceeding with upgrade to Pike; you"},{"line_number":210,"context_line":"  won\u0027t be able to execute Pike\u0027s DB schema migrations before completing"},{"line_number":211,"context_line":"  Ocata\u0027s data migrations)."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"Upgrading from Kilo to Liberty"},{"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\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":215,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"3a461143_85b666da","line":212,"in_reply_to":"3a461143_eea1d8aa","updated":"2017-01-26 22:32:17.000000000","message":"+1, L-\u003eM is not there.\nBut line 16, says from Mitika upgrade steps would be in release notes.","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"db0c6b552a1f61bb58cda95719fd84b1050f8247","unresolved":false,"context_lines":[{"line_number":209,"context_line":"  complete Ocata\u0027s data migrations before proceeding with upgrade to Pike; you"},{"line_number":210,"context_line":"  won\u0027t be able to execute Pike\u0027s DB schema migrations before completing"},{"line_number":211,"context_line":"  Ocata\u0027s data migrations)."},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"Upgrading from Kilo to Liberty"},{"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\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":215,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"ffe62b97_73b1dfe1","line":212,"in_reply_to":"3a461143_eea1d8aa","updated":"2017-03-24 04:50:09.000000000","message":"Nope, we\u0027ve never supported skipping a release when upgrading. That other stuff isn\u0027t there cuz the documentation was incomplete. It is there in the latest revision though (thx to Rama).","commit_id":"8be49641dd3911ed125f6e0a0959f1cea4ff7be2"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"6a91bb47402ea477e855595842c0f19c27f5bb42","unresolved":false,"context_lines":[{"line_number":56,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Through careful RPC versioning, newer services are able to talk to older"},{"line_number":59,"context_line":"services (and vice-versa). The versions are specified in the"},{"line_number":60,"context_line":"``[DEFAULT]/pin_release_version`` configuration variable. Ironic makes sure to"},{"line_number":61,"context_line":"backport an RPC call and objects to a version that it is pinned to before"},{"line_number":62,"context_line":"sending. If ``UnsupportedVersion`` or ``IncompatibleObjectVersion`` exceptions"}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_76931851","line":59,"range":{"start_line":59,"start_character":31,"end_line":59,"end_character":53},"updated":"2017-03-23 21:40:00.000000000","message":"This implies that more than one version can be specified.","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"d1bdee4005f95aa626c525ddb164a67b8760a85e","unresolved":false,"context_lines":[{"line_number":56,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Through careful RPC versioning, newer services are able to talk to older"},{"line_number":59,"context_line":"services (and vice-versa). The versions are specified in the"},{"line_number":60,"context_line":"``[DEFAULT]/pin_release_version`` configuration variable. Ironic makes sure to"},{"line_number":61,"context_line":"backport an RPC call and objects to a version that it is pinned to before"},{"line_number":62,"context_line":"sending. If ``UnsupportedVersion`` or ``IncompatibleObjectVersion`` exceptions"}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_56f0df67","line":59,"range":{"start_line":59,"start_character":31,"end_line":59,"end_character":53},"in_reply_to":"ffe62b97_3388f7c4","updated":"2017-03-24 22:55:50.000000000","message":"Thanks. It is better now.","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c6b7775bd35565c7925c235139033890e6b45e86","unresolved":false,"context_lines":[{"line_number":56,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Through careful RPC versioning, newer services are able to talk to older"},{"line_number":59,"context_line":"services (and vice-versa). The versions are specified in the"},{"line_number":60,"context_line":"``[DEFAULT]/pin_release_version`` configuration variable. Ironic makes sure to"},{"line_number":61,"context_line":"backport an RPC call and objects to a version that it is pinned to before"},{"line_number":62,"context_line":"sending. If ``UnsupportedVersion`` or ``IncompatibleObjectVersion`` exceptions"}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_3388f7c4","line":59,"range":{"start_line":59,"start_character":31,"end_line":59,"end_character":53},"in_reply_to":"ffe62b97_76931851","updated":"2017-03-24 04:50:20.000000000","message":"Yeah, that is an odd one. We need to know the versions for all the objects as well as RPC; the value in that config is used to get the mapping.\n\nI\u0027m not sure if \u0027versions\u0027 there refer to the RPC \u0026 objects, or whether it refer to the value of that config. I\u0027ll reword...","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"5d3bbc1943c062c3891497c27f75b644fed43ef2","unresolved":false,"context_lines":[{"line_number":85,"context_line":"Ironic conductor service is a python process listening for messages on a AMQP"},{"line_number":86,"context_line":"queue. When the operator sends SIGTERM signal to the process, it stops getting"},{"line_number":87,"context_line":"new work from its queue, completes any outstanding work and then terminates."},{"line_number":88,"context_line":"During this process, messages can be left on the queue for when the python"},{"line_number":89,"context_line":"process starts back up. This gives us a way to shutdown a service using older"},{"line_number":90,"context_line":"code, and start up a service using newer code with minimal impact."},{"line_number":91,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"1a1ced50_24954b86","line":88,"range":{"start_line":88,"start_character":55,"end_line":88,"end_character":58},"updated":"2017-03-22 14:48:09.000000000","message":"can be removed?","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c6b7775bd35565c7925c235139033890e6b45e86","unresolved":false,"context_lines":[{"line_number":85,"context_line":"Ironic conductor service is a python process listening for messages on a AMQP"},{"line_number":86,"context_line":"queue. When the operator sends SIGTERM signal to the process, it stops getting"},{"line_number":87,"context_line":"new work from its queue, completes any outstanding work and then terminates."},{"line_number":88,"context_line":"During this process, messages can be left on the queue for when the python"},{"line_number":89,"context_line":"process starts back up. This gives us a way to shutdown a service using older"},{"line_number":90,"context_line":"code, and start up a service using newer code with minimal impact."},{"line_number":91,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_53eb7baf","line":88,"range":{"start_line":88,"start_character":55,"end_line":88,"end_character":58},"in_reply_to":"1a1ced50_24954b86","updated":"2017-03-24 04:50:20.000000000","message":"Actually, no, if you mean remove \u0027for\u0027, I don\u0027t think so. Maybe I can reword it better...","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"5d3bbc1943c062c3891497c27f75b644fed43ef2","unresolved":false,"context_lines":[{"line_number":97,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"When upgrading API nodes, you can make your load balancer only send new"},{"line_number":100,"context_line":"connections to the newer API nodes, allowing for a seamless update of your API"},{"line_number":101,"context_line":"nodes."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"Minimal Downtime Upgrade Procedure"}],"source_content_type":"text/x-rst","patch_set":13,"id":"1a1ced50_24c38b8a","line":100,"range":{"start_line":100,"start_character":45,"end_line":100,"end_character":50},"updated":"2017-03-22 14:48:09.000000000","message":"ditto","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c6b7775bd35565c7925c235139033890e6b45e86","unresolved":false,"context_lines":[{"line_number":97,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"When upgrading API nodes, you can make your load balancer only send new"},{"line_number":100,"context_line":"connections to the newer API nodes, allowing for a seamless update of your API"},{"line_number":101,"context_line":"nodes."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"Minimal Downtime Upgrade Procedure"}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_b32ac7e4","line":100,"range":{"start_line":100,"start_character":45,"end_line":100,"end_character":50},"in_reply_to":"1a1ced50_24c38b8a","updated":"2017-03-24 04:50:20.000000000","message":"yeah, this one can be removed. It is also fine with it.","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"6a91bb47402ea477e855595842c0f19c27f5bb42","unresolved":false,"context_lines":[{"line_number":112,"context_line":"  database. Hence, in case of upgrade failure, restoring the database from"},{"line_number":113,"context_line":"  a backup is the only choice."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* Note that there\u0027s an assumption that live upgrade can be performed only"},{"line_number":116,"context_line":"  between subsequent releases. This means that you cannot upgrade Ocata"},{"line_number":117,"context_line":"  directly into Queens, you need to upgrade into Pike first."},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_5634944a","line":115,"range":{"start_line":115,"start_character":12,"end_line":115,"end_character":38},"updated":"2017-03-23 21:40:00.000000000","message":"s/there\u0027s an assumption that//","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"5d3bbc1943c062c3891497c27f75b644fed43ef2","unresolved":false,"context_lines":[{"line_number":113,"context_line":"  a backup is the only choice."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* Note that there\u0027s an assumption that live upgrade can be performed only"},{"line_number":116,"context_line":"  between subsequent releases. This means that you cannot upgrade Ocata"},{"line_number":117,"context_line":"  directly into Queens, you need to upgrade into Pike first."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"* To avoid conflicting dependencies it is advised to have your ironic services"}],"source_content_type":"text/x-rst","patch_set":13,"id":"1a1ced50_e4117305","line":116,"range":{"start_line":116,"start_character":10,"end_line":116,"end_character":20},"updated":"2017-03-22 14:48:09.000000000","message":"consecutive is better","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c6b7775bd35565c7925c235139033890e6b45e86","unresolved":false,"context_lines":[{"line_number":113,"context_line":"  a backup is the only choice."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"* Note that there\u0027s an assumption that live upgrade can be performed only"},{"line_number":116,"context_line":"  between subsequent releases. This means that you cannot upgrade Ocata"},{"line_number":117,"context_line":"  directly into Queens, you need to upgrade into Pike first."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"* To avoid conflicting dependencies it is advised to have your ironic services"}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_53393b3f","line":116,"range":{"start_line":116,"start_character":10,"end_line":116,"end_character":20},"in_reply_to":"1a1ced50_e4117305","updated":"2017-03-24 04:50:20.000000000","message":"+1","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"6a91bb47402ea477e855595842c0f19c27f5bb42","unresolved":false,"context_lines":[{"line_number":124,"context_line":"  automate the deployment of changes in configuration files to make the"},{"line_number":125,"context_line":"  process less error prone and repeatable."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"* Assumed service upgrade order is first to upgrade the Ironic Python Agent"},{"line_number":128,"context_line":"  image, then ironic-conductor, ironic-api, and finally python-ironicclient"},{"line_number":129,"context_line":"  with other services connecting to ironic as a client, like nova-conductor."},{"line_number":130,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_6b8e912f","line":127,"range":{"start_line":127,"start_character":56,"end_line":127,"end_character":75},"updated":"2017-03-23 21:40:00.000000000","message":"nit: s/Ironic Python Agent/ironic-python-agent/","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c6b7775bd35565c7925c235139033890e6b45e86","unresolved":false,"context_lines":[{"line_number":124,"context_line":"  automate the deployment of changes in configuration files to make the"},{"line_number":125,"context_line":"  process less error prone and repeatable."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"* Assumed service upgrade order is first to upgrade the Ironic Python Agent"},{"line_number":128,"context_line":"  image, then ironic-conductor, ironic-api, and finally python-ironicclient"},{"line_number":129,"context_line":"  with other services connecting to ironic as a client, like nova-conductor."},{"line_number":130,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_f3204ffa","line":127,"range":{"start_line":127,"start_character":56,"end_line":127,"end_character":75},"in_reply_to":"ffe62b97_6b8e912f","updated":"2017-03-24 04:50:20.000000000","message":"Done","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"5d3bbc1943c062c3891497c27f75b644fed43ef2","unresolved":false,"context_lines":[{"line_number":158,"context_line":"   about is to shut the service down gracefully (using ``SIGTERM`` signal) to"},{"line_number":159,"context_line":"   make sure it will finish all the requests being processed before shutting"},{"line_number":160,"context_line":"   down. Upgrade the code and set ``[DEFAULT]/pin_release_version`` to the"},{"line_number":161,"context_line":"   version you are upgrading from. Ironic\u0027s internal mechanisms will make sure"},{"line_number":162,"context_line":"   that any new ironic-conductor services will detect that it\u0027s running with"},{"line_number":163,"context_line":"   older versions and will downgrade any communication and data storage. After"},{"line_number":164,"context_line":"   upgrading the code, restart the service."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"2. You should repeat the first step for all of the ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":13,"id":"1a1ced50_44db271b","line":163,"range":{"start_line":161,"start_character":35,"end_line":163,"end_character":72},"updated":"2017-03-22 14:48:09.000000000","message":"i think this sentence is not quite clear","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c6b7775bd35565c7925c235139033890e6b45e86","unresolved":false,"context_lines":[{"line_number":158,"context_line":"   about is to shut the service down gracefully (using ``SIGTERM`` signal) to"},{"line_number":159,"context_line":"   make sure it will finish all the requests being processed before shutting"},{"line_number":160,"context_line":"   down. Upgrade the code and set ``[DEFAULT]/pin_release_version`` to the"},{"line_number":161,"context_line":"   version you are upgrading from. Ironic\u0027s internal mechanisms will make sure"},{"line_number":162,"context_line":"   that any new ironic-conductor services will detect that it\u0027s running with"},{"line_number":163,"context_line":"   older versions and will downgrade any communication and data storage. After"},{"line_number":164,"context_line":"   upgrading the code, restart the service."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"2. You should repeat the first step for all of the ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_d34b0bae","line":163,"range":{"start_line":161,"start_character":35,"end_line":163,"end_character":72},"in_reply_to":"1a1ced50_44db271b","updated":"2017-03-24 04:50:20.000000000","message":"I changed it; let me know what you think.","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"6a91bb47402ea477e855595842c0f19c27f5bb42","unresolved":false,"context_lines":[{"line_number":169,"context_line":"3. Next service is ironic-api. In HA deployment you\u0027re typically running them"},{"line_number":170,"context_line":"   behind a load balancer (for example HAProxy), so you need to take one"},{"line_number":171,"context_line":"   service instance out of the balancer, shut it down, upgrade the code and"},{"line_number":172,"context_line":"   dependencies, set the ``[DEFAULT]\\pin_release_version`` configuration and"},{"line_number":173,"context_line":"   start the service again. Then you can plug it back into the load balancer."},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"   .. note::"}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_4b0d0d8f","line":172,"range":{"start_line":172,"start_character":27,"end_line":172,"end_character":56},"updated":"2017-03-23 21:40:00.000000000","message":"s/[DEFAULT]\\pin_release_version/[DEFAULT]/pin_release_version","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c6b7775bd35565c7925c235139033890e6b45e86","unresolved":false,"context_lines":[{"line_number":169,"context_line":"3. Next service is ironic-api. In HA deployment you\u0027re typically running them"},{"line_number":170,"context_line":"   behind a load balancer (for example HAProxy), so you need to take one"},{"line_number":171,"context_line":"   service instance out of the balancer, shut it down, upgrade the code and"},{"line_number":172,"context_line":"   dependencies, set the ``[DEFAULT]\\pin_release_version`` configuration and"},{"line_number":173,"context_line":"   start the service again. Then you can plug it back into the load balancer."},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"   .. note::"}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_73d0bfca","line":172,"range":{"start_line":172,"start_character":27,"end_line":172,"end_character":56},"in_reply_to":"ffe62b97_4b0d0d8f","updated":"2017-03-24 04:50:20.000000000","message":"Done","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"6a91bb47402ea477e855595842c0f19c27f5bb42","unresolved":false,"context_lines":[{"line_number":181,"context_line":"  .. note::"},{"line_number":182,"context_line":"     At this point, ironic is running in the new version but with downgraded"},{"line_number":183,"context_line":"     RPC communication and database object storage formats. New features can"},{"line_number":184,"context_line":"     fail when objects are backported to lowest common denominator and some"},{"line_number":185,"context_line":"     internal RPC API functions may still not be available."},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"5. Proceed with removing the ``[DEFAULT]/pin_release_version`` setting of"}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_36d590ba","line":184,"range":{"start_line":184,"start_character":41,"end_line":184,"end_character":66},"updated":"2017-03-23 21:40:00.000000000","message":"Does it mean the lowest common denominator of the object versions in RELEASE_MAPPING?\n\n+RELEASE_MAPPING \u003d {\n+    \u00277.0\u0027: {\n+        \u0027rpc\u0027: \u00271.40\u0027,\n+        \u0027objects\u0027: {\n+            \u0027Node\u0027: \u00271.21\u0027,\n+            \u0027Conductor\u0027: \u00271.2\u0027,\n+            \u0027Chassis\u0027: \u00271.3\u0027,\n+            \u0027Port\u0027: \u00271.6\u0027,\n+            \u0027Portgroup\u0027: \u00271.3\u0027,\n+            \u0027VolumeConnector\u0027: \u00271.0\u0027,\n+            \u0027VolumeTarget\u0027: \u00271.0\u0027,\n+        }\n+    },","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"5d3bbc1943c062c3891497c27f75b644fed43ef2","unresolved":false,"context_lines":[{"line_number":181,"context_line":"  .. note::"},{"line_number":182,"context_line":"     At this point, ironic is running in the new version but with downgraded"},{"line_number":183,"context_line":"     RPC communication and database object storage formats. New features can"},{"line_number":184,"context_line":"     fail when objects are backported to lowest common denominator and some"},{"line_number":185,"context_line":"     internal RPC API functions may still not be available."},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"5. Proceed with removing the ``[DEFAULT]/pin_release_version`` setting of"}],"source_content_type":"text/x-rst","patch_set":13,"id":"1a1ced50_442087f7","line":184,"range":{"start_line":184,"start_character":55,"end_line":184,"end_character":66},"updated":"2017-03-22 14:48:09.000000000","message":"are you mean minor version?","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":19686,"name":"Ramamani Yeleswarapu","email":"ramamani.yeleswarapu@intel.com","username":"Rama_Y"},"change_message_id":"d1bdee4005f95aa626c525ddb164a67b8760a85e","unresolved":false,"context_lines":[{"line_number":181,"context_line":"  .. note::"},{"line_number":182,"context_line":"     At this point, ironic is running in the new version but with downgraded"},{"line_number":183,"context_line":"     RPC communication and database object storage formats. New features can"},{"line_number":184,"context_line":"     fail when objects are backported to lowest common denominator and some"},{"line_number":185,"context_line":"     internal RPC API functions may still not be available."},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"5. Proceed with removing the ``[DEFAULT]/pin_release_version`` setting of"}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_292dfc94","line":184,"range":{"start_line":184,"start_character":41,"end_line":184,"end_character":66},"in_reply_to":"ffe62b97_13d733c2","updated":"2017-03-24 22:55:50.000000000","message":"This is good.","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"c6b7775bd35565c7925c235139033890e6b45e86","unresolved":false,"context_lines":[{"line_number":181,"context_line":"  .. note::"},{"line_number":182,"context_line":"     At this point, ironic is running in the new version but with downgraded"},{"line_number":183,"context_line":"     RPC communication and database object storage formats. New features can"},{"line_number":184,"context_line":"     fail when objects are backported to lowest common denominator and some"},{"line_number":185,"context_line":"     internal RPC API functions may still not be available."},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"5. Proceed with removing the ``[DEFAULT]/pin_release_version`` setting of"}],"source_content_type":"text/x-rst","patch_set":13,"id":"ffe62b97_13d733c2","line":184,"range":{"start_line":184,"start_character":41,"end_line":184,"end_character":66},"in_reply_to":"ffe62b97_36d590ba","updated":"2017-03-24 04:50:20.000000000","message":"It means the downgraded formats (corresponding to the old version); I reworded it.","commit_id":"37dc6b31d2599f63f7cb56fa5f7e99c92283e294"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"08c052782ec195e8be0de82a3367f71f5baa4ace","unresolved":false,"context_lines":[{"line_number":172,"context_line":"   down. Upgrade the code and set ``[DEFAULT]/pin_release_version`` to the"},{"line_number":173,"context_line":"   version you are upgrading from (that is, the old version). Based on this"},{"line_number":174,"context_line":"   setting, the new ironic-conductor services will downgrade any"},{"line_number":175,"context_line":"   communication and data to conform to the old service. After upgrading the"},{"line_number":176,"context_line":"   code, restart the service."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"2. You should repeat the first step for all of the ironic-conductor services."}],"source_content_type":"text/x-rst","patch_set":15,"id":"ffe62b97_ef3ba299","line":175,"range":{"start_line":175,"start_character":3,"end_line":175,"end_character":25},"updated":"2017-03-24 17:15:22.000000000","message":"thanks ruby, it\u0027s easier to understand now.\n\nsince it means rpc communication and database object storage in all other places, would be better to keep the same here.\n\nbtw, i assume mariadb is a relational database, the term `database object storage` let me thought too much :)","commit_id":"7cba5aaf14046e1f4fccfdb4a9ffd007f6b49357"}],"releasenotes/notes/rolling-upgrades-ccad5159ca3cedbe.yaml":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"3d8320d3b148ae725af30c9ecba5e38fbe43a9ec","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Experimental support for rolling upgrades. See"},{"line_number":4,"context_line":"    http://docs.openstack.org/developer/ironic/deploy/upgrade-guide.html."}],"source_content_type":"text/x-yaml","patch_set":8,"id":"7a3c09a3_8b3d2591","line":3,"updated":"2017-01-17 22:19:46.000000000","message":"why is it \u0027Experimental\u0027?","commit_id":"203ed65ee03ea4fa851d862715df4b61948a2577"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"fc36aa14bb118f57522277281f0a70817d579bf2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Experimental support for rolling upgrades. See"},{"line_number":4,"context_line":"    http://docs.openstack.org/developer/ironic/deploy/upgrade-guide.html."}],"source_content_type":"text/x-yaml","patch_set":8,"id":"7a3c09a3_b9930d5a","line":3,"in_reply_to":"7a3c09a3_8b3d2591","updated":"2017-01-18 07:36:19.000000000","message":"Because it is not tested at the gate yet.","commit_id":"203ed65ee03ea4fa851d862715df4b61948a2577"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"fd12a19bb166850f1634ac8a7e4d1288fd4706f5","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Experimental support for rolling upgrades. See"},{"line_number":4,"context_line":"    http://docs.openstack.org/developer/ironic/deploy/upgrade-guide.html."}],"source_content_type":"text/x-yaml","patch_set":8,"id":"7a3c09a3_f471f0a9","line":3,"in_reply_to":"7a3c09a3_b9930d5a","updated":"2017-01-18 18:29:18.000000000","message":"Oh, thanks for explaining. I could be wrong, but I don\u0027t think this will merge if it is not tested at the gate. IE, when this merges, I don\u0027t think it will be experimental.\n\nThere are a bunch of patches prior to this so we can see what happens...","commit_id":"203ed65ee03ea4fa851d862715df4b61948a2577"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"08ccd2d058b078a838c0bfd1d0b8af9c813deca6","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Experimental support for rolling upgrades. See"},{"line_number":4,"context_line":"    http://docs.openstack.org/developer/ironic/deploy/upgrade-guide.html."}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5a3905b3_b0371baf","line":3,"in_reply_to":"7a3c09a3_f471f0a9","updated":"2017-01-20 12:12:04.000000000","message":"Ok, I removed the \"Exporimental\" for now.","commit_id":"203ed65ee03ea4fa851d862715df4b61948a2577"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7e9e63cb51c41b32f697a676e9a81fc9ec44077c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Adds support for rolling upgrades, starting from upgrading Ocata to Pike."},{"line_number":4,"context_line":"    For details, see http://docs.openstack.org/ironic/admin/upgrade-guide.html."}],"source_content_type":"text/x-yaml","patch_set":23,"id":"df3967d1_26b03043","line":2,"updated":"2017-08-03 15:02:02.000000000","message":"There is, I think a \"prelude\" section for release notes. this seems a good candidate for it","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"52167037d71acce9dbbfea5d24d1b7499d6d7ae5","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Adds support for rolling upgrades, starting from upgrading Ocata to Pike."},{"line_number":4,"context_line":"    For details, see http://docs.openstack.org/ironic/admin/upgrade-guide.html."}],"source_content_type":"text/x-yaml","patch_set":23,"id":"df3967d1_76a16694","line":4,"updated":"2017-08-02 21:26:48.000000000","message":"For such a big feature, this seems somewhat terse. Let me know if we ought to add more things here (and what that might be).","commit_id":"ee142972deed3133389f68ee6bd4c437dadc3977"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fd924219f6f5e49ac814779e89a53acc24bcfa04","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Adds support for rolling upgrades, starting from upgrading Ocata to Pike."},{"line_number":4,"context_line":"    For details, see http://docs.openstack.org/ironic/admin/upgrade-guide.html."}],"source_content_type":"text/x-yaml","patch_set":24,"id":"df3967d1_59d41be9","line":2,"updated":"2017-08-04 11:29:34.000000000","message":"s/features/prelude/ ?","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"15c2458b124a73888c2a4f150b27ae2c5a18d18a","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Adds support for rolling upgrades, starting from upgrading Ocata to Pike."},{"line_number":4,"context_line":"    For details, see http://docs.openstack.org/ironic/admin/upgrade-guide.html."}],"source_content_type":"text/x-yaml","patch_set":24,"id":"bf3e73b7_389202f8","line":2,"in_reply_to":"df3967d1_59d41be9","updated":"2017-08-07 21:19:59.000000000","message":"Hmmmmmm I\u0027m thinking this is more of a feature thing. Prelude is more intended as the setting the entire story about the release, so it renders a bit odd in my experience... and then we would want to go make one single prelude block for the entire release :(","commit_id":"c4adf74780050db66602569ff29129c5e096cce4"}]}
