sbr-operator: clear Ceph blocklist before waiting for victim agent re… #127
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.37) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 214 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.321
Real PR Conversation Timeline
1 comments
"Review active on #127"
general
weight: 0.35
razo7
RanWurmbrand
Clear the Ceph blocklist before waiting for the victim's agent to recover
Problem
When SBR fences a node, ODF adds a Ceph OSD blocklist range for that node's IP while the out-of-service taint is on. It doesn't always remove the entry after the taint comes off (DFBUGS-11731). The rebooted node then can't map its RBD volume (
rados: ret=-108, Cannot send after transport endpoint shutdown), so its SBR agent pod never becomes Ready. The fence geometry, node hang and split-brain specs time out waiting for it.Seen in
periodic-ci-openshift-rhwa-system-tests-main-5.0-konflux-e2e-sbr-daily-aws-odfrun 2119596129816416256: the100.64.0.6/32blocklist range was still present 10 minutes after the taint was removed.Fix
In those three specs, call
clearCephOSDBlocklist()once the out-of-service taint is gone and before waiting for the victim's agent pod to be Ready. Every assertion about SBR behavior has already run by that point, so this does by hand only what ODF should have done.Follow-up
This forced cleanup works around RHWA-1971 (SBR does not return to
SBRStorageUnhealthy=Falseonce its Ceph traffic is restored). Remove the mid-testclearCephOSDBlocklist()calls once RHWA-1971 is fixed.Testing
go buildandgo vetpass.