$ ceph osd pool create images_data erasure
$ ceph osd pool create images_meta replicated
$ ceph osd pool set images_data allow_ec_overwrites trueNote: allow_ec_overwrites is required and must be set in Ceph.
This document outlines the hotfix process for an OpenStack service deployed on OpenShift. The procedure assumes the following:
This guide outlines how to set up an external Ceph cluster using the ROOK operator in a CRC (CodeReady Containers) or SNO (Single Node OpenShift) environment. The instructions assume you're using the install_yamls project and openstack-ceph scripts for development tools.
The setup involves 2 nodes:
crc environment that can be replaced by a SNO| #!/bin/bash | |
| set -x | |
| REF_REPO="glance-operator" | |
| PR_NUMBER="329" | |
| DEPENDS_ON=$(curl -s -X GET -H \ | |
| -H "Accept: application/vnd.github+json" \ | |
| -H "X-GitHub-Api-Version: 2022-11-28" \ |
| #!/bin/bash | |
| TIME=5 | |
| STORAGE_NETWORK=${STORAGE_NETWORK:-"172.17.3.0/24"} | |
| cat <<EOF>rgw_spec | |
| --- | |
| service_type: rgw | |
| service_id: rgw | |
| service_name: rgw.rgw |
| [[local|localrc]] | |
| ADMIN_PASSWORD=secret | |
| ######## | |
| # CEPH # | |
| ######## | |
| CEPH_GIT_URL=https://review.opendev.org/openstack/devstack-plugin-ceph | |
| enable_plugin devstack-plugin-ceph $CEPH_GIT_URL |
| ## OLM PATTERN | |
| Prereq: | |
| * Login to quay.io | |
| * Export USER and IMG | |
| e.g. | |
| > env | grep USE |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # All Vagrant configuration is done below. The "2" in Vagrant.configure | |
| # configures the configuration version (we support older styles for | |
| # backwards compatibility). Please don't change it unless you know what | |
| # you're doing. | |
| $tripleo_standalone = <<-'SCRIPT' | |
| set -euxo pipefail |