)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"98c1a1f9d63b44775bc43330d66f9adf3bb86c7b","unresolved":false,"context_lines":[{"line_number":13,"context_line":"step required after upgrade-init to deliver AODH at"},{"line_number":14,"context_line":"https://review.openstack.org/#/c/320150"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Co-Authored-By: Marios Andreou \u003cmarios@redhat.com\u003e"},{"line_number":17,"context_line":"Change-Id: I4af214d1dfc595ea61be40efbc0a04e44225e8b1"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"dada55a8_6c19d322","line":16,"updated":"2016-07-22 07:19:42.000000000","message":"bandini i think you should add yrself here","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"1b5c9f3d39badc8f7f30bbed45ea202393dd63da","unresolved":false,"context_lines":[{"line_number":13,"context_line":"step required after upgrade-init to deliver AODH at"},{"line_number":14,"context_line":"https://review.openstack.org/#/c/320150"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Co-Authored-By: Marios Andreou \u003cmarios@redhat.com\u003e"},{"line_number":17,"context_line":"Change-Id: I4af214d1dfc595ea61be40efbc0a04e44225e8b1"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"bacf61ea_983fa5b3","line":16,"in_reply_to":"dada55a8_6c19d322","updated":"2016-08-04 12:59:36.000000000","message":"Done","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"}],"doc/source/post_deployment/upgrade.rst":[{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"b7d7e5a0faa3af2dd442d6105e8df8de56d7caab","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"   Generic upgrade testing cannot cover all possible deployment"},{"line_number":10,"context_line":"   configurations. Before performing the upgrade in production, test"},{"line_number":11,"context_line":"   it in a matching staging environment."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Upgrading the Undercloud"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a122d0e_83aa0584","line":11,"updated":"2016-04-22 07:20:34.000000000","message":"Also strong recommendation for backup all-the-things before starting please.","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"28b8976fc07d1b4d4922b991056d1ce90669a01e","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"   Generic upgrade testing cannot cover all possible deployment"},{"line_number":10,"context_line":"   configurations. Before performing the upgrade in production, test"},{"line_number":11,"context_line":"   it in a matching staging environment."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Upgrading the Undercloud"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_c90ae378","line":11,"in_reply_to":"1a122d0e_83aa0584","updated":"2016-05-10 12:10:49.000000000","message":"Done","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"b7d7e5a0faa3af2dd442d6105e8df8de56d7caab","unresolved":false,"context_lines":[{"line_number":24,"context_line":"#. Run undercloud upgrade::"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"      openstack undercloud upgrade"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Upgrading the Overcloud"},{"line_number":30,"context_line":"-----------------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a122d0e_6386c914","line":27,"updated":"2016-04-22 07:20:34.000000000","message":"you need to re-add any custom routes or ovs-ports that were added earlier at this point if you find you can\u0027t talk to overcloud services from your just upgraded undercloud.","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"28b8976fc07d1b4d4922b991056d1ce90669a01e","unresolved":false,"context_lines":[{"line_number":24,"context_line":"#. Run undercloud upgrade::"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"      openstack undercloud upgrade"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Upgrading the Overcloud"},{"line_number":30,"context_line":"-----------------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_09298be6","line":27,"in_reply_to":"1a122d0e_6386c914","updated":"2016-05-10 12:10:49.000000000","message":"Done","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"b7d7e5a0faa3af2dd442d6105e8df8de56d7caab","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Upgrading the Overcloud"},{"line_number":30,"context_line":"-----------------------"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"#. Upgrade initialization"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"   The initialization step switches to new repositiories on overcloud"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a122d0e_0320b5f6","line":31,"updated":"2016-04-22 07:20:34.000000000","message":"General note here that each step must complete successfully - either UPDATE_COMPLETE for the stack updates and \u0027Complete!\u0027 with a list of packages for the non-controllers, before moving onto next. Also, for the Upgrade Controller and Apply Configuration sections say that the cluster will go down (and unmanaged in case of the second) for some time but please sanity check that all is fine at the end of the given step, before continuing the process. If necessary recover...","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"28b8976fc07d1b4d4922b991056d1ce90669a01e","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Upgrading the Overcloud"},{"line_number":30,"context_line":"-----------------------"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"#. Upgrade initialization"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"   The initialization step switches to new repositiories on overcloud"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_89f0db68","line":31,"in_reply_to":"1a122d0e_0320b5f6","updated":"2016-05-10 12:10:49.000000000","message":"Done","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":20775,"name":"Carlos Camacho","email":"ccamacho@redhat.com","username":"ccamacho"},"change_message_id":"8bb0a5d858eba2067b5dbafcf80df688cc059b5a","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"#. Upgrade initialization"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"   The initialization step switches to new repositiories on overcloud"},{"line_number":35,"context_line":"   nodes, and it delivers upgrade scripts to nodes which are going to"},{"line_number":36,"context_line":"   be upgraded one-by-one."},{"line_number":37,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a122d0e_f8217b4e","line":34,"range":{"start_line":34,"start_character":50,"end_line":34,"end_character":51},"updated":"2016-04-26 14:31:33.000000000","message":"remove","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"28b8976fc07d1b4d4922b991056d1ce90669a01e","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"#. Upgrade initialization"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"   The initialization step switches to new repositiories on overcloud"},{"line_number":35,"context_line":"   nodes, and it delivers upgrade scripts to nodes which are going to"},{"line_number":36,"context_line":"   be upgraded one-by-one."},{"line_number":37,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_69513736","line":34,"range":{"start_line":34,"start_character":50,"end_line":34,"end_character":51},"in_reply_to":"1a122d0e_f8217b4e","updated":"2016-05-10 12:10:49.000000000","message":"Done","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"b7d7e5a0faa3af2dd442d6105e8df8de56d7caab","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"   The initialization step switches to new repositiories on overcloud"},{"line_number":35,"context_line":"   nodes, and it delivers upgrade scripts to nodes which are going to"},{"line_number":36,"context_line":"   be upgraded one-by-one."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"   Create an environment file with commands to switch OpenStack"},{"line_number":39,"context_line":"   repositories to a new release. This will likely be the same"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a122d0e_e372d948","line":36,"updated":"2016-04-22 07:20:34.000000000","message":"(non controller nodes, except any stand-alone cinder nodes)","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"28b8976fc07d1b4d4922b991056d1ce90669a01e","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"   The initialization step switches to new repositiories on overcloud"},{"line_number":35,"context_line":"   nodes, and it delivers upgrade scripts to nodes which are going to"},{"line_number":36,"context_line":"   be upgraded one-by-one."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"   Create an environment file with commands to switch OpenStack"},{"line_number":39,"context_line":"   repositories to a new release. This will likely be the same"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_891a9b7b","line":36,"in_reply_to":"1a122d0e_e372d948","updated":"2016-05-10 12:10:49.000000000","message":"Done","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"b7d7e5a0faa3af2dd442d6105e8df8de56d7caab","unresolved":false,"context_lines":[{"line_number":58,"context_line":"#. Object storage nodes upgrade"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"   If the deployment has any standalone object storage nodes, upgrade"},{"line_number":61,"context_line":"   them one-by-one using the `upgrade-non-controller.sh` script on the"},{"line_number":62,"context_line":"   undercloud node::"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"      upgrade-non-controller.sh --upgrade \u003cnova-id of object storage node\u003e"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a122d0e_c3a23d9a","line":61,"updated":"2016-04-22 07:20:34.000000000","message":"(note: this upgrade script isn\u0027t available until after you have upgraded your undercloud)\n\nAlso, do we want to elaborate _a little_ and say that we do these first because we want all-the-swift-things services to be updated before swift-proxy, which is running on the controllers.","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"28b8976fc07d1b4d4922b991056d1ce90669a01e","unresolved":false,"context_lines":[{"line_number":58,"context_line":"#. Object storage nodes upgrade"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"   If the deployment has any standalone object storage nodes, upgrade"},{"line_number":61,"context_line":"   them one-by-one using the `upgrade-non-controller.sh` script on the"},{"line_number":62,"context_line":"   undercloud node::"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"      upgrade-non-controller.sh --upgrade \u003cnova-id of object storage node\u003e"}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_2419167a","line":61,"in_reply_to":"1a122d0e_c3a23d9a","updated":"2016-05-10 12:10:49.000000000","message":"Done","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"b7d7e5a0faa3af2dd442d6105e8df8de56d7caab","unresolved":false,"context_lines":[{"line_number":87,"context_line":"      nodes). The root cause and restoration procedure may vary, but"},{"line_number":88,"context_line":"      in simple cases the pacemaker cluster can be started by logging"},{"line_number":89,"context_line":"      into one of the controllers and running `sudo pcs cluster start"},{"line_number":90,"context_line":"      --all`."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"#. Upgrade compute nodes"},{"line_number":93,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a122d0e_e345b9b3","line":90,"updated":"2016-04-22 07:20:34.000000000","message":"I think we need to add a separate section in the docs for recovering from the various states the cluster may be left in. I started thinking about this a little already - some notes at https://etherpad.openstack.org/p/wzali4DNbT )\n\nIn this case (controllers upgrade) we\u0027ve done all of https://github.com/openstack/tripleo-heat-templates/blob/4afed8617e56b1d9648955b971d5c2e4cd3cd7f8/extraconfig/tasks/major_upgrade_controller_pacemaker_1.sh#L29 \nso we may need to enable things too for recovery\n\nI\u0027ll work on getting something into a review for that anyway and then we can link from here. Really for upgrades in general and especially for this step, we\u0027ll need a separate section since the major_upgrade_pacemaker_1 and 2 are only ever run here.","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"28b8976fc07d1b4d4922b991056d1ce90669a01e","unresolved":false,"context_lines":[{"line_number":87,"context_line":"      nodes). The root cause and restoration procedure may vary, but"},{"line_number":88,"context_line":"      in simple cases the pacemaker cluster can be started by logging"},{"line_number":89,"context_line":"      into one of the controllers and running `sudo pcs cluster start"},{"line_number":90,"context_line":"      --all`."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"#. Upgrade compute nodes"},{"line_number":93,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"dab17558_049972c4","line":90,"in_reply_to":"1a122d0e_e345b9b3","updated":"2016-05-10 12:10:49.000000000","message":"Yea something like \"troubleshooting overclouds in inconsistent state\". Agree that this should be separate from the upgrade doc itself, otherwise the upgrade doc could get unreadable.","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"a41c279765486f77c70633b516d677e49826f053","unresolved":false,"context_lines":[{"line_number":87,"context_line":"      nodes). The root cause and restoration procedure may vary, but"},{"line_number":88,"context_line":"      in simple cases the pacemaker cluster can be started by logging"},{"line_number":89,"context_line":"      into one of the controllers and running `sudo pcs cluster start"},{"line_number":90,"context_line":"      --all`."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"#. Upgrade compute nodes"},{"line_number":93,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a122d0e_de9e8306","line":90,"in_reply_to":"1a122d0e_e345b9b3","updated":"2016-05-16 11:25:55.000000000","message":"added some notes here wdyt https://review.openstack.org/309386 Adds cluster recovery notes to the troubleshooting section","commit_id":"533df7e83fa201c0ea8fb98ef230bde8252017a9"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"2e0abfb305556f8ba0e0ce896fa9f7f21568224e","unresolved":false,"context_lines":[{"line_number":15,"context_line":"Upgrading the Undercloud"},{"line_number":16,"context_line":"------------------------"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"#. Disable the old OpenStack release repositories and enable new"},{"line_number":19,"context_line":"   release repositories on the undercloud."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"#. Update the packages on the undercloud::"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_61bfe2fc","line":19,"range":{"start_line":18,"start_character":3,"end_line":19,"end_character":42},"updated":"2016-06-03 07:58:41.000000000","message":"we probably want to make an example here. Maybe with  the quickstart deploying liberty repos. At least I was a bit confused when I tackled this ;)","commit_id":"7a97e19e6215d339541a19d8620e1b929de94b70"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"44e621b51f08cb6233e3b70f4e55738ca01365b9","unresolved":false,"context_lines":[{"line_number":15,"context_line":"Upgrading the Undercloud"},{"line_number":16,"context_line":"------------------------"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"#. Disable the old OpenStack release repositories and enable new"},{"line_number":19,"context_line":"   release repositories on the undercloud."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"#. Update the packages on the undercloud::"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_6b42bd3f","line":19,"range":{"start_line":18,"start_character":3,"end_line":19,"end_character":42},"in_reply_to":"9abb7d3a_61bfe2fc","updated":"2016-06-14 12:44:13.000000000","message":"done, added example (e.g. for current master upgrade you\u0027d disable mitaka and enable newton repos)","commit_id":"7a97e19e6215d339541a19d8620e1b929de94b70"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"2e0abfb305556f8ba0e0ce896fa9f7f21568224e","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"#. Disable the old OpenStack release repositories and enable new"},{"line_number":19,"context_line":"   release repositories on the undercloud."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"#. Update the packages on the undercloud::"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"      sudo yum -y update"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"#. Run undercloud upgrade::"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_c1032eb7","line":23,"range":{"start_line":20,"start_character":0,"end_line":23,"end_character":24},"updated":"2016-06-03 07:58:41.000000000","message":"So here we need to do some pre steps. For sure we need to stop mariadb before the upgrade:https://bugzilla.redhat.com/show_bug.cgi?id\u003d1341968\n\nLikely we will need to do a dump/restore of the db data due to the major upgrade. Am still working on that part for the overcloud","commit_id":"7a97e19e6215d339541a19d8620e1b929de94b70"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"44e621b51f08cb6233e3b70f4e55738ca01365b9","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"#. Disable the old OpenStack release repositories and enable new"},{"line_number":19,"context_line":"   release repositories on the undercloud."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"#. Update the packages on the undercloud::"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"      sudo yum -y update"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"#. Run undercloud upgrade::"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_676e4201","line":23,"range":{"start_line":20,"start_character":0,"end_line":23,"end_character":24},"in_reply_to":"9abb7d3a_c1032eb7","updated":"2016-06-14 12:44:13.000000000","message":"OK, so I see from the BZ that this is Libert to Mitaka specific. For my current mitaka deployent for example I already have mariadb 10.x.\n\nWe don\u0027t have versioned docs unfortunately, i.e. only master @ https://github.com/openstack/tripleo-docs\n\nI think we will have a need for these version specific caveats here. I am trying to call them out using admonitions for now, see what you think\n\nWRT the backup, do we need to mysqldump each individual database \n\n         (MariaDB [(none)]\u003e show databases;\n         +--------------------+\n         | Database           |\n         +--------------------+\n         | ceilometer         |\n         | glance             |\n         | heat               |\n         | information_schema |\n         | ironic             |\n         | keystone           |\n         | mysql              |\n         | neutron            |\n         | nova               |\n         | nova_api           |\n         | performance_schema |\n         | test               |\n         +--------------------+\n\nor just\n\n         mysqldump -u root --opt --single-transaction --all-databases \u003e backup.sql","commit_id":"7a97e19e6215d339541a19d8620e1b929de94b70"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"2e0abfb305556f8ba0e0ce896fa9f7f21568224e","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"#. Run undercloud upgrade::"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"      openstack undercloud upgrade"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":".. note::"},{"line_number":30,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9abb7d3a_01a1b6a9","line":27,"range":{"start_line":27,"start_character":5,"end_line":27,"end_character":34},"updated":"2016-06-03 07:58:41.000000000","message":"let\u0027s make it time openstack undercloud upgrade 2\u003e\u00261 | tee undercloud_upgrade.log\n\nSo we have something in case of failure and we know how long it lasted","commit_id":"7a97e19e6215d339541a19d8620e1b929de94b70"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"44e621b51f08cb6233e3b70f4e55738ca01365b9","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"#. Run undercloud upgrade::"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"      openstack undercloud upgrade"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":".. note::"},{"line_number":30,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_aa3e31b5","line":27,"range":{"start_line":27,"start_character":5,"end_line":27,"end_character":34},"in_reply_to":"9abb7d3a_01a1b6a9","updated":"2016-06-14 12:44:13.000000000","message":"I see how that is useful as something you do locally but I\u0027d personally rather stick to the openstack client commands here - perhaps a note","commit_id":"7a97e19e6215d339541a19d8620e1b929de94b70"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"1c6b2ccbf2948aa04d680b283388beb1016addf4","unresolved":false,"context_lines":[{"line_number":25,"context_line":"#. Run undercloud upgrade::"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"      openstack undercloud upgrade"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":".. note::"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"   If you added custom OVS ports to the undercloud (e.g. in a virtual"},{"line_number":32,"context_line":"   testing environment) you may need to re-add them at this point."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_7dff8e01","line":29,"range":{"start_line":28,"start_character":0,"end_line":29,"end_character":9},"updated":"2016-06-06 14:53:09.000000000","message":"So we need to add in the notes here that we need to make sure\nthat python-redis is installed on the overcloud controller\nnodes. Otherwise we will hit some issues when doing the aodh upgrade: https://review.openstack.org/#/c/320150/4","commit_id":"7a97e19e6215d339541a19d8620e1b929de94b70"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"44e621b51f08cb6233e3b70f4e55738ca01365b9","unresolved":false,"context_lines":[{"line_number":25,"context_line":"#. Run undercloud upgrade::"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"      openstack undercloud upgrade"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":".. note::"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"   If you added custom OVS ports to the undercloud (e.g. in a virtual"},{"line_number":32,"context_line":"   testing environment) you may need to re-add them at this point."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7aa08908_6a83a903","line":29,"range":{"start_line":28,"start_character":0,"end_line":29,"end_character":9},"in_reply_to":"7aa08908_7dff8e01","updated":"2016-06-14 12:44:13.000000000","message":"I guess this is another liberty to mitaka specific thing. If I\u0027ve understood correctly we need python-redis to be installed on all overcloud nodes. We already did something similar for kilo to liberty with python-zaqarclient... in any case I mean this is something that I think/hope would be addressed by reviews against the appropriate branch, for the upgrades scripts (i.e. for the upgrades workflow being documented here).\n\nIn other words user shouldn\u0027t have to worry about this kind of thing since we have mechanisms in place to deal with it as part of the upgrade (e.g. wherever it is we run yum update for liberty during upgrade, add a \u0027sudo yum install python-redis\u0027 before it)","commit_id":"7a97e19e6215d339541a19d8620e1b929de94b70"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"0abfa668b5d062cddd701e617a90c640fd3c41d2","unresolved":false,"context_lines":[{"line_number":9,"context_line":".. admonition:: Liberty to Mitaka"},{"line_number":10,"context_line":"   :class: ltom"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"   liberty to mitaka specific note"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":".. admonition:: Mitaka to Newton"},{"line_number":15,"context_line":"   :class: mton"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7aa08908_5f6026a5","line":12,"range":{"start_line":12,"start_character":3,"end_line":12,"end_character":33},"updated":"2016-06-14 15:04:34.000000000","message":"we will need to add here that liberty needs an OPM package with the following fix: https://review.openstack.org/#/c/329114/","commit_id":"5de7cd0382a68f90cf84893491b8b23798290fcb"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"aed85c94453acf86427da34f132ca5b167ada410","unresolved":false,"context_lines":[{"line_number":9,"context_line":".. admonition:: Liberty to Mitaka"},{"line_number":10,"context_line":"   :class: ltom"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"   liberty to mitaka specific note"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":".. admonition:: Mitaka to Newton"},{"line_number":15,"context_line":"   :class: mton"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7aa08908_c171690e","line":12,"range":{"start_line":12,"start_character":3,"end_line":12,"end_character":33},"in_reply_to":"7aa08908_5f6026a5","updated":"2016-06-16 13:41:14.000000000","message":"so that change is for puppet-keystone - do you mean we need that on the overcloud nodes? Will it not be delivered by the yum update on each given overcloud node during the upgrade (assuming they setup the mitaka repos correctly?). Otherwise I need more info about what to add/where.","commit_id":"5de7cd0382a68f90cf84893491b8b23798290fcb"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"29b1cacdfd630a7e01fa2baeced49e7e705d8602","unresolved":false,"context_lines":[{"line_number":9,"context_line":".. admonition:: Liberty to Mitaka"},{"line_number":10,"context_line":"   :class: ltom"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"   liberty to mitaka specific note"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":".. admonition:: Mitaka to Newton"},{"line_number":15,"context_line":"   :class: mton"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7aa08908_854d9bc6","line":12,"range":{"start_line":12,"start_character":3,"end_line":12,"end_character":33},"in_reply_to":"7aa08908_c171690e","updated":"2016-06-16 17:04:35.000000000","message":"Yeah sorry it was a bit too much of a drive by comment.\nSo at the stage when we put keystone under wsgi we are still\noperating with liberty OPM modules. So we need an OPM liberty\nversion on the undercloud that has the following fix:\nhttps://review.openstack.org/#/c/329114/","commit_id":"5de7cd0382a68f90cf84893491b8b23798290fcb"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"0abfa668b5d062cddd701e617a90c640fd3c41d2","unresolved":false,"context_lines":[{"line_number":64,"context_line":"       For liberty to mitaka upgrades we need to backup and restore the database after we have updated::"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"        sudo systemctl stop mariadb"},{"line_number":67,"context_line":"        # FIXME (marios): do we need to dump individual databases here"},{"line_number":68,"context_line":"        mysqldump -u root --opt --single-transaction --all-databases \u003e backup.sql"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"  Update packages on the undercloud::"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7aa08908_dfe9b6e7","line":67,"range":{"start_line":67,"start_character":8,"end_line":67,"end_character":70},"updated":"2016-06-14 15:04:34.000000000","message":"No dumping the whole thing should be okay (it is for the overcloud)","commit_id":"5de7cd0382a68f90cf84893491b8b23798290fcb"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"aed85c94453acf86427da34f132ca5b167ada410","unresolved":false,"context_lines":[{"line_number":64,"context_line":"       For liberty to mitaka upgrades we need to backup and restore the database after we have updated::"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"        sudo systemctl stop mariadb"},{"line_number":67,"context_line":"        # FIXME (marios): do we need to dump individual databases here"},{"line_number":68,"context_line":"        mysqldump -u root --opt --single-transaction --all-databases \u003e backup.sql"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"  Update packages on the undercloud::"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7aa08908_bc172644","line":67,"range":{"start_line":67,"start_character":8,"end_line":67,"end_character":70},"in_reply_to":"7aa08908_dfe9b6e7","updated":"2016-06-16 13:41:14.000000000","message":"ack thanks, I\u0027ll remove the FIXME for now, but can you please let me know if it isn\u0027t right so we can change it (I mean, once you can test this on an L..M upgrade)","commit_id":"5de7cd0382a68f90cf84893491b8b23798290fcb"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"0abfa668b5d062cddd701e617a90c640fd3c41d2","unresolved":false,"context_lines":[{"line_number":86,"context_line":"   :class: ltom"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"     Liberty to Mitaka we need to restore the database from the backup created earlier::"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"                sudo systemctl stop mariadb"},{"line_number":91,"context_line":"                # FIXME (marios): should this be individual dbs"},{"line_number":92,"context_line":"                mysql \u003c backup.sql"},{"line_number":93,"context_line":"                sudo systemctl start mariadb"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":".. note::"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7aa08908_bf794a31","line":93,"range":{"start_line":89,"start_character":0,"end_line":93,"end_character":44},"updated":"2016-06-14 15:04:34.000000000","message":"we probably want to restore after the yum update and before the undercloud upgrade","commit_id":"5de7cd0382a68f90cf84893491b8b23798290fcb"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"aed85c94453acf86427da34f132ca5b167ada410","unresolved":false,"context_lines":[{"line_number":86,"context_line":"   :class: ltom"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"     Liberty to Mitaka we need to restore the database from the backup created earlier::"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"                sudo systemctl stop mariadb"},{"line_number":91,"context_line":"                # FIXME (marios): should this be individual dbs"},{"line_number":92,"context_line":"                mysql \u003c backup.sql"},{"line_number":93,"context_line":"                sudo systemctl start mariadb"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":".. note::"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7aa08908_fc2d2e46","line":93,"range":{"start_line":89,"start_character":0,"end_line":93,"end_character":44},"in_reply_to":"7aa08908_bf794a31","updated":"2016-06-16 13:41:14.000000000","message":"Done","commit_id":"5de7cd0382a68f90cf84893491b8b23798290fcb"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"cdab41f020704f0cc912584d821ef25cab2db959","unresolved":false,"context_lines":[{"line_number":124,"context_line":"          set -e"},{"line_number":125,"context_line":"          # REPOSITORY SWITCH COMMANDS GO HERE"},{"line_number":126,"context_line":"      EOF"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"   And run `overcloud deploy`, passing in full set of environment"},{"line_number":129,"context_line":"   files plus `major-upgrade-pacemaker-init.yaml` and"},{"line_number":130,"context_line":"   `overcloud-repos.yaml`::"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7aa08908_4d6087a5","line":127,"updated":"2016-06-14 12:50:39.000000000","message":"add liberty to mitaka caveat here for the aodh upgrade from https://review.openstack.org/#/c/320150","commit_id":"5de7cd0382a68f90cf84893491b8b23798290fcb"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"aed85c94453acf86427da34f132ca5b167ada410","unresolved":false,"context_lines":[{"line_number":124,"context_line":"          set -e"},{"line_number":125,"context_line":"          # REPOSITORY SWITCH COMMANDS GO HERE"},{"line_number":126,"context_line":"      EOF"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"   And run `overcloud deploy`, passing in full set of environment"},{"line_number":129,"context_line":"   files plus `major-upgrade-pacemaker-init.yaml` and"},{"line_number":130,"context_line":"   `overcloud-repos.yaml`::"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7aa08908_f4cf0227","line":127,"in_reply_to":"7aa08908_1f485ecb","updated":"2016-06-16 13:41:14.000000000","message":"Done","commit_id":"5de7cd0382a68f90cf84893491b8b23798290fcb"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"0abfa668b5d062cddd701e617a90c640fd3c41d2","unresolved":false,"context_lines":[{"line_number":124,"context_line":"          set -e"},{"line_number":125,"context_line":"          # REPOSITORY SWITCH COMMANDS GO HERE"},{"line_number":126,"context_line":"      EOF"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"   And run `overcloud deploy`, passing in full set of environment"},{"line_number":129,"context_line":"   files plus `major-upgrade-pacemaker-init.yaml` and"},{"line_number":130,"context_line":"   `overcloud-repos.yaml`::"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7aa08908_1f485ecb","line":127,"in_reply_to":"7aa08908_4d6087a5","updated":"2016-06-14 15:04:34.000000000","message":"We will also need to add the step for keystone under wsgi from here:\nhttps://review.openstack.org/#/c/302235","commit_id":"5de7cd0382a68f90cf84893491b8b23798290fcb"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"0abfa668b5d062cddd701e617a90c640fd3c41d2","unresolved":false,"context_lines":[{"line_number":157,"context_line":"   Run the deploy command with `major-upgrade-pacemaker.yaml`::"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"      openstack overcloud deploy --templates \\"},{"line_number":160,"context_line":"          -e \u003cfull environment\u003e \\"},{"line_number":161,"context_line":"          -e /usr/share/openstack-tripleo-heat-templates/environments/major-upgrade-pacemaker.yaml"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"   Services of the compute component on the controller nodes are now"},{"line_number":164,"context_line":"   pinned to communicate like the older release, ensuring that they"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7aa08908_bf6aea17","line":161,"range":{"start_line":160,"start_character":3,"end_line":161,"end_character":98},"updated":"2016-06-14 15:04:34.000000000","message":"We need this to land for this to work:\nhttps://review.openstack.org/#/c/325205","commit_id":"5de7cd0382a68f90cf84893491b8b23798290fcb"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"aed85c94453acf86427da34f132ca5b167ada410","unresolved":false,"context_lines":[{"line_number":157,"context_line":"   Run the deploy command with `major-upgrade-pacemaker.yaml`::"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"      openstack overcloud deploy --templates \\"},{"line_number":160,"context_line":"          -e \u003cfull environment\u003e \\"},{"line_number":161,"context_line":"          -e /usr/share/openstack-tripleo-heat-templates/environments/major-upgrade-pacemaker.yaml"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"   Services of the compute component on the controller nodes are now"},{"line_number":164,"context_line":"   pinned to communicate like the older release, ensuring that they"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7aa08908_17a9f0dd","line":161,"range":{"start_line":160,"start_character":3,"end_line":161,"end_character":98},"in_reply_to":"7aa08908_bf6aea17","updated":"2016-06-16 13:41:14.000000000","message":"do we have a bug number for tracking that (yeah I see https://launchpad.net/bugs/1587449 and this is the famous issue we were talking about yesterday apologies).\n\nDoes it block docs? Can we put L..M is borked until https://launchpad.net/bugs/1587449","commit_id":"5de7cd0382a68f90cf84893491b8b23798290fcb"},{"author":{"_account_id":6924,"name":"Pradeep Kilambi","email":"pkilambi@redhat.com","username":"pkilambi"},"change_message_id":"fa55469c1a9f3168d82e9b5e76820aadc5481df4","unresolved":false,"context_lines":[{"line_number":54,"context_line":"  Backup and disable current repos::"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        mkdir /home/stack/REPOBACKUP"},{"line_number":57,"context_line":"        sudo mv  /etc/yum.repos.d/delorean*$CURRENT_VERSION* /home/stack/REPOBACKUP/"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"  Get and enable new repos::"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"5a9d85d2_bfb575ce","line":57,"updated":"2016-06-20 18:39:48.000000000","message":"should be just /etc/yum.repos.d/delorean*? or better yet explicitly mention them. The default files are just delorean.repo and delorean-deps.repo","commit_id":"87ee12c0f7645d676ee3bd1584eb868af8fcefe5"},{"author":{"_account_id":6924,"name":"Pradeep Kilambi","email":"pkilambi@redhat.com","username":"pkilambi"},"change_message_id":"fa55469c1a9f3168d82e9b5e76820aadc5481df4","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"       For liberty to mitaka upgrades we need to backup and restore the database after we have updated::"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"        sudo systemctl stop mariadb"},{"line_number":72,"context_line":"        mysqldump -u root --opt --single-transaction --all-databases \u003e backup.sql"},{"line_number":73,"context_line":"        sudo systemctl start mariadb"},{"line_number":74,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"5a9d85d2_0238aed2","line":71,"range":{"start_line":71,"start_character":8,"end_line":71,"end_character":35},"updated":"2016-06-20 18:39:48.000000000","message":"if we stop this, the next line mysqldump fails with \"Can\u0027t connect to local MySQL server through socket \u0027/var/lib/mysql/mysql.sock\u0027 (2)\" when trying to connect","commit_id":"87ee12c0f7645d676ee3bd1584eb868af8fcefe5"},{"author":{"_account_id":11444,"name":"Radoslaw Smigielski","display_name":"Radek","email":"rsmigiel@redhat.com","username":"radek"},"change_message_id":"289a13469d40380ca308352e98bf903851d47f42","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"       For liberty to mitaka upgrades we need to backup and restore the database after we have updated::"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"        sudo systemctl stop mariadb"},{"line_number":72,"context_line":"        mysqldump -u root --opt --single-transaction --all-databases \u003e backup.sql"},{"line_number":73,"context_line":"        sudo systemctl start mariadb"},{"line_number":74,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3aaa91ec_4a0adbd3","line":71,"in_reply_to":"5a9d85d2_0238aed2","updated":"2016-06-22 08:37:23.000000000","message":"IMHO we don\u0027t really need to stop database at this point.\nWe may want to restart it after: yum update \n\nAlso we could add \"  --flush-logs\" option to mysqldump.","commit_id":"87ee12c0f7645d676ee3bd1584eb868af8fcefe5"},{"author":{"_account_id":6924,"name":"Pradeep Kilambi","email":"pkilambi@redhat.com","username":"pkilambi"},"change_message_id":"fa55469c1a9f3168d82e9b5e76820aadc5481df4","unresolved":false,"context_lines":[{"line_number":82,"context_line":"     Liberty to Mitaka we need to restore the database from the backup created earlier::"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"                sudo systemctl stop mariadb"},{"line_number":85,"context_line":"                mysql \u003c backup.sql"},{"line_number":86,"context_line":"                sudo systemctl start mariadb"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"3. Run undercloud upgrade::"}],"source_content_type":"text/x-rst","patch_set":4,"id":"5a9d85d2_25e854e2","line":85,"updated":"2016-06-20 18:39:48.000000000","message":"i had to do sudo. Otherwise i get ERROR 1044 (42000) at line 22: Access denied for user \u0027\u0027@\u0027localhost\u0027 to database","commit_id":"87ee12c0f7645d676ee3bd1584eb868af8fcefe5"},{"author":{"_account_id":6924,"name":"Pradeep Kilambi","email":"pkilambi@redhat.com","username":"pkilambi"},"change_message_id":"e22cabc92ed28f172a8f0cce7634e3cdd9ddc575","unresolved":false,"context_lines":[{"line_number":54,"context_line":"  Backup and disable current repos::"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        mkdir /home/stack/REPOBACKUP"},{"line_number":57,"context_line":"        sudo mv  /etc/yum.repos.d/delorean*$CURRENT_VERSION* /home/stack/REPOBACKUP/"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"  Get and enable new repos::"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_183a78cc","line":57,"updated":"2016-06-23 21:45:09.000000000","message":"This still fails, may be we should just change it to:\n\nsudo mv /etc/yum.repos.d/delorean* /home/stack/REPOBACKUP/","commit_id":"14c3a82cd91b046b8382f7cd94d57b70833bb763"},{"author":{"_account_id":6924,"name":"Pradeep Kilambi","email":"pkilambi@redhat.com","username":"pkilambi"},"change_message_id":"e22cabc92ed28f172a8f0cce7634e3cdd9ddc575","unresolved":false,"context_lines":[{"line_number":162,"context_line":"      openstack overcloud deploy --templates \\"},{"line_number":163,"context_line":"          -e \u003cfull environment\u003e \\"},{"line_number":164,"context_line":"          -e /usr/share/openstack-tripleo-heat-templates/environments/major-upgrade-aodh.yaml \\"},{"line_number":165,"context_line":"          --force-postconfig"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":".. admonition:: Liberty to Mitaka"},{"line_number":168,"context_line":"   :class: ltom"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_b801a407","line":165,"updated":"2016-06-23 21:45:09.000000000","message":"Thank you for updating the aodh section. The above block looks good and complete(pending force-postconfig patch to merge). I\u0027ll go through the mysql steps once more tonight to confirm.","commit_id":"14c3a82cd91b046b8382f7cd94d57b70833bb763"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"0beb35ed65a65758c40963d26b51b509aca87b7f","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Get and enable new repos::"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"        sudo curl -o /etc/yum.repos.d/delorean-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/current/delorean.repo"},{"line_number":63,"context_line":"        sudo curl -o /etc/yum.repos.d/delorean-deps-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/delorean-deps.repo"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"2. Update the packages on the undercloud:"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_1cf08c66","line":63,"range":{"start_line":62,"start_character":6,"end_line":63,"end_character":137},"updated":"2016-06-24 13:16:04.000000000","message":"Aren\u0027t we missing the delorean-deps repo here? I noticed that no mariadb upgrade took place here.","commit_id":"cb7c9ee9b3448e1aaecb77d7a91d09088c26f3d9"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"4f6be0ed84a58966c0d065f9308fa3cecb4f58e5","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Get and enable new repos::"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"        sudo curl -o /etc/yum.repos.d/delorean-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/current/delorean.repo"},{"line_number":63,"context_line":"        sudo curl -o /etc/yum.repos.d/delorean-deps-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/delorean-deps.repo"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"2. Update the packages on the undercloud:"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_b2499fb9","line":63,"range":{"start_line":62,"start_character":6,"end_line":63,"end_character":137},"in_reply_to":"3aaa91ec_1cf08c66","updated":"2016-06-24 13:52:42.000000000","message":"Apparently tripleo-quickstart changed the option to set the release, hence my test was invalid.","commit_id":"cb7c9ee9b3448e1aaecb77d7a91d09088c26f3d9"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"463e86bd8710f09d6f5c582562dbfa4a8181a595","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Get and enable new repos::"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"        sudo curl -o /etc/yum.repos.d/delorean-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/current/delorean.repo"},{"line_number":63,"context_line":"        sudo curl -o /etc/yum.repos.d/delorean-deps-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/delorean-deps.repo"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"2. Update the packages on the undercloud:"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_1c7e1d19","line":63,"range":{"start_line":62,"start_character":6,"end_line":63,"end_character":137},"in_reply_to":"3aaa91ec_8554dfc9","updated":"2016-07-05 14:27:10.000000000","message":"I think we can focus on the common case which is delorean + delorean-deps. If you play with trunk I think it is okay to have to do some additional steps? Maybe we could add a not. Not sure about using tripleo.sh here, sounds a bit out of scope.","commit_id":"cb7c9ee9b3448e1aaecb77d7a91d09088c26f3d9"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"460e98713a28a02803cacb7effd19c58e404d16c","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Get and enable new repos::"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"        sudo curl -o /etc/yum.repos.d/delorean-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/current/delorean.repo"},{"line_number":63,"context_line":"        sudo curl -o /etc/yum.repos.d/delorean-deps-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/delorean-deps.repo"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"2. Update the packages on the undercloud:"},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_8554dfc9","line":63,"range":{"start_line":62,"start_character":6,"end_line":63,"end_character":137},"in_reply_to":"3aaa91ec_b2499fb9","updated":"2016-06-27 10:54:16.000000000","message":"so I think it depends here again... I think we need to differentiate here too... I think for upgrade to a stable branch, e.g. liberty--\u003emitaka we only have delorean.repo and delorean-deps.reo  but for latest trunk we also have the delorean-current.repo - from http://docs.openstack.org/developer/tripleo-docs/environments/environments.html#virtual-environment\n\nanother thought is, we *could* use tripleo-ci tripleo.sh to do this with --repo-setup (and it should do the right thing as it handled setting $STABLE_RELEASE) but it is a dev tool so what do others think? we could just mention it at least with a note.","commit_id":"cb7c9ee9b3448e1aaecb77d7a91d09088c26f3d9"},{"author":{"_account_id":20778,"name":"Damien Ciabrini","email":"dciabrin@redhat.com","username":"dciabrin"},"change_message_id":"5e27a42f5fb60529ae207b1f0157ce1833f9a37b","unresolved":false,"context_lines":[{"line_number":69,"context_line":""},{"line_number":70,"context_line":"       For liberty to mitaka upgrades we need to backup and restore the database after we have updated::"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        mysqldump -u root --opt --single-transaction --all-databases \u003e backup.sql"},{"line_number":73,"context_line":"        sudo systemctl stop mariadb"},{"line_number":74,"context_line":"        sudo mv /var/lib/mysql /home/stack/mysql-backup"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_e05c037f","line":72,"range":{"start_line":72,"start_character":26,"end_line":72,"end_character":31},"updated":"2016-06-24 08:31:02.000000000","message":"--opt is enabled by default, we can remove it from the command line.\nAlso we need to add --flush-privileges to force mysql to re-read internal data (e.g. grant table) after the restore.","commit_id":"cb7c9ee9b3448e1aaecb77d7a91d09088c26f3d9"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"463e86bd8710f09d6f5c582562dbfa4a8181a595","unresolved":false,"context_lines":[{"line_number":69,"context_line":""},{"line_number":70,"context_line":"       For liberty to mitaka upgrades we need to backup and restore the database after we have updated::"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        mysqldump -u root --opt --single-transaction --all-databases \u003e backup.sql"},{"line_number":73,"context_line":"        sudo systemctl stop mariadb"},{"line_number":74,"context_line":"        sudo mv /var/lib/mysql /home/stack/mysql-backup"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_3cd8391d","line":72,"range":{"start_line":72,"start_character":26,"end_line":72,"end_character":31},"in_reply_to":"3aaa91ec_e05c037f","updated":"2016-07-05 14:27:10.000000000","message":"Ack, done","commit_id":"cb7c9ee9b3448e1aaecb77d7a91d09088c26f3d9"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"e6cee326054e641aede736673eab0ee2f5e83727","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"   The following command will upgrade the undercloud:"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"      # FIXME: this was suggested by Ben? I think it is best if we simply stop all openstack services?"},{"line_number":93,"context_line":"      sudo systemctl stop openstack-keystone"},{"line_number":94,"context_line":"      sudo systemctl stop neutron-server"},{"line_number":95,"context_line":"      openstack undercloud upgrade"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"   Once the undercloud upgrade is fully completed you may"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_55a2fa99","line":94,"range":{"start_line":92,"start_character":4,"end_line":94,"end_character":40},"updated":"2016-06-24 06:26:25.000000000","message":"@Ben \u0026 others, I\u0027d love your feedback/input here. Thanks ;)","commit_id":"cb7c9ee9b3448e1aaecb77d7a91d09088c26f3d9"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"ec836f2783e29c6c11da1c27741d9a59873d8015","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"   The following command will upgrade the undercloud:"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"      # FIXME: this was suggested by Ben? I think it is best if we simply stop all openstack services?"},{"line_number":93,"context_line":"      sudo systemctl stop openstack-keystone"},{"line_number":94,"context_line":"      sudo systemctl stop neutron-server"},{"line_number":95,"context_line":"      openstack undercloud upgrade"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"   Once the undercloud upgrade is fully completed you may"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_dbde1810","line":94,"range":{"start_line":92,"start_character":4,"end_line":94,"end_character":40},"in_reply_to":"3aaa91ec_55a2fa99","updated":"2016-06-24 08:31:25.000000000","message":"So I believe the plan is for this to happen as part of the undercloud upgrade client command like at https://review.openstack.org/#/c/331804 ... perhaps we leave it in for now with a #TODO remove once https://review.openstack.org/#/c/331804","commit_id":"cb7c9ee9b3448e1aaecb77d7a91d09088c26f3d9"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"463e86bd8710f09d6f5c582562dbfa4a8181a595","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"   The following command will upgrade the undercloud:"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"      # FIXME: this was suggested by Ben? I think it is best if we simply stop all openstack services?"},{"line_number":93,"context_line":"      sudo systemctl stop openstack-keystone"},{"line_number":94,"context_line":"      sudo systemctl stop neutron-server"},{"line_number":95,"context_line":"      openstack undercloud upgrade"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"   Once the undercloud upgrade is fully completed you may"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_fcf4f187","line":94,"range":{"start_line":92,"start_character":4,"end_line":94,"end_character":40},"in_reply_to":"3aaa91ec_dbde1810","updated":"2016-07-05 14:27:10.000000000","message":"I cleaned up the calls to match them with the review (stop openstack-* and neutron-*) added a TODO","commit_id":"cb7c9ee9b3448e1aaecb77d7a91d09088c26f3d9"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"5eac1f1b444574bd883ac6b37604ff0ee1eb1358","unresolved":false,"context_lines":[{"line_number":181,"context_line":""},{"line_number":182,"context_line":"      openstack overcloud deploy --templates \\"},{"line_number":183,"context_line":"          -e \u003cfull environment\u003e \\"},{"line_number":184,"context_line":"          -e /usr/share/openstack-tripleo-heat-templates/environments/major-upgrade-keystone-liberty-mitaka.yaml"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":"#. Object storage nodes upgrade"},{"line_number":187,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_bc15f8e5","line":184,"updated":"2016-06-24 13:09:43.000000000","message":"Maybe the AODH and Keystone migrations should go above the repository switch. At this point we\u0027re still using Liberty deployment with Liberty puppet modules, so we should probably also install Liberty AODH packages and not Mitaka ones.\n\nFWIW i tested downstream, and the AODH migration failed when i had switched to Mitaka repos first, and it succeeded when i hadn\u0027t.","commit_id":"cb7c9ee9b3448e1aaecb77d7a91d09088c26f3d9"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"463e86bd8710f09d6f5c582562dbfa4a8181a595","unresolved":false,"context_lines":[{"line_number":181,"context_line":""},{"line_number":182,"context_line":"      openstack overcloud deploy --templates \\"},{"line_number":183,"context_line":"          -e \u003cfull environment\u003e \\"},{"line_number":184,"context_line":"          -e /usr/share/openstack-tripleo-heat-templates/environments/major-upgrade-keystone-liberty-mitaka.yaml"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":"#. Object storage nodes upgrade"},{"line_number":187,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_dc365551","line":184,"in_reply_to":"3aaa91ec_6a5570c4","updated":"2016-07-05 14:27:10.000000000","message":"Ack, done","commit_id":"cb7c9ee9b3448e1aaecb77d7a91d09088c26f3d9"},{"author":{"_account_id":6924,"name":"Pradeep Kilambi","email":"pkilambi@redhat.com","username":"pkilambi"},"change_message_id":"667ba04cf202c395fa905e5d49ee0a5203fb8550","unresolved":false,"context_lines":[{"line_number":181,"context_line":""},{"line_number":182,"context_line":"      openstack overcloud deploy --templates \\"},{"line_number":183,"context_line":"          -e \u003cfull environment\u003e \\"},{"line_number":184,"context_line":"          -e /usr/share/openstack-tripleo-heat-templates/environments/major-upgrade-keystone-liberty-mitaka.yaml"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":"#. Object storage nodes upgrade"},{"line_number":187,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_6a5570c4","line":184,"in_reply_to":"3aaa91ec_af1bfcc8","updated":"2016-06-24 19:42:17.000000000","message":"i think this is fine as aodh packages are in liberty repos already.","commit_id":"cb7c9ee9b3448e1aaecb77d7a91d09088c26f3d9"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"2b0fe69024fb5b8e1316484dfffa097314e3182e","unresolved":false,"context_lines":[{"line_number":181,"context_line":""},{"line_number":182,"context_line":"      openstack overcloud deploy --templates \\"},{"line_number":183,"context_line":"          -e \u003cfull environment\u003e \\"},{"line_number":184,"context_line":"          -e /usr/share/openstack-tripleo-heat-templates/environments/major-upgrade-keystone-liberty-mitaka.yaml"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":"#. Object storage nodes upgrade"},{"line_number":187,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_af1bfcc8","line":184,"in_reply_to":"3aaa91ec_bc15f8e5","updated":"2016-06-24 13:29:48.000000000","message":"The keystone one is definitely fine to move before the init. If Pradeep is fine with the aodh one, I have nothing against that","commit_id":"cb7c9ee9b3448e1aaecb77d7a91d09088c26f3d9"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"3052cc5bbc6185bf8697448ca6498ce747c124d8","unresolved":false,"context_lines":[{"line_number":29,"context_line":"   production environment."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Upgrading the Undercloud"},{"line_number":33,"context_line":"------------------------"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"#. Disable the old OpenStack release repositories and enable new"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1aa78d24_e996f04a","line":32,"updated":"2016-07-05 15:40:38.000000000","message":"Note that if we\u0027re going to document this here, we should remove it from http://docs.openstack.org/developer/tripleo-docs/installation/installation.html#updating-undercloud-components","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"fa84d246b11a33a465aa83e39425f236f6922f77","unresolved":false,"context_lines":[{"line_number":29,"context_line":"   production environment."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Upgrading the Undercloud"},{"line_number":33,"context_line":"------------------------"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"#. Disable the old OpenStack release repositories and enable new"}],"source_content_type":"text/x-rst","patch_set":8,"id":"bacf61ea_545a1b2b","line":32,"in_reply_to":"1aa78d24_1f7198a8","updated":"2016-08-04 11:49:01.000000000","message":"I\u0027d say whoever\u0027s chasing trunk is on their own to some degree, at least personally i don\u0027t consider trunk to be fit for production.\n\nHowever for stable branches we should have a minor update procedure (\u003d applying fixes) as well as major upgrade procedure (\u003d moving to the next release). Both of these are important features for a deployment tool imho. To date i\u0027ve been more focused on overcloud so cannot speak too much for the state of undercloud updates/upgrades, but generally i think working updates+upgrades on stable branches is something we should aim for and document, both for undercloud and overcloud.","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"17a8f0676c2331b2c6604b770284dea8f019c559","unresolved":false,"context_lines":[{"line_number":29,"context_line":"   production environment."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Upgrading the Undercloud"},{"line_number":33,"context_line":"------------------------"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"#. Disable the old OpenStack release repositories and enable new"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1aa78d24_90c92829","line":32,"in_reply_to":"1aa78d24_2dee1fb4","updated":"2016-07-06 08:35:43.000000000","message":"yeah indeed the section bnemec points at is for the minor updates so I think it is fine to have some duplication there (i.e. we need two separate sections). In some cases here we need to do special things, like backup/restore mariadb for undercloud upgrade.","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"562c15af3871946994f487d76d3ac8e1c34330f9","unresolved":false,"context_lines":[{"line_number":29,"context_line":"   production environment."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Upgrading the Undercloud"},{"line_number":33,"context_line":"------------------------"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"#. Disable the old OpenStack release repositories and enable new"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1aa78d24_1f7198a8","line":32,"in_reply_to":"1aa78d24_90c92829","updated":"2016-07-06 21:31:32.000000000","message":"The problem is that I\u0027m actually proposing we drop the minor upgrade docs because they don\u0027t work in many cases, especially if you\u0027re chasing trunk.\n\nhttps://review.openstack.org/#/c/315683/3/doc/source/installation/updating.rst\n\nI suppose we _could_ maintain a set of minor update instructions that only applies to stable branches, but it seems like something that would break easily and get ignored because no developers are actually doing it (anybody besides me have a two month old Mitaka image that they could use for testing it?  I\u0027m betting not).\n\nWe\u0027ve already got the admonitions in these docs to make it clear that the db dump step is specific to a particular release, so that isn\u0027t really a problem.  If you\u0027re not doing that then you can skip the step and just do the simple case.","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"94ff3e26834194e55b99634d61ff7aa94f639ad4","unresolved":false,"context_lines":[{"line_number":29,"context_line":"   production environment."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Upgrading the Undercloud"},{"line_number":33,"context_line":"------------------------"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"#. Disable the old OpenStack release repositories and enable new"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1aa78d24_2dee1fb4","line":32,"in_reply_to":"1aa78d24_e996f04a","updated":"2016-07-06 08:04:30.000000000","message":"While I agree that the duplication is a bit bad, I think those are two different use-cases:\n1) Major release upgrade (i.e. we need to stop galera and dump restore)\n2) Updating the undercloud (minor fixes/changes)\n\nAm a bit undecided here. Maybe we could amend the existing\nundercloud upgrading instructions to cover for major upgrades and link it from here?","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"3052cc5bbc6185bf8697448ca6498ce747c124d8","unresolved":false,"context_lines":[{"line_number":57,"context_line":"        mkdir /home/stack/REPOBACKUP"},{"line_number":58,"context_line":"        sudo mv /etc/yum.repos.d/delorean* /home/stack/REPOBACKUP/"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Get and enable new repos::"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"        sudo curl -o /etc/yum.repos.d/delorean-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/current/delorean.repo"},{"line_number":63,"context_line":"        sudo curl -o /etc/yum.repos.d/delorean-deps-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/delorean-deps.repo"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1aa78d24_a4452f18","line":60,"updated":"2016-07-05 15:40:38.000000000","message":"This is kind of unfortunate in that we are now documenting repo enablement in multiple places.  It would be nice if we could just include the repositories.txt:-/\n\nNote that I have a separate docs patch up to improve the stable branch admonitions for this stuff, so it might be possible to say \"Use instructions for $NEW_VERSION\" and then include repositories.txt.\n\nSee https://review.openstack.org/#/c/330802\n\nThe only thing that would be missing is an admonition for Newton because that\u0027s just trunk right now.  I feel like we could come up with some sane way to handle that though.","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"94ff3e26834194e55b99634d61ff7aa94f639ad4","unresolved":false,"context_lines":[{"line_number":57,"context_line":"        mkdir /home/stack/REPOBACKUP"},{"line_number":58,"context_line":"        sudo mv /etc/yum.repos.d/delorean* /home/stack/REPOBACKUP/"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Get and enable new repos::"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"        sudo curl -o /etc/yum.repos.d/delorean-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/current/delorean.repo"},{"line_number":63,"context_line":"        sudo curl -o /etc/yum.repos.d/delorean-deps-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/delorean-deps.repo"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1aa78d24_ed253709","line":60,"in_reply_to":"1aa78d24_a4452f18","updated":"2016-07-06 08:04:30.000000000","message":"This sounds sensible I think","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"1b5c9f3d39badc8f7f30bbed45ea202393dd63da","unresolved":false,"context_lines":[{"line_number":57,"context_line":"        mkdir /home/stack/REPOBACKUP"},{"line_number":58,"context_line":"        sudo mv /etc/yum.repos.d/delorean* /home/stack/REPOBACKUP/"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Get and enable new repos::"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"        sudo curl -o /etc/yum.repos.d/delorean-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/current/delorean.repo"},{"line_number":63,"context_line":"        sudo curl -o /etc/yum.repos.d/delorean-deps-$NEW_VERSION.repo http://trunk.rdoproject.org/centos7-$NEW_VERSION/delorean-deps.repo"}],"source_content_type":"text/x-rst","patch_set":8,"id":"bacf61ea_f848615e","line":60,"in_reply_to":"1aa78d24_ed253709","updated":"2016-08-04 12:59:36.000000000","message":"Done","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"17a8f0676c2331b2c6604b770284dea8f019c559","unresolved":false,"context_lines":[{"line_number":73,"context_line":"        sudo systemctl stop mariadb"},{"line_number":74,"context_line":"        sudo mv /var/lib/mysql /home/stack/mysql-backup"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"  Update packages on the undercloud::"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"       sudo yum -y update"},{"line_number":79,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"1aa78d24_50fb4047","line":76,"updated":"2016-07-06 08:35:43.000000000","message":"minor nit for next pass ^^  duplication looks odd (2. Update the packages and here )... maybe just \u0027Run the yum update\u0027","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"1b5c9f3d39badc8f7f30bbed45ea202393dd63da","unresolved":false,"context_lines":[{"line_number":73,"context_line":"        sudo systemctl stop mariadb"},{"line_number":74,"context_line":"        sudo mv /var/lib/mysql /home/stack/mysql-backup"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"  Update packages on the undercloud::"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"       sudo yum -y update"},{"line_number":79,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"bacf61ea_58cc0dbb","line":76,"in_reply_to":"1aa78d24_50fb4047","updated":"2016-08-04 12:59:36.000000000","message":"Done","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"562c15af3871946994f487d76d3ac8e1c34330f9","unresolved":false,"context_lines":[{"line_number":75,"context_line":""},{"line_number":76,"context_line":"  Update packages on the undercloud::"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"       sudo yum -y update"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":".. admonition:: Liberty to Mitaka"},{"line_number":81,"context_line":"   :class: ltom"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1aa78d24_3f1e145f","line":78,"updated":"2016-07-06 21:31:32.000000000","message":"You don\u0027t want to do this with the OpenStack services running.  It will likely not end well. :-)","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"17a8f0676c2331b2c6604b770284dea8f019c559","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"       sudo yum -y update"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":".. admonition:: Liberty to Mitaka"},{"line_number":81,"context_line":"   :class: ltom"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"     Liberty to Mitaka we need to restore the database from the backup created earlier::"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1aa78d24_909768eb","line":80,"updated":"2016-07-06 08:35:43.000000000","message":"can you bring this in by two spaces so it aligns with the l .. m admonition above it where we do the stop and backup (right now it spans wider than that in generated docs)","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"1b5c9f3d39badc8f7f30bbed45ea202393dd63da","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"       sudo yum -y update"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":".. admonition:: Liberty to Mitaka"},{"line_number":81,"context_line":"   :class: ltom"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"     Liberty to Mitaka we need to restore the database from the backup created earlier::"}],"source_content_type":"text/x-rst","patch_set":8,"id":"bacf61ea_186455b7","line":80,"in_reply_to":"1aa78d24_909768eb","updated":"2016-08-04 12:59:36.000000000","message":"Done","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"17a8f0676c2331b2c6604b770284dea8f019c559","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"3. Run undercloud upgrade::"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"   The following command will upgrade the undercloud:"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"      # TODO: In the future this might be taken care of by tripleoclient automatically"},{"line_number":93,"context_line":"      sudo systemctl stop openstack-*"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1aa78d24_f0afcc27","line":90,"updated":"2016-07-06 08:35:43.000000000","message":"here \"undercloud::\"","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"1b5c9f3d39badc8f7f30bbed45ea202393dd63da","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"3. Run undercloud upgrade::"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"   The following command will upgrade the undercloud:"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"      # TODO: In the future this might be taken care of by tripleoclient automatically"},{"line_number":93,"context_line":"      sudo systemctl stop openstack-*"}],"source_content_type":"text/x-rst","patch_set":8,"id":"bacf61ea_380679ce","line":90,"in_reply_to":"1aa78d24_f0afcc27","updated":"2016-08-04 12:59:36.000000000","message":"Done","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"17a8f0676c2331b2c6604b770284dea8f019c559","unresolved":false,"context_lines":[{"line_number":90,"context_line":"   The following command will upgrade the undercloud:"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"      # TODO: In the future this might be taken care of by tripleoclient automatically"},{"line_number":93,"context_line":"      sudo systemctl stop openstack-*"},{"line_number":94,"context_line":"      sudo systemctl stop neutron-*"},{"line_number":95,"context_line":"      openstack undercloud upgrade"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"1aa78d24_90be4863","line":93,"updated":"2016-07-06 08:35:43.000000000","message":"this isn\u0027t generated nicely as a text box, you need to add another : to the end of line 90 to make that happen","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"1b5c9f3d39badc8f7f30bbed45ea202393dd63da","unresolved":false,"context_lines":[{"line_number":90,"context_line":"   The following command will upgrade the undercloud:"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"      # TODO: In the future this might be taken care of by tripleoclient automatically"},{"line_number":93,"context_line":"      sudo systemctl stop openstack-*"},{"line_number":94,"context_line":"      sudo systemctl stop neutron-*"},{"line_number":95,"context_line":"      openstack undercloud upgrade"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"bacf61ea_180bb5d7","line":93,"in_reply_to":"1aa78d24_90be4863","updated":"2016-08-04 12:59:36.000000000","message":"Done","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"17a8f0676c2331b2c6604b770284dea8f019c559","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"   The `openstack overcloud deploy` calls in upgrade steps below are"},{"line_number":118,"context_line":"   non-blocking. Make sure that the overcloud is `UPDATE_COMPLETE` in"},{"line_number":119,"context_line":"   `openstack stack list` before proceeding to the next step."},{"line_number":120,"context_line":""},{"line_number":121,"context_line":".. admonition:: Liberty to Mitaka"},{"line_number":122,"context_line":"   :class: ltom"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1aa78d24_d0429067","line":119,"updated":"2016-07-06 08:35:43.000000000","message":"maybe extend this to also say \u0027make sure cluster is happy/services all running \u0027 after each given step too and cleanup if needed","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"1b5c9f3d39badc8f7f30bbed45ea202393dd63da","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"   The `openstack overcloud deploy` calls in upgrade steps below are"},{"line_number":118,"context_line":"   non-blocking. Make sure that the overcloud is `UPDATE_COMPLETE` in"},{"line_number":119,"context_line":"   `openstack stack list` before proceeding to the next step."},{"line_number":120,"context_line":""},{"line_number":121,"context_line":".. admonition:: Liberty to Mitaka"},{"line_number":122,"context_line":"   :class: ltom"}],"source_content_type":"text/x-rst","patch_set":8,"id":"bacf61ea_18a735be","line":119,"in_reply_to":"1aa78d24_d0429067","updated":"2016-08-04 12:59:36.000000000","message":"Done, though i didn\u0027t add anything about pcs cleanup as it may not apply generally, perhaps troubleshooting pacemaker is a matter for a separate section.","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"1b5c9f3d39badc8f7f30bbed45ea202393dd63da","unresolved":false,"context_lines":[{"line_number":130,"context_line":"    This is to deliver the migration from ceilometer-alarms to aodh. To execute"},{"line_number":131,"context_line":"    this step run `overcloud deploy`, passing in the full set of environment"},{"line_number":132,"context_line":"    files plus `major-upgrade-aodh.yaml`. Note that the `--force-postconfig`"},{"line_number":133,"context_line":"    switch is needed in order to add the newly created aodh enpoint::"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"      openstack overcloud deploy --templates \\"},{"line_number":136,"context_line":"          -e \u003cfull environment\u003e \\"}],"source_content_type":"text/x-rst","patch_set":8,"id":"bacf61ea_387af9f1","line":133,"updated":"2016-08-04 12:59:36.000000000","message":"endpoint","commit_id":"ec63a7e864dbf513f4df070b2dc5f319079d52fe"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"7f5554e39d1ef6b28258af3d9b9c5097f8238e49","unresolved":false,"context_lines":[{"line_number":32,"context_line":"Upgrading the Undercloud"},{"line_number":33,"context_line":"------------------------"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"#. Disable the old OpenStack release repositories and enable new"},{"line_number":36,"context_line":"   release repositories on the undercloud:"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"  .. admonition:: Liberty to Mitaka"}],"source_content_type":"text/x-rst","patch_set":9,"id":"bacf61ea_3aa75b0c","line":35,"updated":"2016-08-05 10:19:34.000000000","message":"#1 here","commit_id":"6cc9c10676b3e110d1c28dc6ce556ef284664732"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"b07cabc9b6be8a0f5b81dd7dff6f0e353d3bb29e","unresolved":false,"context_lines":[{"line_number":32,"context_line":"Upgrading the Undercloud"},{"line_number":33,"context_line":"------------------------"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"#. Disable the old OpenStack release repositories and enable new"},{"line_number":36,"context_line":"   release repositories on the undercloud:"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"  .. admonition:: Liberty to Mitaka"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9ad45d7e_c72a5e2c","line":35,"in_reply_to":"bacf61ea_3aa75b0c","updated":"2016-08-08 09:39:21.000000000","message":"Done","commit_id":"6cc9c10676b3e110d1c28dc6ce556ef284664732"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"7f5554e39d1ef6b28258af3d9b9c5097f8238e49","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":".. include:: ../repositories.txt"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"#. Update the packages on the undercloud:"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"  .. admonition:: Liberty to Mitaka"},{"line_number":67,"context_line":"     :class: ltom"}],"source_content_type":"text/x-rst","patch_set":9,"id":"bacf61ea_ba5ceb19","line":64,"updated":"2016-08-05 10:19:34.000000000","message":"we may need to use explicit numbers here... this is generating as #1 as is the previous and next","commit_id":"6cc9c10676b3e110d1c28dc6ce556ef284664732"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"b07cabc9b6be8a0f5b81dd7dff6f0e353d3bb29e","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":".. include:: ../repositories.txt"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"#. Update the packages on the undercloud:"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"  .. admonition:: Liberty to Mitaka"},{"line_number":67,"context_line":"     :class: ltom"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9ad45d7e_47002eab","line":64,"in_reply_to":"bacf61ea_ba5ceb19","updated":"2016-08-08 09:39:21.000000000","message":"Thanks sorry i didn\u0027t notice this was the reason we had explicit numbers here previously.","commit_id":"6cc9c10676b3e110d1c28dc6ce556ef284664732"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"4698cc7014777a0d282e2062f669b2bab23325e2","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"  Run package update::"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"       sudo yum -y update"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"  .. admonition:: Liberty to Mitaka"},{"line_number":80,"context_line":"     :class: ltom"}],"source_content_type":"text/x-rst","patch_set":9,"id":"bacf61ea_3b3833a0","line":77,"updated":"2016-08-04 13:03:32.000000000","message":"On previous patchset bnemec noted this is not a good idea. Should we just update mariadb here, and leave the rest for `openstack overcloud upgrade`?","commit_id":"6cc9c10676b3e110d1c28dc6ce556ef284664732"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"b07cabc9b6be8a0f5b81dd7dff6f0e353d3bb29e","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"  Run package update::"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"       sudo yum -y update"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"  .. admonition:: Liberty to Mitaka"},{"line_number":80,"context_line":"     :class: ltom"}],"source_content_type":"text/x-rst","patch_set":9,"id":"9ad45d7e_e725e25c","line":77,"in_reply_to":"bacf61ea_3b3833a0","updated":"2016-08-08 09:39:21.000000000","message":"Done","commit_id":"6cc9c10676b3e110d1c28dc6ce556ef284664732"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"7f5554e39d1ef6b28258af3d9b9c5097f8238e49","unresolved":false,"context_lines":[{"line_number":84,"context_line":"         sudo systemctl start mariadb"},{"line_number":85,"context_line":"         mysql -u root \u003c /home/stack/backup.sql"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"#. Run undercloud upgrade::"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"   The following command will upgrade the undercloud::"},{"line_number":90,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"bacf61ea_bab34b4c","line":87,"updated":"2016-08-05 10:19:34.000000000","message":"and here #1 too","commit_id":"6cc9c10676b3e110d1c28dc6ce556ef284664732"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"b07cabc9b6be8a0f5b81dd7dff6f0e353d3bb29e","unresolved":false,"context_lines":[{"line_number":84,"context_line":"         sudo systemctl start mariadb"},{"line_number":85,"context_line":"         mysql -u root \u003c /home/stack/backup.sql"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"#. Run undercloud upgrade::"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"   The following command will upgrade the undercloud::"},{"line_number":90,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"9ad45d7e_873066a0","line":87,"in_reply_to":"bacf61ea_bab34b4c","updated":"2016-08-08 09:39:21.000000000","message":"Done","commit_id":"6cc9c10676b3e110d1c28dc6ce556ef284664732"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"7f5554e39d1ef6b28258af3d9b9c5097f8238e49","unresolved":false,"context_lines":[{"line_number":122,"context_line":"   :class: ltom"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"    **1.1 Deliver the aodh migration.**"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"    For Liberty to Mitaka we need to run an extra step in the upgrades workflow"},{"line_number":128,"context_line":"    after the upgrade initialisation."}],"source_content_type":"text/x-rst","patch_set":9,"id":"bacf61ea_7ac27386","line":125,"updated":"2016-08-05 10:19:34.000000000","message":"this made sense, 1.1 and 1.2 when these came after the upgrade init. Perhaps 0.1 and 0.2 heh or just remove the numbers","commit_id":"6cc9c10676b3e110d1c28dc6ce556ef284664732"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"b07cabc9b6be8a0f5b81dd7dff6f0e353d3bb29e","unresolved":false,"context_lines":[{"line_number":122,"context_line":"   :class: ltom"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"    **1.1 Deliver the aodh migration.**"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"    For Liberty to Mitaka we need to run an extra step in the upgrades workflow"},{"line_number":128,"context_line":"    after the upgrade initialisation."}],"source_content_type":"text/x-rst","patch_set":9,"id":"9ad45d7e_071d960f","line":125,"in_reply_to":"bacf61ea_7ac27386","updated":"2016-08-08 09:39:21.000000000","message":"Done","commit_id":"6cc9c10676b3e110d1c28dc6ce556ef284664732"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"cdb50e80e39317bfdc3ac31657f844f3be25bd85","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"  Run package update::"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"       sudo yum -y update mariadb"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"  .. admonition:: Liberty to Mitaka"},{"line_number":80,"context_line":"     :class: ltom"}],"source_content_type":"text/x-rst","patch_set":10,"id":"9ad45d7e_c7a37e4e","line":77,"updated":"2016-08-08 09:05:52.000000000","message":"did we get any resolution/discussion around this being fine here (vs full update) - I mean it seems right since this is specifically to address an issue with a mariadb major upgrade","commit_id":"fe106dcc2fb196da7e995cfe9b0fbf46c9327f61"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"90d033c6688e9b4eaf67d4feac5a5e2605695cda","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"  Run package update::"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"       sudo yum -y update mariadb"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"  .. admonition:: Liberty to Mitaka"},{"line_number":80,"context_line":"     :class: ltom"}],"source_content_type":"text/x-rst","patch_set":10,"id":"9ad45d7e_4defadb0","line":77,"in_reply_to":"9ad45d7e_c7a37e4e","updated":"2016-08-08 09:31:27.000000000","message":"If we do the dump and restore unconditionally, this is fine. When we manage to move some of the logic into and undercloud upgrade command, we can do the magic there. But for now this will do the job","commit_id":"fe106dcc2fb196da7e995cfe9b0fbf46c9327f61"},{"author":{"_account_id":6796,"name":"Giulio Fidente","email":"gfidente@redhat.com","username":"gfidente"},"change_message_id":"48bc8127b32403a93cd22ce08f30c8639cb7f9c9","unresolved":false,"context_lines":[{"line_number":88,"context_line":""},{"line_number":89,"context_line":"   The following command will upgrade the undercloud::"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"      # TODO: In the future this might be taken care of by tripleoclient automatically"},{"line_number":92,"context_line":"      sudo systemctl stop openstack-*"},{"line_number":93,"context_line":"      sudo systemctl stop neutron-*"},{"line_number":94,"context_line":"      openstack undercloud upgrade"}],"source_content_type":"text/x-rst","patch_set":10,"id":"9ad45d7e_aae8cf17","line":91,"updated":"2016-08-08 09:14:12.000000000","message":"maybe we could use a separate paragraph for the TODO, before the \u0027undercloud upgrade\u0027 command","commit_id":"fe106dcc2fb196da7e995cfe9b0fbf46c9327f61"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"ac6199e1d9ace2e6c65eeaeaa9130328f74049d3","unresolved":false,"context_lines":[{"line_number":88,"context_line":""},{"line_number":89,"context_line":"   The following command will upgrade the undercloud::"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"      # TODO: In the future this might be taken care of by tripleoclient automatically"},{"line_number":92,"context_line":"      sudo systemctl stop openstack-*"},{"line_number":93,"context_line":"      sudo systemctl stop neutron-*"},{"line_number":94,"context_line":"      openstack undercloud upgrade"}],"source_content_type":"text/x-rst","patch_set":10,"id":"9ad45d7e_d013320c","line":91,"in_reply_to":"9ad45d7e_aae8cf17","updated":"2016-08-08 09:47:06.000000000","message":"Hmm maybe i\u0027d just remove the todo note from docs though. The current procedure is what it is :) When we make the procedure better, we\u0027d amend the docs too.","commit_id":"fe106dcc2fb196da7e995cfe9b0fbf46c9327f61"},{"author":{"_account_id":6796,"name":"Giulio Fidente","email":"gfidente@redhat.com","username":"gfidente"},"change_message_id":"48bc8127b32403a93cd22ce08f30c8639cb7f9c9","unresolved":false,"context_lines":[{"line_number":118,"context_line":"   `openstack stack list` and `sudo pcs status` on a controller"},{"line_number":119,"context_line":"   reports everything running fine before proceeding to the next step."},{"line_number":120,"context_line":""},{"line_number":121,"context_line":".. admonition:: Liberty to Mitaka"},{"line_number":122,"context_line":"   :class: ltom"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"9ad45d7e_2a95ff3f","line":121,"updated":"2016-08-08 09:14:12.000000000","message":"Can we add the Ceph bits too for the new CephClientKey or shall we follow up on this patch?\n\n**Create the new CephClientKey**\n\nIf using a TripleO managed Ceph deployment, a new key for the \"client.openstack\" CephX user needs to be provided. A sample environment file would look like the following:\n\n  parameter_defaults:\n    CephClientKey: \u0027my_cephx_key\u0027\n\nThe key can be generated from any of the overcloud nodes with:\n\n  $ ceph-authtool --gen-print-key","commit_id":"fe106dcc2fb196da7e995cfe9b0fbf46c9327f61"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"ac6199e1d9ace2e6c65eeaeaa9130328f74049d3","unresolved":false,"context_lines":[{"line_number":118,"context_line":"   `openstack stack list` and `sudo pcs status` on a controller"},{"line_number":119,"context_line":"   reports everything running fine before proceeding to the next step."},{"line_number":120,"context_line":""},{"line_number":121,"context_line":".. admonition:: Liberty to Mitaka"},{"line_number":122,"context_line":"   :class: ltom"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"9ad45d7e_90e1bad3","line":121,"in_reply_to":"9ad45d7e_2a95ff3f","updated":"2016-08-08 09:47:06.000000000","message":"Done","commit_id":"fe106dcc2fb196da7e995cfe9b0fbf46c9327f61"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"1676eee9a1e91cd54984001882203f38a1617f93","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Get and enable new repos for `NEW_VERSION`:"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":".. include:: ../repositories.txt"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"3. Run undercloud upgrade::"},{"line_number":65,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"9ad45d7e_3be70f14","line":62,"updated":"2016-08-08 10:03:00.000000000","message":"not a big deal but this breaks the coloring for these particular nested admonitions it renders pink for l-\u003em and blue for m-\u003en","commit_id":"77c8e828615087430d01323bdd7920e1f3ad73ed"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"1676eee9a1e91cd54984001882203f38a1617f93","unresolved":false,"context_lines":[{"line_number":64,"context_line":"3. Run undercloud upgrade::"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"  .. admonition:: Liberty to Mitaka"},{"line_number":67,"context_line":"     :class: ltom"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"       For liberty to mitaka upgrades we need to manually update"},{"line_number":70,"context_line":"       mariadb including a database backup/restore::"}],"source_content_type":"text/x-rst","patch_set":12,"id":"9ad45d7e_3bd1cffc","line":67,"updated":"2016-08-08 10:03:00.000000000","message":"there is a nit here maybe spacing but renders wrong","commit_id":"77c8e828615087430d01323bdd7920e1f3ad73ed"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"6e816967b79140a6a776af3f91f171c87d6fa46f","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Get and enable new repos for `NEW_VERSION`:"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":".. include:: ../repositories.txt"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"2. Run undercloud upgrade:"},{"line_number":65,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"9ad45d7e_6d37d6b0","line":62,"updated":"2016-08-09 08:36:57.000000000","message":"this is still somehow not being rendered correctly for the ltom and mton.\n\nNot really a big deal except it breaks the filtering we have with the navbar (\"limit environment specific content\")\n\nhttp://i.imgur.com/YesyOAc.png","commit_id":"9b5421a14fe552a63edb243d58eb579d903950ef"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"e9ab67c20ad5b7846fbb803252aa1b45a6069201","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  Get and enable new repos for `NEW_VERSION`:"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":".. include:: ../repositories.txt"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"2. Run undercloud upgrade:"},{"line_number":65,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"9ad45d7e_a8209c9c","line":62,"in_reply_to":"9ad45d7e_6d37d6b0","updated":"2016-08-09 08:52:02.000000000","message":"Yea those are different classes... we have to keep checked both \"install from mitaka\" and \"upgrade from liberty to mitaka\" to get the correct docs for L-\u003eM.","commit_id":"9b5421a14fe552a63edb243d58eb579d903950ef"},{"author":{"_account_id":20172,"name":"Michele Baldessari","email":"michele@acksyn.org","username":"michele"},"change_message_id":"751c893b033934dcbaee14d010216f039faafdd6","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"   The following command will upgrade the undercloud::"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"      # TODO: In the future this might be taken care of by tripleoclient automatically"},{"line_number":85,"context_line":"      sudo systemctl stop openstack-*"},{"line_number":86,"context_line":"      sudo systemctl stop neutron-*"},{"line_number":87,"context_line":"      sudo yum -y update instack-undercloud openstack-puppet-modules openstack-tripleo-common python-tripleoclient"}],"source_content_type":"text/x-rst","patch_set":15,"id":"9ad45d7e_0eb599cc","line":84,"range":{"start_line":84,"start_character":6,"end_line":84,"end_character":86},"updated":"2016-08-08 15:32:14.000000000","message":"shall we just kill this and amend if/when this lands?","commit_id":"9b5421a14fe552a63edb243d58eb579d903950ef"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"e9ab67c20ad5b7846fbb803252aa1b45a6069201","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"   The following command will upgrade the undercloud::"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"      # TODO: In the future this might be taken care of by tripleoclient automatically"},{"line_number":85,"context_line":"      sudo systemctl stop openstack-*"},{"line_number":86,"context_line":"      sudo systemctl stop neutron-*"},{"line_number":87,"context_line":"      sudo yum -y update instack-undercloud openstack-puppet-modules openstack-tripleo-common python-tripleoclient"}],"source_content_type":"text/x-rst","patch_set":15,"id":"9ad45d7e_6874e49b","line":84,"range":{"start_line":84,"start_character":6,"end_line":84,"end_character":86},"in_reply_to":"9ad45d7e_0eb599cc","updated":"2016-08-09 08:52:02.000000000","message":"Duh i fogot about this, but since we have so many +es and this is just a minor detail, i\u0027m inclined to land it anyway.","commit_id":"9b5421a14fe552a63edb243d58eb579d903950ef"}]}
