Skip to content

Commit aa72ea6

Browse files
stuggiclaude
andcommitted
Reorganize backup/restore documentation structure
- Rename backup-restore-stateless.md to backup-restore-ctlplane.md for consistency with other backup/restore docs - Update all references to the renamed file across documentation - Remove building-test-catalog-for-upgrades.md (unrelated to backup/restore) - Remove restore-openstack-ctlplane.sh (replaced by playbook) - Add README.md to provide overview and quick start guide - Add backup-restore-pvc.md documentation Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent cc0d52d commit aa72ea6

5 files changed

Lines changed: 985 additions & 911 deletions

File tree

‎docs/dev/README.md‎

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# OpenStack Operator Backup and Restore Documentation
2+
3+
This directory contains documentation for backing up and restoring OpenStack deployments on Kubernetes/OpenShift.
4+
5+
## Quick Start
6+
7+
For a complete OpenStack backup and restore:
8+
9+
1. **[Backup ControlPlane](backup-restore-ctlplane.md)** - OpenStackControlPlane CR, secrets, configmaps
10+
2. **[Backup DataPlane](backup-restore-dataplane.md)** - Compute nodes and network configuration
11+
12+
## Core Backup/Restore Procedures
13+
14+
| Document | Description |
15+
|----------|-------------|
16+
| [backup-restore-ctlplane.md](backup-restore-ctlplane.md) | **ControlPlane** backup/restore - OpenStackControlPlane CR, secrets, configmaps |
17+
| [backup-restore-dataplane.md](backup-restore-dataplane.md) | **DataPlane** backup/restore - Compute nodes (NodeSets), network configuration (NetConfig), IP allocations |
18+
19+
## Ansible Playbooks
20+
21+
| Playbook | Description |
22+
|----------|-------------|
23+
| [backup-openstack-ctlplane.yaml](backup-openstack-ctlplane.yaml) | Ansible playbook to backup ControlPlane resources |
24+
| [backup-openstack-dataplane.yaml](backup-openstack-dataplane.yaml) | Ansible playbook to backup DataPlane resources |
25+
| [restore-openstack-ctlplane.yaml](restore-openstack-ctlplane.yaml) | Ansible playbook to restore ControlPlane resources |
26+
| [restore-openstack-dataplane.yaml](restore-openstack-dataplane.yaml) | Ansible playbook to restore DataPlane resources |
27+
28+
## Backup/Restore Workflow
29+
30+
### Full Backup Procedure
31+
32+
```bash
33+
# 1. Backup ControlPlane (OpenStackControlPlane CR, secrets, configmaps)
34+
ansible-playbook backup-openstack-ctlplane.yaml
35+
36+
# 2. Backup DataPlane (NodeSets, NetConfig, IP allocations)
37+
ansible-playbook backup-openstack-dataplane.yaml
38+
```
39+
40+
### Full Restore Procedure
41+
42+
```bash
43+
# 1. Ensure operators are installed in target cluster
44+
45+
# 2. Restore ControlPlane (OpenStackControlPlane CR, secrets, configmaps)
46+
ansible-playbook restore-openstack-ctlplane.yaml
47+
48+
# 3. Restore DataPlane (NodeSets, NetConfig, IP allocations)
49+
ansible-playbook restore-openstack-dataplane.yaml
50+
```
51+
52+
## Key Concepts
53+
54+
### ControlPlane vs DataPlane
55+
56+
- **ControlPlane**: Stateless OpenStack services running in containers (Keystone, Nova API, Neutron API, etc.), along with infrastructure services (MariaDB, RabbitMQ, OVN)
57+
- **DataPlane**: Compute nodes and edge services (Nova Compute, OVN agents, etc.) running on baremetal or VMs
58+
59+
### Backup Scope
60+
61+
| Component | What's Backed Up | What's NOT Backed Up |
62+
|-----------|------------------|---------------------|
63+
| ControlPlane | OpenStackControlPlane CR, Secrets, ConfigMaps | Individual service CRs (recreated by controller), Running pods |
64+
| DataPlane | NodeSets, Services, NetConfig, IP allocations | Deployment history (ephemeral) |
65+
66+
### Restore Order
67+
68+
The restore order is important due to dependencies:
69+
70+
1. **ControlPlane** - Provides operators, secrets, configmaps
71+
2. **DataPlane** - Requires ControlPlane prerequisites (operators running, secrets/configmaps existing)
72+
73+
## Limitations and Known Issues
74+
75+
### DataPlane Deployment History
76+
77+
When restoring DataPlane, the OpenStackDataPlaneDeployment history is lost. NodeSets will show:
78+
79+
```
80+
STATUS: False
81+
MESSAGE: NodeSet setup ready, waiting for OpenStackDataPlaneDeployment...
82+
```
83+
84+
This is a **safe state** - the actual dataplane nodes are running correctly; only the Kubernetes CR status shows waiting. See [backup-restore-dataplane.md](backup-restore-dataplane.md#deployment-history-lost-after-restore) for details and potential solutions.
85+
86+
### Pre-Provisioned Nodes Only
87+
88+
The current DataPlane backup/restore procedure is designed for **NodeSets with `preProvisioned: true`**. For nodes provisioned via OpenStackBaremetalSet and Metal3, additional procedures are required.
File renamed without changes.

0 commit comments

Comments
 (0)