-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add virt capacity benchmark test #180
Conversation
79662a2
to
e1c8ba7
Compare
8388e87
to
68f1b43
Compare
common.go
Outdated
@@ -70,3 +90,175 @@ func GatherMetadata(wh *workloads.WorkloadHelper, alerting bool) error { | |||
} | |||
return nil | |||
} | |||
|
|||
// GenerateSSHKeyPair generates an SSH key pair and saves them to the specified files | |||
func generateSSHKeyPair(sshKeyPairPath string) (string, string, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this go into go-commons
please? Looks like nice function to be reused across our tooling.
common.go
Outdated
return getVolumeSnapshotClassNameForProvisioner(provisioner) | ||
} | ||
|
||
func virtctlExists() bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the functions in this file seem to be commonly used across all the virtualization portifolio. Can we move all of them to go-commons please?
68f1b43
to
b101dca
Compare
I've updated the code. However, it now depends on changes made in https://github.com/cloud-bulldozer/go-commons/. Once the all changes are merged and the dependency is updated here, this code change will compile successfully |
d512e42
to
b6fd4ac
Compare
- name: create-vms | ||
jobType: create | ||
jobIterations: 1 | ||
qps: 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious why in the first job you have the CNV default of 5/10 for QPS/Burst -- but here and further down you default to 20/20?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH I didn't put too much thought into it. Especially since most of the jobs are pretty small. So, not sure it even matters. Which values would you recommend here?
b6fd4ac
to
5d3ac5a
Compare
@vishnuchalla I've added nobs that allow skipping some checks and setting some values so that the test can pass with the CI cluster. Hopefully the test will pass in the CI as well (along with the checks I've added) |
30c1822
to
801fbe3
Compare
801fbe3
to
704f3a8
Compare
The CI is failing because the |
8550825
to
c6c9941
Compare
Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
c6c9941
to
b744a58
Compare
@vishnuchalla PTAL. I solved the CI issue by changing the script so that it will work also on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Type of change
Description
Run Virtualization with Storage Capacity Benchmark test