Skip to content

Commit c099691

Browse files
committed
Adding README for ceph deployment role
1 parent 0f82f74 commit c099691

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ nova_migration_key: ~/.ssh/nova_migration # Nova migration SSH key
7979

8080
2. **Configure variables**:
8181
```bash
82+
cp ansible/group_vars/all.sample.yml ansible/group_vars/all.yml
8283
vim ansible/group_vars/all.yml
8384
```
8485

@@ -127,6 +128,49 @@ After successful deployment, the installer automatically:
127128
2. **Validates Hypervisors**: Lists available hypervisors to confirm successful deployment
128129
3. **Provides Status**: Displays deployment status and service availability
129130

131+
## Deploy Ceph
132+
133+
JetBrew supports deploying an external Ceph cluster that can be integrated with RHOSO for block storage (Cinder), image storage (Glance), and VM disk storage (Nova). The Ceph deployment is performed separately from the main RHOSO deployment.
134+
135+
### Prerequisites
136+
137+
Before deploying Ceph, ensure:
138+
- **Sufficient Nodes**: You have enough nodes available.
139+
- **Registry Access**: Access to Red Hat registry (`registry.redhat.io`) with valid credentials.
140+
- **rhos release rpm**: Make sure You have Redhat openstack rpm.
141+
142+
### Configuration
143+
144+
#### Required Variables
145+
146+
Edit the `ansible/group_vars/all.yml` file and configure the following mandatory variables:
147+
148+
```yaml
149+
# External ceph deploy vars
150+
ceph_node_count: 3
151+
ansible_ssh_password: "{{ ssh_password }}"
152+
153+
rhos_release_rpm:
154+
ceph_version: "7.1"
155+
156+
# Registry credentials used by external ceph
157+
registry_url: "registry.redhat.io"
158+
registry_username:
159+
registry_password:
160+
```
161+
- `ceph_node_count` Number of nodes assigned for the Ceph cluster.
162+
- `ansible_ssh_password` Defaults to `ssh_password` if already defined, or can be explicitly set here.
163+
- `rhos_release_rpm` Path or URL to the RHOS release RPM.
164+
- `ceph_version` Desired Ceph version to deploy.
165+
- `registry_url` Registry URL where Ceph images are hosted.
166+
- `registry_username` Username for registry authentication.
167+
- `registry_password` Password for registry authentication.
168+
169+
#### Run Ceph ansible playbook
170+
```bash
171+
ansible-playbook ansible/deploy_external_ceph.yaml
172+
```
173+
130174
## RHOSO Deletion
131175

132176
To remove **any** OpenStack resources from your cluster (regardless of deployment tool), use the RHOSO deletion playbook:

0 commit comments

Comments
 (0)