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

storage: Expose Stratis virtual filesystem sizes #20611

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mvollmer
Copy link
Member

@mvollmer mvollmer commented Jun 17, 2024

Instead of the "Managed filesystem sizes" concept. This makes Cockpit
easier to discover when you know the real Stratis concepts and exposes
its full capabilities.

Demo: https://youtu.be/E1zqhAowus8
Longer exploration: https://youtu.be/1W6QPNPwT7Q

@mvollmer mvollmer added the blocked Don't land until something else happens first (see task list) label Jun 17, 2024
@mvollmer mvollmer marked this pull request as draft June 17, 2024 13:57
@mvollmer mvollmer removed the blocked Don't land until something else happens first (see task list) label Jun 18, 2024
@mvollmer mvollmer force-pushed the storage-raw-stratis branch 2 times, most recently from a62d313 to 19e362f Compare June 18, 2024 12:06
@mvollmer mvollmer marked this pull request as ready for review June 18, 2024 12:06
@@ -406,6 +406,142 @@
b.wait_visible(self.card("Storage"))
b.wait_not_present(self.card_row("Storage", name="TEST1"))

def testOverprovisioning(self):
m = self.machine

Check notice

Code scanning / CodeQL

Unused local variable Note

Variable m is not used.
test/verify/check-storage-stratis Fixed Show fixed Hide fixed
Instead of the "Managed filesystem sizes" concept. This makes Cockpit
easier to discover when you know the real Stratis concepts and exposes
its full capabilities.
visible: vals => vals.size_options.custom_limit,
value: fsys.SizeLimit[0] && Number(fsys.SizeLimit[1]),
min: Number(fsys.Size),
max: pool.Overprovisioning ? stats.pool_total : stats.pool_free + Number(fsys.Size),
Copy link
Contributor

Choose a reason for hiding this comment

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

This added line is not executed by any test.

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

Successfully merging this pull request may close these issues.

None yet

2 participants