Able to delete servers last allocation breaking wings. #176

Closed
opened 2026-02-05 17:14:16 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @notAreYouScared on GitHub (Oct 23, 2024).

Originally assigned to: @rmartinoscar on GitHub.

When viewing a server the admin can select the last allocation in the table and use the bulk disassociate option to remove it from that server. Resulting in no allocations for that server. When the end user attempts to start the server with no allocations it results in wings throwing the following error

ERROR: [Oct 22 21:12:15.028] failed to load server, skipping... error=expected { character for map value server=b05f2cb2-e585-40e3-8ae4-1adbca2179cf

https://github.com/pelican-dev/panel/pull/645 should've fixed it? but appears to still be broken

Some how I was able to remove the primary allocation. leaving the last one, which i can still delete...
image

Originally created by @notAreYouScared on GitHub (Oct 23, 2024). Originally assigned to: @rmartinoscar on GitHub. When viewing a server the admin can select the last allocation in the table and use the bulk disassociate option to remove it from that server. Resulting in no allocations for that server. When the end user attempts to start the server with no allocations it results in wings throwing the following error `ERROR: [Oct 22 21:12:15.028] failed to load server, skipping... error=expected { character for map value server=b05f2cb2-e585-40e3-8ae4-1adbca2179cf` https://github.com/pelican-dev/panel/pull/645 should've fixed it? but appears to still be broken Some how I was able to remove the primary allocation. leaving the last one, which i can still delete... ![image](https://github.com/user-attachments/assets/d9a6e672-2c46-4b4b-8745-5578cf7aa544)
OVERLORD added the 🟡 medium label 2026-02-05 17:14:16 +03:00
Author
Owner

@rmartinoscar commented on GitHub (Oct 24, 2024):

Only able to reproduce when using multiple tabs otherwise i just get a 500 and the allocation doesn't get removed
I even created an allocation on the node, selected it then in a new tab i create the server and comeback to the first tab hit delete selected.
image

@rmartinoscar commented on GitHub (Oct 24, 2024): Only able to reproduce when using multiple tabs otherwise i just get a 500 and the allocation doesn't get removed I even created an allocation on the node, selected it then in a new tab i create the server and comeback to the first tab hit `delete selected`. ![image](https://github.com/user-attachments/assets/84b2161d-720d-4a56-b32e-a13d92147907)
Author
Owner

@lancepioch commented on GitHub (Jan 5, 2025):

I was able to reproduce this using two different tabs:

  1. Have 2 allocations
  2. Open Server Edit for same server is 2 tabs
  3. In one tab, change the primary allocation
  4. In the other tab, disassociate the real primary allocation
  5. It then leaves the Server hanging without any primary allocation
@lancepioch commented on GitHub (Jan 5, 2025): I was able to reproduce this using two different tabs: 1. Have 2 allocations 2. Open Server Edit for same server is 2 tabs 3. In one tab, change the primary allocation 4. In the other tab, disassociate the real primary allocation 5. It then leaves the Server hanging without any primary allocation
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#176