Commit 47905f3
committed
roachprod/roachtest: uniform storage capabilities
Until now, each cloud provider implementation had its own capabilities
with regards to storage options. GCE was the only first class citizen
with the most available options exposed in roachtest.
This patch attempts to bridge the feature parity gap between the cloud
providers (up to what's exposed by each providers), bringing support for
the following options in roachprod and roachtest:
- GCE:
- local SSD
- network disk size
- network disk type (pd-standard, pd-ssd)
- network disk count
- RAID0 or multiple stores
AWS:
- local SSD
- network disk size
- network disk throughput
- network disk IOPS
- NEW: network disk type (gp2, gp3, io1, io2, st1, sc1, standard)
- NEW: network disk count
- NEW: RAID0 or multiple stores
- Azure:
- local SSD
- network disk size
- NEW: network disk IOPS (ultra-disk only)
- NEW: network disk type (standard-ssd, premium-ssd, premium-ssd-v2,
ultra-disk)
- NEW: network disk count
- NEW: RAID0 or multiple stores
- IBM:
- network disk size
- network disk IOPS
- network disk type (general-purpose, 5iops-tier, 10iops-tier, custom)
- network disk count
- RAID0 or multiple stores
This patch also splits the disk setup startup script snippets, with:
- a provider-specific way of detecting the attached disks
- a common logic to mount, format and aggregate the disks
This allows to offer the following filesystems across the board in
roachprod (and roachtest):
- Ext4
- ZFS
- XFS
- F2FS (pending newer kernel for IBM)
- Btrfs
Epic: none
Closes: #123775
Informs: #146661, #113869
Release note: None1 parent 8ff4da1 commit 47905f3
File tree
33 files changed
+1734
-865
lines changed- pkg
- cmd
- roachprod/cli
- roachtest
- roachtestflags
- spec
- tests
- roachprod
- vm
- aws
- testdata
- azure
- testdata
- gce
- testdata
- ibm
- testdata
33 files changed
+1734
-865
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1909 | 1909 | | |
1910 | 1910 | | |
1911 | 1911 | | |
1912 | | - | |
| 1912 | + | |
1913 | 1913 | | |
1914 | 1914 | | |
1915 | 1915 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | | - | |
| 526 | + | |
527 | 527 | | |
528 | 528 | | |
529 | | - | |
| 529 | + | |
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| 78 | + | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
| |||
146 | 149 | | |
147 | 150 | | |
148 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
205 | 203 | | |
206 | 204 | | |
207 | 205 | | |
| 206 | + | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
228 | | - | |
229 | 227 | | |
230 | 228 | | |
231 | 229 | | |
| |||
242 | 240 | | |
243 | 241 | | |
244 | 242 | | |
| 243 | + | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
250 | 249 | | |
251 | | - | |
252 | 250 | | |
253 | 251 | | |
254 | 252 | | |
| |||
319 | 317 | | |
320 | 318 | | |
321 | 319 | | |
322 | | - | |
| 320 | + | |
| 321 | + | |
323 | 322 | | |
324 | 323 | | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
332 | 338 | | |
333 | 339 | | |
334 | 340 | | |
| |||
340 | 346 | | |
341 | 347 | | |
342 | 348 | | |
| 349 | + | |
343 | 350 | | |
344 | 351 | | |
345 | 352 | | |
| |||
389 | 396 | | |
390 | 397 | | |
391 | 398 | | |
392 | | - | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
393 | 408 | | |
394 | 409 | | |
395 | 410 | | |
396 | 411 | | |
397 | 412 | | |
398 | 413 | | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
399 | 424 | | |
400 | 425 | | |
401 | 426 | | |
| |||
405 | 430 | | |
406 | 431 | | |
407 | 432 | | |
408 | | - | |
| 433 | + | |
409 | 434 | | |
410 | 435 | | |
411 | 436 | | |
| |||
424 | 449 | | |
425 | 450 | | |
426 | 451 | | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
| 452 | + | |
| 453 | + | |
437 | 454 | | |
| 455 | + | |
438 | 456 | | |
439 | 457 | | |
440 | 458 | | |
| |||
594 | 612 | | |
595 | 613 | | |
596 | 614 | | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
602 | 623 | | |
| 624 | + | |
603 | 625 | | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
609 | 634 | | |
610 | 635 | | |
611 | 636 | | |
| |||
633 | 658 | | |
634 | 659 | | |
635 | 660 | | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
640 | 665 | | |
641 | 666 | | |
642 | 667 | | |
643 | | - | |
644 | | - | |
| 668 | + | |
| 669 | + | |
645 | 670 | | |
646 | 671 | | |
647 | 672 | | |
648 | | - | |
649 | | - | |
| 673 | + | |
| 674 | + | |
650 | 675 | | |
651 | 676 | | |
652 | | - | |
653 | | - | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
654 | 683 | | |
655 | | - | |
656 | | - | |
| 684 | + | |
| 685 | + | |
657 | 686 | | |
658 | | - | |
659 | | - | |
| 687 | + | |
| 688 | + | |
660 | 689 | | |
661 | 690 | | |
662 | 691 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
0 commit comments