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

Unable to find way to reduce placement count #110

Open
fe-ax opened this issue May 3, 2022 · 2 comments
Open

Unable to find way to reduce placement count #110

fe-ax opened this issue May 3, 2022 · 2 comments

Comments

@fe-ax
Copy link

fe-ax commented May 3, 2022

I've been trying to find a way to reduce the the placementCounts of a volume.

What I've done:

Can someone point me to the right documentation for reducing the placement count?

@WanzenBug
Copy link
Member

The only way I currently know about is manually deleting resources, because LISNTOR is too scared to automatically do it. I think that this is something that will be looked at and changed in future LINSTOR versions, but to my knowledge there is currenty no other way.

Once all resources of a resource group have had their replicas reduced, you can update the resource group itself and it will work.

@fe-ax
Copy link
Author

fe-ax commented May 3, 2022

Thanks WanzenBug, I really thought I was taking it on the wrong way by actually deleting resources. Your quick response is highly appreciated :)

I do think being careful about deletion is great, but having the ability to do this automatically for multiple resources should be possible using a clear force override.

Can I suggest rephrasing the error to read more actionable? Like: “Please reduce placement count of resources by deleting resources from nodes manually using command before reducing the autoPlace property.”

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

No branches or pull requests

2 participants