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: separate used/allocated units (backport #1240) #1244

Merged

Conversation

a110605
Copy link
Collaborator

@a110605 a110605 commented Dec 11, 2024

Summary

Allocated and used in storage column might in different units. (GiB/ TiB)

Separate the allocated / used unit calculation to avoid using the same unit.

PR Checklist

  • Is this a multi-tenancy feature/bug?
    • Yes, the relevant RBAC changes are at:
  • Do we need to backport changes to the old Rancher UI, such as RKE1?
    • Yes, the relevant PR is at:
  • Are backend engineers aware of UI changes?

Related Issue #
harvester/harvester#7081

Occurred changes and/or fixed issues

Technical notes summary

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

Before (the used value is 32 MB / 1.62TiB)

Screenshot 2024-12-09 at 1 54 09 PM

After
Screenshot 2024-12-09 at 2 07 47 PM


This is an automatic backport of pull request #1240 done by [Mergify](https://mergify.com).

@a110605 a110605 self-assigned this Dec 11, 2024
@a110605 a110605 requested a review from torchiaf December 11, 2024 04:18
@a110605 a110605 changed the title fix: separate used/allocated units fix: separate used/allocated units (backport #1240) Dec 11, 2024
@a110605 a110605 added the Backport to v1.3 Backport PR target v1.3 label Dec 11, 2024
@a110605 a110605 merged commit 329e05e into harvester:release-harvester-v1.3 Dec 11, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport to v1.3 Backport PR target v1.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants