Commit b459782
fix(dispatcher): match nodes by original LINSTOR name
The k8s metadata.Name on a Node CRD may have been slugified at write
time when the LINSTOR name doesn't satisfy RFC 1123. The dispatcher
compared target.Spec.NodeName (original LINSTOR-side string) against
nodes[i].Name (slug), which silently produced "no SatelliteEndpoint"
errors for non-RFC1123 nodes. Match against k8s.OriginalName so the
slug is transparent to the dispatch path.
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>1 parent 3c8907b commit b459782
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
122 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
123 | 127 | | |
124 | 128 | | |
125 | | - | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
| |||
0 commit comments