Repository navigation
Commit 979b82a
fix: Set FIPS cipher suites before pyarrow.flight import to prevent crash on IBM Power
RHOAIENG-78595
# What this PR does / why we need it:
The Feast offline container crashes in CrashLoopBackOff on FIPS-enabled
OpenShift clusters running IBM Power (ppc64le). The existing FIPS cipher
suite fix (RHOAIENG-70153) set GRPC_SSL_CIPHER_SUITES in `start_server()`,
but pyarrow.flight was already imported at module level. On IBM Power, gRPC
reads this env var during shared-library initialization, so the late
configuration had no effect.
This fix moves the FIPS cipher configuration to module level — before the
pyarrow.flight import — so the env var is present when gRPC initializes its
SSL context. The `_configure_grpc_fips()` call in `start_server()` is
retained as a safety net.
# Which issue(s) this PR fixes:
Fixes RHOAIENG-78595
# Checks
- [x] I've made sure the tests are passing.
- [x] My PR title follows conventional commits format
## Testing Strategy
- [x] Unit tests
Assisted-by: Claude claude-opus-4-6 <[email protected]>
Signed-off-by: aipcc-bot <[email protected]>
Signed-off-by: Jitendra Yejare <[email protected]>1 parent 62db435 commit 979b82a
2 files changed
Lines changed: 65 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 10 | | |
42 | 11 | | |
43 | 12 | | |
| |||
55 | 24 | | |
56 | 25 | | |
57 | 26 | | |
58 | | - | |
59 | 27 | | |
60 | 28 | | |
61 | 29 | | |
62 | 30 | | |
63 | 31 | | |
64 | 32 | | |
65 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
66 | 79 | | |
67 | 80 | | |
68 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
0 commit comments