tripleo-docs/doc/source/install/installation/updating.rst

1.6 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 all OpenStack-related services if upgrading to Ocata or an older release. In Pike and later releases this step is handled by the undercloud upgrade process and should not be done by the user.

    Stable Branch

    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

    Ceph

    If you are using Pike or newer and Ceph was deployed in the overcloud, update ceph-ansible on the undercloud:

    sudo yum -y update ceph-ansible
  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.