Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To upgrade cinder without any downtime, follow this procedure

  1. Purge old DB-records
    1. cinder-manage db purge 0
  2. Add the following three lines to the node-file of the first node you would like to upgrade:
    1. apache::service_ensure: 'stopped'

    2. cinder::scheduler::enabled: false

    3. cinder::volume::enabled: false

  3. Run puppet on the first host with ussuri modules/tags
  4. Run apt-get autoremove && apt-get dist-upgrade
  5. Run puppet again
  6. Run cinder-manage db sync && cinder-manage db online_data_migrations
  7. Remove the lines added at step 1, re-run puppet, and test that the upgraded cinder version works.
  8. Perfom step 2-4 5 for the rest of the cinder nodes