Skip to content

[18.0-fr5] Fix possible race condition in swift_migration check - #1402

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:18.0-fr5from
openshift-cherrypick-robot:cherry-pick-1362-to-18.0-fr5
May 25, 2026
Merged

[18.0-fr5] Fix possible race condition in swift_migration check#1402
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:18.0-fr5from
openshift-cherrypick-robot:cherry-pick-1362-to-18.0-fr5

Conversation

@openshift-cherrypick-robot

Copy link
Copy Markdown

This is an automated cherry-pick of #1362

/assign ciecierski

Updated rings were only pushed to the first controller node, resulting
in a data movement loop: controller 1 pushed data to OpenShift and
removed it locally, while controller 2 and 3 were detecting missing data
on controller 1 (because they were still using old rings) and
replicating back to controller 1.

Update both the docs and the test role to distribute rings to all three
controller nodes and restart Swift services on each.

Also add the -ignore_readdir_race option to the find command that checks
for remaining .data/.db files on the standalone node. The replicator may
remove empty directories while find is iterating, causing spurious
errors.

JIRA: OSPCIX-1318

Signed-off-by: Christian Schwede <cschwede@redhat.com>

@karelyatin karelyatin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@ciecierski

Copy link
Copy Markdown
Contributor

/approve

@openshift-ci

openshift-ci Bot commented May 25, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ciecierski

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot
openshift-merge-bot Bot merged commit f27e2b8 into openstack-k8s-operators:18.0-fr5 May 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants