2.2. Extended Update Support (EUS) リポジトリーへの変更
Red Hat OpenStack Platform サブスクリプションには、Red Hat Enterprise Linux 8.2 Extended Update Support (EUS) のリポジトリーが含まれます。EUS リポジトリーには、Red Hat Enterprise Linux 8.2 の最新のセキュリティーパッチおよびバグ修正が含まれています。アップグレードを実行する前に、以下のリポジトリーに切り替えます。
標準のリポジトリー | EUS リポジトリー |
---|---|
rhel-8-for-x86_64-baseos-rpms | rhel-8-for-x86_64-baseos-eus-rpms |
rhel-8-for-x86_64-appstream-rpms | rhel-8-for-x86_64-appstream-eus-rpms |
rhel-8-for-x86_64-highavailability-rpms | rhel-8-for-x86_64-highavailability-eus-rpms |
特定バージョンの Podman との互換性を維持するには、EUS リポジトリーを使用する必要があります。より新しいバージョンの Podman は Red Hat OpenStack Platform の本リリースに対してテストされておらず、予期せぬ結果を招く可能性があります。
手順
-
アンダークラウドに
stack
ユーザーとしてログインします。 stackrc
ファイルを取得します。source ~/stackrc
$ source ~/stackrc
Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
RhsmVars
パラメーターが含まれるオーバークラウドのサブスクリプション管理用環境ファイルを編集します。通常、このファイルのデフォルト名はrhsm.yml
です。 サブスクリプション管理の設定で
rhsm_repos
パラメーターを確認します。このパラメーターに EUS リポジトリーが含まれていない場合は、該当するリポジトリーを EUS バージョンに変更します。Copy to Clipboard Copied! Toggle word wrap Toggle overflow - オーバークラウドのサブスクリプション管理用環境ファイルを保存します。
オーバークラウドの静的なインベントリーファイルを作成します。
tripleo-ansible-inventory --ansible_ssh_user heat-admin --static-yaml-inventory ~/inventory.yaml
$ tripleo-ansible-inventory --ansible_ssh_user heat-admin --static-yaml-inventory ~/inventory.yaml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow デフォルトのオーバークラウド名
overcloud
以外のオーバークラウド名を使用する場合は、--plan
オプションを使用して実際のオーバークラウドの名前を設定します。すべてのノードで、リポジトリーを Red Hat Enterprise Linux 8.2 EUS に設定するタスクが含まれる Playbook を作成します。
Copy to Clipboard Copied! Toggle word wrap Toggle overflow change_eus.yaml
Playbook を実行します。ansible-playbook -i ~/inventory.yaml -f 25 ~/change_eus.yaml --limit <undercloud>,<Controller>,<Compute>
$ ansible-playbook -i ~/inventory.yaml -f 25 ~/change_eus.yaml --limit <undercloud>,<Controller>,<Compute>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
すべての Red Hat OpenStack Platform ノードにコンテンツを適用するには、
--limit
オプションを使用します。<undercloud>
、<Controller>
、<Compute>
を、それらのノードを含む環境内の Ansible グループに置き換えます。 - これらのノードに別のサブスクリプションを使用している場合は、Ceph Storage ノードに対してこの Playbook を実行することはできません。
-
すべての Red Hat OpenStack Platform ノードにコンテンツを適用するには、