Versions Compared

Key

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

...

Upgrade-steps (start with a single node):

  1. Add the following lines to the node-specific hiera:
    • apache::mod::wsgi::package_name: 'libapache2-mod-wsgi-py3'
    • apache::mod::wsgi::mod_path: '/usr/lib/apache2/modules/mod_wsgi.so'
  2. Run puppet with the rocky modules/tags
  3. Stop apache2 and puppet
  4. Purge the keystone and apache2 package
  5. Run apt dist-upgrade
  6. Run puppet again
    1. This will re-install keystone (ensure that apache2 does not start - should be ensured by puppet as of the enable: false flag in hiera)
  7. Run keystone-manage doctor and ensure nothing is wrong
  8. Run keystone-manage db_sync --expand
    1. Returns nothing
  9. Run keystone-manage db_sync --migrate
    1. Returns nothing
  10. At this point, you may restart apache2 on this node
    1. Remove the  apache::service_ensure: 'stopped' previously set in hiera.
  11. Upgrade keystone on the other nodes, one at a time
    1. Basically run step 1-5 on the other nodes
  12. When all nodes are upgraded, perform the final DB sync
    1. keystone-manage db_sync --contract
  13. Remove the keystone::enabled: false and the keystone::manage_service: false hiera key from the first node, and re-run puppet
  14. Remove the keystone::sync_db: false key from hiera