56 lines
1.6 KiB
ReStructuredText
56 lines
1.6 KiB
ReStructuredText
Updating Undercloud Components
|
|
------------------------------
|
|
|
|
You can upgrade any packages that are installed on the undercloud machine.
|
|
|
|
#. Remove all Delorean repositories::
|
|
|
|
sudo rm /etc/yum.repos.d/delorean*
|
|
|
|
#. Enable new Delorean repositories:
|
|
|
|
.. include:: ../repositories.txt
|
|
|
|
.. We need to manually continue our list numbering here since the above
|
|
"include" directive breaks the numbering.
|
|
|
|
3. Clean the yum cache to ensure only the new repos are used::
|
|
|
|
sudo yum clean all
|
|
|
|
#. 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.
|
|
|
|
.. admonition:: Stable Branch
|
|
:class: stable
|
|
|
|
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
|
|
|
|
#. Update the TripleO CLI package::
|
|
|
|
sudo yum -y update python-tripleoclient
|
|
|
|
.. admonition:: Ceph
|
|
:class: 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
|
|
|
|
#. 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
|
|
|
|
#. Proceed with :ref:`package_update`.
|