From bdd6b687a131eae1e95647fa964e1667f085f7a1 Mon Sep 17 00:00:00 2001 From: Christian Schwede Date: Fri, 17 Apr 2026 13:10:08 +0200 Subject: [PATCH] Use combined swift-conversion service for rolling node conversion Combines the tripleo-cleanup and swift services in a single swift-conversion service. By using "serial: 1" Swift storage servers are stopped only on a single node at a time. This way there is no service interruption when using three replicas (default) - two storage nodes will be always available. JIRA: OSPRH-28625 Signed-off-by: Christian Schwede --- .../proc_converting-object-storage-nodes.adoc | 42 ++++++++++++++----- .../roles/swift_conversion/defaults/main.yaml | 3 +- tests/roles/swift_conversion/tasks/main.yaml | 36 ++++++++++++++++ 3 files changed, 68 insertions(+), 13 deletions(-) diff --git a/docs_user/modules/proc_converting-object-storage-nodes.adoc b/docs_user/modules/proc_converting-object-storage-nodes.adoc index 5b7f2f1bb..8dbf65cde 100644 --- a/docs_user/modules/proc_converting-object-storage-nodes.adoc +++ b/docs_user/modules/proc_converting-object-storage-nodes.adoc @@ -19,11 +19,9 @@ Pre-provisioned nodes:: Setting `preProvisioned: true` in the Existing disk mounts are untouched. The `SwiftRawDisks` parameter from {OpenStackPreviousInstaller} is not migrated or converted. Disks on converted nodes must be managed manually. -Rolling conversion with multiple node sets:: In production, do not convert - all {object_storage} nodes at once. Instead, create separate - `OpenStackDataPlaneNodeSet` custom resources and deploy them sequentially. Align - groups with ring zones or regions so that no more than one replica of any - partition is affected during the conversion. +Rolling conversion:: The `swift-conversion` service uses `serial: 1` by + default, which converts one node at a time to keep the {object_storage} + available. .Prerequisites @@ -89,18 +87,41 @@ $ oc patch openstackcontrolplane openstack --type=merge --patch-file=swift-confi ---- . Create a `OpenStackDataPlaneService` CR to remove remaining - {OpenStackPreviousInstaller} artifacts, such as containers, `systemd` units, and - configuration, from the node: + {OpenStackPreviousInstaller} artifacts and deploy the {object_storage} services + on the node: + ---- $ oc apply -f - <