Commit ff4218f
committed
Fix swift migration ring push and race condition in data check
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>1 parent 624a414 commit ff4218f
3 files changed
Lines changed: 17 additions & 4 deletions
File tree
- docs_user/modules
- tests/roles/swift_migration/tasks
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | | - | |
16 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
17 | 26 | | |
18 | 27 | | |
19 | 28 | | |
| |||
0 commit comments