Chapter 13. Preparing for upgrading with external Ceph deployments
If you are upgrading with external Ceph deployments, you must complete the procedures included in this section.
If your deployment does not use an external Ceph Storage cluster, you must skip the procedures included in this section and continue to the next section.
13.1. Installing ceph-ansible
If you are upgrading with external Ceph deployments, you must complete this procedure.
ceph-ansible package is required when you use Ceph Storage with Red Hat OpenStack Platform.
Enable the Ceph Tools repository:
[stack@director ~]$ sudo subscription-manager repos --enable=rhceph-4-tools-for-rhel-8-x86_64-rpms
[stack@director ~]$ sudo dnf install -y ceph-ansible
13.2. Setting the ceph-ansible repository
The Red Hat OpenStack Platform 16.1 validation framework tests that
ceph-ansible is installed correctly before director upgrades the overcloud to Red Hat Ceph Storage 4. The framework uses the
CephAnsibleRepo parameter to check that you installed
ceph-ansible from the correct repository. Director disables the test after you run the
openstack overcloud upgrade prepare command and this test remains disabled through the duration of the Red Hat OpenStack Platform 16.1 overcloud upgrade. Director re-enables this test after running the
openstack overcloud upgrade converge command. However, to prepare for this validation, you must set the
CephAnsibleRepo parameter to the Red Hat Ceph Storage Tools 4 for RHEL 8 repository.
Log in to the undercloud as the
Edit the environment file that contains your overcloud Ceph Storage configuration. This file is usually named
ceph-config.yamland you can find it in your
$ vi /home/stack/templates/ceph-config.yaml
CephAnsibleRepoparameter to the
parameter_defaults: ... CephAnsibleRepo: rhceph-4-tools-for-rhel-8-x86_64-rpms ...
CephAnsibleReposets the repository that includes
ceph-ansible. The validation framework uses this parameter to check that you have installed
ceph-ansibleon the undercloud.