Ben Nemec 3c2125c99a Add yum clean all when updating undercloud
As done in Iff559c70e1dc11b01b9e1954ee5170a2b4c7b724

Change-Id: Ic73d9cd3b62c4b12f39eb51d9f4bca051de11971
Closes-Bug: 1663579
2017-02-15 18:13:49 +00:00

1.1 KiB

Updating Undercloud Components

You can upgrade any packages that are installed on the undercloud machine.

  1. Remove all Delorean repositories:

    sudo rm /etc/yum.repos.d/delorean*
  2. Enable new Delorean repositories:

  1. Clean the yum cache to ensure only the new repos are used:

    sudo yum clean all
  2. Stop services so that they are not restarted by packaging scripts when they are updated. The service restarts will be handled by the undercloud upgrade command after new configuration has been applied.:

    sudo systemctl stop openstack-*
    sudo systemctl stop neutron-*
    sudo systemctl stop openvswitch
    sudo systemctl stop httpd
  3. Update the TripleO CLI package:

    sudo yum -y update python-tripleoclient
  4. Run the undercloud upgrade command. This command will upgrade all packages and use puppet to apply new configuration and restart all OpenStack services.:

    openstack undercloud upgrade
  5. Proceed with package_update.