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

fix disk size SRU in filters of the grid nightly scripts #2874

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

A-Harby
Copy link
Contributor

@A-Harby A-Harby commented Jun 5, 2024

Description

small fix in the SRU filter in the nightly test.

I tested it and test passed on dev https://github.com/threefoldtech/tfgrid-sdk-ts/actions/runs/9371629473/job/25801291189.

Related Issues

#2750

Documentation PR

For UI changes, Please provide the Documetation PR on info_grid

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings
  • Screenshots/Video attached (needed for UI changes)

@@ -30,7 +30,7 @@ async function main() {
const vmQueryOptions: FilterOptions = {
cru: 1,
mru: 1, // GB
sru: 1,
sru: 5,
Copy link
Contributor

Choose a reason for hiding this comment

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

the rootfs is 0 and nothing is added for it, but zos will calculate it based on cpu and memory with a max of 2 GB. So as a guard, add 2 GB for the rootfs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added an extra 2 GB for every script in the grid nightly to cover cases of rootfs.

@A-Harby A-Harby merged commit 382e944 into development Jun 6, 2024
2 checks passed
@A-Harby A-Harby deleted the fix_scripts_filters_disk_size branch June 24, 2024 14:22
@xmonader xmonader added this to the 2.6.0 milestone Sep 24, 2024
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.

5 participants