이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 6. Upgrading with external Ceph deployments


If your Red Hat OpenStack Platform (RHOSP) deployment uses an externally deployed Red Hat Ceph Storage cluster, you might need to upgrade your Red Hat Ceph Storage cluster before continuing with your RHOSP upgrade.

If your Red Hat Ceph Storage cluster is currently on Release 4, perform the following tasks:

  1. Upgrade the Red Hat Ceph Storage cluster from Release 4 to Release 5.
  2. Upgrade your RHOSP deployment from Release 16.2 to Release 17.1.
  3. Upgrade the Red Hat Ceph Storage cluster from Release 5 to Release 6.

If your Red Hat Ceph Storage cluster is currently on Release 5, perform the following tasks:

  1. Upgrade your RHOSP deployment from Release 16.2 to Release 17.1.
  2. Upgrade the Red Hat Ceph Storage cluster from Release 5 to Release 6.

For more information about upgrading your Red Hat Ceph Storage cluster, see the following guides:

After you upgrade your Red Hat Ceph Storage cluster, you must migrate from the ceph-ansible ceph-client role to the tripleo-ansible tripleo_ceph_client role.

6.1. Updating Ceph Client configuration for RHOSP 17.1

Before Red Hat OpenStack Platform (RHOSP) 17.1, for external Red Hat Ceph Storage environments, OpenStack Ceph Clients were configured by the ceph-ansible ceph-client role. In RHOSP 17.1, OpenStack Ceph Clients are configured by the tripleo-ansible tripleo_ceph_client role. Before you run the overcloud upgrade in Performing the overcloud adoption and preparation, you must replace the tripleo-heat-templates environment file that is used to configure the OpenStack services with an external Ceph cluster.

Procedure

  1. Log in to the undercloud host as the stack user.
  2. Source the stackrc undercloud credentials file:

    $ source ~/stackrc
    Copy to Clipboard Toggle word wrap
  3. If you included the environments/ceph-ansible/ceph-ansible-external.yaml file in the following commands, you must replace the file with the environments/external-ceph.yaml file.

    • openstack overcloud upgrade prepare
    • openstack overcloud deploy

      For example, replace

      $ openstack overcloud deploy
      ...
      -e environments/ceph-ansible/ceph-ansible-external.yaml
      ...
      Copy to Clipboard Toggle word wrap

      with

      $ openstack overcloud deploy
      ...
      -e environments/external-ceph.yaml
      ...
      Copy to Clipboard Toggle word wrap
  4. Create a file called ceph_params.yaml and include the following content:

    parameter_defaults:
      CephClusterFSID: <fsid>
      CephClientKey: <key>
      CephExternalMonHost: <mon ip addresses>
      CephSpecFqdn: <true/false>
      CephConfigPath: "/etc/ceph"
      DeployedCeph: false
      GrafanaPlugins: []
    Copy to Clipboard Toggle word wrap
    • Replace <fsid> with the UUID of your Red Hat Ceph Storage cluster.
    • Replace <key> with your Ceph client key.
    • Replace <mon ip addresses> with a list of your Ceph Mon Host IPs.
    • Replace <true/false> with the value that applies to your environment.

      Note

      If your Red Hat Ceph Storage deployment includes short names, you must set the CephSpecFqdn parameter to false. If set to true, the inventory generates with both the short names and domain names, causing the Red Hat Ceph Storage upgrade to fail.

  5. Include the ceph_params.yaml file in the overcloud deployment command:

    $ openstack overcloud deploy \
    ...
    -e ~/environments/ceph_params.yaml \
    Copy to Clipboard Toggle word wrap
    Important

    Do not remove the ceph_params.yaml file after the RHOSP upgrade is complete. This file must be present in external Red Hat Ceph Storage environments. Additionally, any time you run openstack overcloud deploy, you must include the ceph_params.yaml file, for example, -e ceph_params.yaml.

Next steps

You include the ceph_params.yaml file in the overcloud upgrade preparation script that you create when you perform the overcloud adoption and preparation procedure. For more information, see Performing the overcloud adoption and preparation.

맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat