OpenStack packages for RHEL and CentOS¶
Distributions release OpenStack packages as part of the distribution or using other methods because of differing release schedules. Perform these procedures on all nodes (controller, compute, network, dashboard, storage etc. nodes).
警告
この先に進む前に、お使いのディストリビューションの基本インストールパッケージを最新バージョンに更新する必要があります。
警告
The following instructions refer to RDO: a free, community supported distribution of OpenStack for RHEL and CentOS. For the Red Hat-supported Red Hat OpenStack Platform, see here.
According to RDO Packstack documentation, RDO should work on RHEL but is currently only tested on CentOS Stream.
注釈
OpenStack 環境に影響を与える可能性があるため、自動更新サービスを無効化または削除します。
Operating System¶
| OS | Compatible Releases | Maintained Releases | 
|---|---|---|
| CentOS 7 / RHEL 7 | ? to Train | None | 
| CentOS Stream 8 / RHEL 8 | Ussuri to Yoga | None | 
| CentOS Stream 9 / RHEL 9 | Xena and following releases | 2023.2 Bobcat, 2024.1 Caracal (SLURP), 2024.2 Dalmatian | 
前提条件¶
警告
We recommend disabling EPEL when using RDO packages due to updates
in EPEL breaking backwards compatibility. Or, preferably pin package
versions using the dnf versionlock plugin (if unavailable please use dnf install 'dnf-command(versionlock)').
If EPEL is needed, also consider lowering its priority in DNF.
CentOS Stream¶
Enable PowerTools/CRB repository:
# ### CentOS Stream 9 # dnf install dnf-plugins-core # dnf config-manager --set-enabled crb
RHEL¶
- When using RHEL, it is assumed that you have registered your system using Red Hat Subscription Management. For more information on registering a RHEL 9 system, see the Red Hat Enterprise Linux 9 Installation Guide. 
- Enable the required repositories: - # ### RHEL 9 # subscription-manager repos --enable=rhel-9-for-x86_64-baseos-rpms \ --enable=rhel-9-for-x86_64-appstream-rpms \ --enable=rhel-9-for-x86_64-supplementary-rpms 
- Enable CodeReady Linux Builder (CRB) repository: - # ### RHEL 9 # subscription-manager repos --enable=codeready-builder-for-rhel-9-x86_64-rpms 
OpenStack リポジトリーの有効化¶
To choose which OpenStack release to install, check the release page.
CentOS Stream¶
- On CentOS Stream, the - extrasrepository provides the RPM that enables the OpenStack repository. CentOS includes the- extrasrepository by default, so you can simply install the package to enable the OpenStack repository:- # ### CentOS Stream 9 # dnf install centos-release-openstack-<release> # ### So for example # ### 2024.2 Dalmatian # dnf install centos-release-openstack-dalmatian # ### 2024.1 Caracal # dnf install centos-release-openstack-caracal # ### 2023.2 Bobcat # dnf install centos-release-openstack-bobcat 
RHEL¶
- RHEL では、 RDO リポジトリーの RPM をダウンロード、インストールして、OpenStack リポジトリーを有効にします。 - # ### RHEL 9 # dnf install https://trunk.rdoproject.org/rdo_release/rdo-release.el9s.rpm - The RDO repository RPM installs the latest available OpenStack release. 
インストールの最終手順¶
- すべてのノードでパッケージをアップグレードします。 - # dnf upgrade - 注釈 - アップグレードに新しいカーネルが含まれている場合、それを有効にするために、ホストを再起動します。 
- Install the appropriate OpenStack client for your version. - # ### EL9 # dnf install python3-openstackclient 
- RHEL と CentOS はデフォルトで SELinux を有効にします。 - openstack-selinuxパッケージをインストールして、OpenStack サービスのセキュリティーポリシーを自動的に管理します。- # ### EL9 # dnf install openstack-selinux 
Older versions¶
警告
Information here is kept for historical/archival purposes. Includes unmaintained/end of life operating systems and OpenStack releases. Do not follow these instructions.
前提条件¶
RHEL
- When using RHEL, it is assumed that you have registered your system using Red Hat Subscription Management. For more information on registering a RHEL 7 system, see the Red Hat Enterprise Linux 7 System Administrator's Guide For more information on registering a RHEL 8 system, see the Red Hat Enterprise Linux 8 Installation Guide. 
- Enable the required repositories: - # ### RHEL 7 # subscription-manager repos --enable=rhel-7-server-rpms \ --enable=rhel-7-server-optional-rpms \ --enable=rhel-7-server-extras-rpms \ --enable=rhel-7-server-rh-common-rpms # ### RHEL 8 # subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms \ --enable=rhel-8-for-x86_64-appstream-rpms \ --enable=rhel-8-for-x86_64-supplementary-rpms 
- Enable Powertools CodeReady Linux Builder (CRB) repository: - # ### RHEL 8 # subscription-manager repos --enable=codeready-builder-for-rhel-8-x86_64-rpms 
OpenStack リポジトリーの有効化¶
- On CentOS, the - extrasrepository provides the RPM that enables the OpenStack repository. CentOS includes the- extrasrepository by default, so you can simply install the package to enable the OpenStack repository. For CentOS8, you will also need to enable the PowerTools repository.- When installing the Victoria release, run: - # yum install centos-release-openstack-victoria # yum config-manager --set-enabled powertools - When installing the Ussuri release, run: - # yum install centos-release-openstack-ussuri # yum config-manager --set-enabled powertools - When installing the Train release, run: - # yum install centos-release-openstack-train - When installing the Stein release, run: - # yum install centos-release-openstack-stein - When installing the Rocky release, run: - # yum install centos-release-openstack-rocky - When installing the Queens release, run: - # yum install centos-release-openstack-queens - When installing the Pike release, run: - # yum install centos-release-openstack-pike 
