-
Notifications
You must be signed in to change notification settings - Fork 23
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
Logger shows "Need to balance: True" but nothing happens #1
Comments
It depends on many factors. |
In the readme, I added the requirement of a common storage for all nodes |
Sorry for the delay, so I do have common storage between all nodes. In fact, they are all identical: same number of CPU's, RAM and storage. However, something strange is still happening. The algorithm sees that it needs to balance, and finds an option, but the migration doesn't end up happening and the algorithm gets stuck in an infinite loop:
What do you think is stopping it up? This is Virtual Environment 7.2-3 with latest pull from this repo. |
Ah ha! Interesting, thanks for the explanation. I am sure this is somewhat difficult to test and implement since you must iteratively migrate and check, and migration takes time and compute resources. I will look more into the algorithm when I have time to see if I can contribute. For now, I need to see why the API isn't starting the migration when it hits the def vm_migration(); function. It's like the API call isn't responding properly. |
pvesh get /nodes/PVE2/qemu/202/migrate - will show local resources that prevent migration |
I hope I was able to help you |
Thank you, yes, very helpful! Fine to close this as it is not an issue. I'm still testing in my environment; I'll report back if I have any more issues. |
Is this expected behavior?
I have two nodes, which are already nearly balanced so this could be the reason why. See my screenshot below:
The text was updated successfully, but these errors were encountered: