Upgrades Rook Ceph to version 1.16.6 and its Ceph version to 18.2.5.
Static overrides were adapted to the new Rook Ceph version.
A new upgrade lifecycle is now used to make preparations on the
upgrade process based on currently installed version.
ECblock pools was renamed to be compliant to the upstream new Standard.
This action aims to avoid the need to manually patch ECblock resources
on every subsequent update.
A job that monitors the removal of the CSI pluginholder pods was added.
On rook ceph 1.16, pluginholder pods were deprecated, and, to avoid
draining all nodes on the update process, a job that monitors all PVs
is now deployed. As soon as all PVs are pointing to the updated
CSI provisioner, the holderpods can be safely removed.
The configuration for CSI readAffinity is transfered to the cephcluster
resource when updating from 1.13 to 1.16 to solve the breaking change
introduced on 1.14.
The upgrade from 1.13 is currently not working in the DX platforms yet
due to some floating monitor related issue. This will be covered in
https://review.opendev.org/c/starlingx/app-rook-ceph/+/948487.
Test Plan:
PASS: Update app with ecblock on SX and check update was
successfully without data loss
PASS: Update app with holder pods and check their removal
on ipv4 and ipv6
PASS: Update app with readAffinity option enabled on the previous
version
PASS: Update Ceph minor version to 18.2.5
PASS: Fresh install [SX/DX/DX+/STD]
PASS: Update app from previous version and confirm all
daemons are updated to new ceph/rook version [SX/DX+/STD]
PASS: Ensure proper operation of services:
cephfs, RBD, ecblock, RGW [SX/DX/DX+/STD]
Story: 2011372
Task: 51748
Change-Id: I2684573940ff5bac4709157131c6e6aad9114ade
Signed-off-by: Caio Correa <caio.correa@windriver.com>
Signed-off-by: Ítalo Vieira <italo.gomesvieira@windriver.com>