Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scylla_cloud_io_setup: add preset configuration for all supported instance types on EC2 #473

Conversation

syuu1228
Copy link
Contributor

Since we merged scylladb/scylladb@817f34d, we are missing preset configuration for c5d, m5d, m5ad, r5d, z1d. On such instance, our AMI causes error during startup (see scylladb/scylladb#9660).
To fix the problem, we need to add preset configuration for these instance types.

…tance types on EC2

Since we merged scylladb/scylladb@817f34d,
we are missing preset configuration for c5d, m5d, m5ad, r5d, z1d.
On such instance, our AMI causes error during startup
(see scylladb/scylladb#9660).
To fix the problem, we need to add preset configuration for these
instance types.
@syuu1228
Copy link
Contributor Author

This patch copied from scylladb/scylladb#9694, since we moved all cloud related code to this repository.

@yaronkaikov yaronkaikov merged commit ecdbd44 into scylladb:next Aug 28, 2023
1 check passed
@mykaul
Copy link

mykaul commented Aug 28, 2023

@syuu1228 - at some point, we should move this code into a Python dictionary, no?

@@ -81,6 +81,172 @@ class aws_io_setup(cloud_io_setup):
self.disk_properties["read_bandwidth"] = 507338935 * nr_disks
self.disk_properties["write_iops"] = 57100 * nr_disks
self.disk_properties["write_bandwidth"] = 483141731 * nr_disks
elif idata.instance_class() in ("m5d", "r5d"):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@syuu1228 it should be self.idata.instance_class() - same for following refs ofc

@benipeled
Copy link
Contributor

@syuu1228 please make sure to verify every change in advanced
In this case, use the machine-image releng-testing pipeline (or byo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants