Commit 915f229
authored
[reconfigurator] remove the add-zones-with-mupdate-override planner config (#10462)
While attempting to resolve
#10420, we realized that
the add-zones-with-mupdate-override config simply cannot result in a
blueprint with coherent semantics in some cases.
Concretely, consider the situation where:
* a target release has been set at least twice (so both the old and new
image sources are `Artifact`)
* a mupdate override is present on at least one sled
* there is a missing Nexus zone (which is a discretionary zone)
If this planner config is set, we would attempt to place a Nexus zone on
one of the sleds. What version should it have?
* Currently, this is either the old `Artifact` image source or the new
one.
* If we decide to place the zone on the sled with a mupdate override,
then that produces a blueprint that both blippy and Sled Agent (for that
sled) reject.
* But it would be very strange for the image source of the zone to be
_different_ based on the sled it is put on.
This planner config was not used in practice (documentation for our
support team has no mention of it). I've left the infrastructure to add
new planner configs in place, though -- happy to remove that as well if
y'all feel like that makes sense. (Previously daft would not handle
empty structs properly -- as part of this PR I've fixed that.)
This has no impact on racks that have never have a target release set --
for those racks, the image source is always `InstallDataset` so this is
moot (and pre-existing code handles the "target release generation is
one" case already).
Fixes #10420.1 parent 0454090 commit 915f229
34 files changed
Lines changed: 119 additions & 1245 deletions
File tree
- dev-tools
- omdb
- src/bin/omdb
- nexus
- tests
- reconfigurator-cli
- src
- tests
- input
- output
- docs
- nexus-config/src
- nexus
- db-model/src
- db-queries/src/db/datastore
- db-schema/src
- reconfigurator/planning/src
- types/src
- deployment
- openapi
- schema/crdb
- remove-add-zones-with-mupdate-override
- workspace-hack
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
| 487 | + | |
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
| |||
Lines changed: 1 addition & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
| |||
65 | 62 | | |
66 | 63 | | |
67 | 64 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 65 | + | |
75 | 66 | | |
76 | 67 | | |
77 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
424 | 423 | | |
425 | 424 | | |
426 | 425 | | |
| |||
433 | 432 | | |
434 | 433 | | |
435 | 434 | | |
436 | | - | |
437 | | - | |
| 435 | + | |
438 | 436 | | |
439 | 437 | | |
440 | 438 | | |
441 | 439 | | |
442 | 440 | | |
443 | 441 | | |
444 | 442 | | |
445 | | - | |
446 | | - | |
447 | 443 | | |
448 | 444 | | |
449 | 445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2164 | 2164 | | |
2165 | 2165 | | |
2166 | 2166 | | |
2167 | | - | |
2168 | | - | |
2169 | 2167 | | |
2170 | 2168 | | |
2171 | 2169 | | |
| |||
2245 | 2243 | | |
2246 | 2244 | | |
2247 | 2245 | | |
2248 | | - | |
2249 | | - | |
2250 | | - | |
2251 | | - | |
2252 | | - | |
2253 | | - | |
2254 | | - | |
2255 | | - | |
2256 | | - | |
2257 | | - | |
2258 | | - | |
2259 | | - | |
2260 | | - | |
2261 | | - | |
2262 | | - | |
2263 | 2246 | | |
2264 | 2247 | | |
2265 | 2248 | | |
| |||
2269 | 2252 | | |
2270 | 2253 | | |
2271 | 2254 | | |
2272 | | - | |
| 2255 | + | |
2273 | 2256 | | |
2274 | 2257 | | |
2275 | 2258 | | |
2276 | | - | |
2277 | | - | |
2278 | 2259 | | |
2279 | 2260 | | |
2280 | 2261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | 293 | | |
302 | 294 | | |
303 | 295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
| |||
1554 | 1552 | | |
1555 | 1553 | | |
1556 | 1554 | | |
1557 | | - | |
1558 | | - | |
1559 | 1555 | | |
1560 | 1556 | | |
1561 | 1557 | | |
| |||
1581 | 1577 | | |
1582 | 1578 | | |
1583 | 1579 | | |
1584 | | - | |
1585 | | - | |
1586 | | - | |
1587 | | - | |
1588 | | - | |
1589 | | - | |
1590 | | - | |
1591 | | - | |
1592 | | - | |
1593 | | - | |
1594 | | - | |
1595 | | - | |
1596 | | - | |
1597 | | - | |
1598 | | - | |
1599 | | - | |
1600 | | - | |
1601 | | - | |
1602 | | - | |
1603 | | - | |
1604 | | - | |
1605 | | - | |
1606 | | - | |
1607 | | - | |
1608 | | - | |
1609 | | - | |
1610 | | - | |
1611 | | - | |
1612 | | - | |
1613 | 1580 | | |
1614 | 1581 | | |
1615 | 1582 | | |
| |||
3542 | 3509 | | |
3543 | 3510 | | |
3544 | 3511 | | |
3545 | | - | |
3546 | | - | |
3547 | | - | |
3548 | | - | |
3549 | | - | |
3550 | | - | |
3551 | | - | |
3552 | | - | |
3553 | | - | |
3554 | | - | |
3555 | | - | |
3556 | 3512 | | |
3557 | 3513 | | |
3558 | 3514 | | |
| |||
Lines changed: 0 additions & 48 deletions
This file was deleted.
Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 62 | | |
68 | 63 | | |
69 | 64 | | |
| |||
72 | 67 | | |
73 | 68 | | |
74 | 69 | | |
75 | | - | |
| 70 | + | |
76 | 71 | | |
77 | 72 | | |
78 | 73 | | |
79 | | - | |
| 74 | + | |
80 | 75 | | |
81 | 76 | | |
82 | 77 | | |
83 | | - | |
| 78 | + | |
84 | 79 | | |
85 | 80 | | |
86 | 81 | | |
| |||
90 | 85 | | |
91 | 86 | | |
92 | 87 | | |
93 | | - | |
| 88 | + | |
94 | 89 | | |
95 | 90 | | |
96 | 91 | | |
97 | | - | |
| 92 | + | |
98 | 93 | | |
99 | 94 | | |
100 | 95 | | |
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 13 | | |
18 | 14 | | |
19 | 15 | | |
| |||
0 commit comments