openstack-helm-infra/ceph-adapter-rook
Stephen Taylor 2fd438b4b1 Update Ceph images to patched 18.2.2 and restore debian-reef repo
This change updates the Ceph images to 18.2.2 images patched with a
fix for https://tracker.ceph.com/issues/63684. It also reverts the
package repository in the deployment scripts to use the debian-reef
directory on download.ceph.com instead of debian-18.2.1. The issue
with the repo that prompted the previous change to debian-18.2.1
has been resolved and the more generic debian-reef directory may
now be used again.

Change-Id: I85be0cfa73f752019fc3689887dbfd36cec3f6b2
2024-03-12 13:45:42 -06:00
..
templates Add ceph-adapter-rook chart 2023-12-05 14:27:57 -06:00
Chart.yaml Update Ceph images to patched 18.2.2 and restore debian-reef repo 2024-03-12 13:45:42 -06:00
README.md Add ceph-adapter-rook chart 2023-12-05 14:27:57 -06:00
requirements.yaml Add ceph-adapter-rook chart 2023-12-05 14:27:57 -06:00
values.yaml Update Ceph images to patched 18.2.2 and restore debian-reef repo 2024-03-12 13:45:42 -06:00

Summary

This is the minimal set of templates necessary to make the rest of Openstack-Helm charts work with Ceph clusters managed by the Rook operator. Rook operator not only deploys Ceph clusters but also provides convenience when interfacing with those clusters via CRDs which can be used for managing pools/keys/users etc. However Openstack-Helm charts do not utilize Rook CRDs but instead manage Ceph assets like pools/keyrings/users/buckets etc. by means of running bootstrap scripts. Before using Openstack-Helm charts we have to provision a minimal set of assets like Ceph admin keys and endpoints and this chart provides exactly this minimal set of templates.

Usage

Deploy Ceph admin key and Ceph mon endpoint in the namespace where Ceph cluster is deployed.

tee > /tmp/ceph-adapter-rook-ceph.yaml <<EOF
manifests:
  configmap_bin: true
  configmap_templates: true
  configmap_etc: false
  job_storage_admin_keys: true
  job_namespace_client_key: false
  job_namespace_client_ceph_config: false
  service_mon_discovery: true
EOF

helm upgrade --install ceph-adapter-rook ./ceph-adapter-rook \
  --namespace=ceph \
  --values=/tmp/ceph-adapter-ceph.yaml

Now wait until all jobs are finished and deploy client key and client configuration in the namespace where Openstack charts are going to be deployed.

tee > /tmp/ceph-adapter-rook-openstack.yaml <<EOF manifests: configmap_bin: true configmap_templates: false configmap_etc: true job_storage_admin_keys: false job_namespace_client_key: true job_namespace_client_ceph_config: true service_mon_discovery: false EOF

helm upgrade --install ceph-adapter-rook ./ceph-adapter-rook
--namespace=openstack
--values=/tmp/ceph-adapter-rook-openstack.yaml


Again wait until all jobs are finished and then you can deploy other Openstack-Helm charts.