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

PV Resizing: Actual used percentage should be given precedance over actual volume size #1074

Open
pranavgaikwad opened this issue Apr 14, 2021 · 0 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@pranavgaikwad
Copy link
Contributor

pranavgaikwad commented Apr 14, 2021

Describe the bug
In some cases, it is possible that the provisioned volume is relatively big as compared to the requested size. However, if the usage of the volume remains low, we should give precedance to used volume size instead of the disk size as seen in df

To Reproduce
Steps to reproduce the behavior:

  1. Create a NFS volume by requesting 1GB size in mig-agnosticd 3.x cluster. The actual disk size will probably be a lot more than 1 GB
  2. Create a MigPlan for the namespace of this volume.
  3. Look at MigAnalytic created for the MigPlan and see that the proposed size is huge than the actual usage percentage.

Expected behavior
The usage percentage should be given precedance at all times to avoid provisioning volumes when they are not been used to their full capacity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants