이 콘텐츠는 선택한 언어로 제공되지 않습니다.
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:
- Upgrade the Red Hat Ceph Storage cluster from Release 4 to Release 5.
- Upgrade your RHOSP deployment from Release 16.2 to Release 17.1.
- 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:
- Upgrade your RHOSP deployment from Release 16.2 to Release 17.1.
- 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
-
Log in to the undercloud host as the
stackuser. Source the
stackrcundercloud credentials file:source ~/stackrc
$ source ~/stackrcCopy to Clipboard Copied! Toggle word wrap Toggle overflow If you included the
environments/ceph-ansible/ceph-ansible-external.yamlfile in the following commands, you must replace the file with theenvironments/external-ceph.yamlfile.-
openstack overcloud upgrade prepare openstack overcloud deployFor example, replace
openstack overcloud deploy
$ openstack overcloud deploy ... -e environments/ceph-ansible/ceph-ansible-external.yaml ...Copy to Clipboard Copied! Toggle word wrap Toggle overflow with
openstack overcloud deploy
$ openstack overcloud deploy ... -e environments/external-ceph.yaml ...Copy to Clipboard Copied! Toggle word wrap Toggle overflow
-
Create a file called
ceph_params.yamland include the following content:Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
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.NoteIf your Red Hat Ceph Storage deployment includes short names, you must set the
CephSpecFqdnparameter 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.
-
Replace
Include the
ceph_params.yamlfile in the overcloud deployment command:openstack overcloud deploy \ ...
$ openstack overcloud deploy \ ... -e ~/environments/ceph_params.yaml \Copy to Clipboard Copied! Toggle word wrap Toggle overflow ImportantDo not remove the
ceph_params.yamlfile after the RHOSP upgrade is complete. This file must be present in external Red Hat Ceph Storage environments. Additionally, any time you runopenstack overcloud deploy, you must include theceph_params.yamlfile, 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.