tripleo-docs/deploy-guide/source/repositories.rst
Amy Marrich (spotz) 0c2b6afce9 Update Repositories and Python3 support
Changed warning to note in regards to Python3 support

Added Train and Ussuri repos

Reordered releases from newest to oldest

Change-Id: Idd7601d59bd48785f767f2d4afb4ec18b6a9c7fc
2020-08-21 12:36:30 +00:00

164 lines
4.3 KiB
ReStructuredText

.. This should be changed to something more user-friendly like http://tripleo.org/tripleo-repos.rpm
.. note::
Python3 is required for Ussuri and newer releases of OpenStack which is supported on RHEL 8
and CentOS 8. Train is also recommended to be installed on RHEL 8 or CentOS 8. Earlier versions
should be installed on RHEL 7 or CentOS 7 which support Python2.7.
#. Download and install the python-tripleo-repos RPM from
the appropriate RDO repository
.. admonition:: CentOS 7
:class: centos7
Current `Centos 7 RDO repository <https://trunk.rdoproject.org/centos7/current/>`_
.. code-block:: bash
sudo yum install -y https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-<version>.el7.centos.noarch.rpm
.. admonition:: CentOS 8
:class: centos8
Current `Centos 8 RDO repository <https://trunk.rdoproject.org/centos8/component/tripleo/current/>`_.
.. code-block:: bash
sudo dnf install -y https://trunk.rdoproject.org/centos8/component/tripleo/current/python3-tripleo-repos-<version>.el8.noarch.rpm
.. note::
tripleo-repos removes any repositories that it manages before each run.
This means all repositories must be specified in a single tripleo-repos
call. As an example, the correct way to install the current and ceph repos
is to run ``tripleo-repos current ceph``, not two separate calls.
.. admonition:: Stable Branch
:class: stable
Enable the appropriate repos for the desired release, as indicated below.
Do not enable any other repos not explicitly marked for that release.
.. admonition:: Ussuri
:class: ussuri ttou
Enable the current Ussuri repositories
.. code-block:: bash
sudo -E tripleo-repos -b ussuri current
.. admonition:: Ceph
:class: ceph
Include the Ceph repo in the tripleo-repos call
.. code-block:: bash
sudo -E tripleo-repos -b ussuri current ceph
.. admonition:: Train
:class: train stot
Enable the current Train repositories
.. code-block:: bash
sudo -E tripleo-repos -b train current
.. admonition:: Ceph
:class: ceph
Include the Ceph repo in the tripleo-repos call
.. code-block:: bash
sudo -E tripleo-repos -b train current ceph
.. admonition:: Stein
:class: stein rtos
Enable the current Stein repositories
.. code-block:: bash
sudo -E tripleo-repos -b stein current
.. admonition:: Ceph
:class: ceph
Include the Ceph repo in the tripleo-repos call
.. code-block:: bash
sudo -E tripleo-repos -b stein current ceph
.. admonition:: Rocky
:class: rocky qtor
Enable the current Rocky repositories
.. code-block:: bash
sudo -E tripleo-repos -b rocky current
.. admonition:: Ceph
:class: ceph
Include the Ceph repo in the tripleo-repos call
.. code-block:: bash
sudo -E tripleo-repos -b rocky current ceph
.. admonition:: Queens
:class: queens ptoq
Enable the current Queens repositories
.. code-block:: bash
sudo -E tripleo-repos -b queens current
.. admonition:: Ceph
:class: ceph
Include the Ceph repo in the tripleo-repos call
.. code-block:: bash
sudo -E tripleo-repos -b queens current ceph
.. admonition:: Pike
:class: pike otop
Enable the current Pike repositories
.. code-block:: bash
sudo -E tripleo-repos -b pike current
.. admonition:: Ceph
:class: ceph
Include the Ceph repo in the tripleo-repos call
.. code-block:: bash
sudo -E tripleo-repos -b pike current ceph
.. warning::
The remaining repositories configuration steps below should not be done for
stable releases!
2. Run tripleo-repos to install the appropriate repositories. The option below
will enable the latest master TripleO packages, the latest promoted
packages for all other OpenStack services and dependencies and the latest
stable Ceph packages. There are other repository configurations available in
tripleo-repos, see its ``--help`` output for details.
.. code-block:: bash
sudo -E tripleo-repos current-tripleo-dev ceph