Versions Compared

Key

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

...

  • Run nova-manage db online_data_migrations on an API node. Ensure that it reports that nothing more needs to be done.
  • Convert all tables in the mysql-database to the row-format "DYNAMIC" if the databases was created before maria 10.2
    • Use the following code-snippet to create the relevant mysql-statements:

      Code Block
      for table in `mysql --batch --skip-column-names --execute="SELECT CONCAT(TABLE_SCHEMA, '.', TABLE_NAME) FROM information_schema.TABLES WHERE ENGINE = 'InnoDB' AND ROW_FORMAT IN('Redundant', 'Compact') AND TABLE_NAME NOT IN('SYS_DATAFILES', 'SYS_FOREIGN', 'SYS_FOREIGN_COLS', 'SYS_TABLESPACES', 'SYS_VIRTUAL', 'SYS_ZIP_DICT', 'SYS_ZIP_DICT_COLS');"`; do echo "ALTER TABLE ${table} ROW_FORMAT=DYNAMIC;";done;


...

When all APIs etc. are upgraded, it is time to do the same on the compute-nodes. Compute nodes are simple to upgrade:

  1. Fix apt-pin for libc-hack :S
  2. Run puppet with the train modules/tags
  3. Run export DEBIAN_FRONTEND=noninteractive; apt-get purge python-cinderclient && apt -y dist-upgrade && apt-get autoremove
  4. Run puppet again
  5. Restart openstack services and openvswitch-services
    1. No downtime: systemctl restart nova-compute.service neutron-openvswitch-agent.service
    2. At a later point: reboot (smile)

GPU-nodes

  1. Run puppet with the train modules/tags
  2. Run yum upgrade && yum autoremove
  3. Run puppet again
  4. Restart openstack services and openvswitch-services

...