-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Overallocating node did not throw error #3732
Comments
When you use the api, you can't, but when you use the admin panel you can |
It didn't throw error when I was creating server using pterodactyl admin panel too. |
The limit will only apply if you're telling the panel to choose a node for you (using the |
I know this is an old issue, but it is still up to date. What if you have two nodes, but one with a better CPU? That does not mean you wanted to over allocate it! It should throw an error saying that node is full. Including the API aswell. |
As @TrixterTheTux stated, that is on you to make the determination, not the API. I'm not changing the well known behavior of such a critical endpoint, you just need to put some logic on your end before calling the API to make a server on a specific node to handle your over-allocation requirements. |
Is there an existing issue for this?
Current Behavior
I have node with automatic allocation disabled (tried with both enabled and disabled), I have set allocation limits like this for the node:
.
When I create server using panel or API, it didn't show me error message, server is normally created when I go over the resources limit on the node.

It allows me to overallocate the node
When I tried to transfer existing server to that node, it showed me error message

It should show error message also when you are creating new server and it will go over the node allocation limits.
Expected Behavior
When you want to create server and it will go over allocation limits on node, display error message on panel and also when creating server using API,
Steps to Reproduce
Panel Version
1.6.5
Wings Version
1.6.5
Error Logs
No response
The text was updated successfully, but these errors were encountered: