release-25.2: roachprod/roachtest: uniform storage capabilities#158809
release-25.2: roachprod/roachtest: uniform storage capabilities#158809golgeek merged 2 commits intocockroachdb:release-25.2from
Conversation
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: cockroachdb#123775
Informs: cockroachdb#146661, cockroachdb#113869
Release note: None
Prior to this patch, the supported machine families in GCE was partial. Only t2a was considered ARM64, and local SSD was only supported for n1 and n2 families. This patch brings machine family parsing and capabilities deduction for all machine types available in GCE as of today. Epic: none Release note: None
|
Thanks for opening a backport. Before merging, please confirm that it falls into one of the following categories (select one):
Add a brief release justification to the PR description explaining your selection. Also, confirm that the change does not break backward compatibility and complies with all aspects of the backport policy. All backports must be reviewed by the TL and EM for the owning area. |
|
Your pull request contains more than 1000 changes. It is strongly encouraged to split big PRs into smaller chunks. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
|
✅ PR #158809 is compliant with backport policy Confidence: high 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
|
TFTRs! |
Backport 2/2 commits from #156821.
/cc @cockroachdb/release
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:
ultra-disk)
This patch also splits the disk setup startup script snippets, with:
This allows to offer the following filesystems across the board in roachprod (and roachtest):
Epic: none
Closes: #123775
Informs: #146661, #113869
Release note: None
Release justification: Test only change