VScaler: Upgrade from.an Openstack version to the next one

From Define Wiki
Revision as of 09:13, 1 September 2017 by K mouza (talk | contribs)
Jump to navigation Jump to search

In this instance I upgraded from Ocata to Pike. Here are the steps:

  1. Pull latest master kolla and kolla-ansible git repo
  2. Install them with pip
  3. Remove docker-py and install docker via pip
  4. Do a kolla-build for all the services needed on the new tag
    • don’t forget to build horizon with our custom Dockerfile
  5. Push the new images to the registry
  6. Change the “openstack version” value in the globals file to 5.0.0 (Pike)
  7. Copy the new passwords file from the latest kolla-ansible/etc/kolla dir to /etc/kolla
    • keep the old file!
    • kolla-genpwd to populate the new passwd file
    • then kolla-mergepwd to merge the old and the new one!
  8. Do a kolla-ansible upgrade

Check the versions of the new service to make sure your have upgraded

  1. Go in the nova_conductor container
  2. Run nova-manage --version
  3. Compare your version to the ones that are in the project site https://releases.openstack.org/teams/nova.html