- This topic has 2 replies, 2 voices, and was last updated 3 weeks, 5 days ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › FABRIC General Questions and Discussion › Unable to delete nodes at sites due to ModifyError
Hi. I am unable to delete nodes at a slice due to ModifyError. The slice ID is 844a7ecc-e1c0-4b07-bc3b-1809f826fc0a. I would be highly obliged if you could guide me through the process. I am getting the following error for the following set of commands:
slice = fablib.get_slice(name=”Tailscale_Mesh_VPN”)
node_to_del = slice.get_node(name=”MICH_3D”)
#node_to_del.delete()
net1 = slice.get_network(name=”interconnect4″)
net1.delete()
slice.submit()
Exception: Failed to submit slice: Status.FAILURE, (500)
Reason: INTERNAL SERVER ERROR
HTTP response headers: HTTPHeaderDict({'Server': 'nginx/1.21.6', 'Date': 'Sun, 24 Nov 2024 23:59:11 GMT', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '274', 'Connection': 'keep-alive', 'Access-Control-Allow-Credentials': 'true', 'Access-Control-Allow-Headers': 'DNT, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Range, Authorization', 'Access-Control-Allow-Methods': 'GET, POST, PUT, PATCH, DELETE, OPTIONS', 'Access-Control-Allow-Origin': '*', 'Access-Control-Expose-Headers': 'Content-Length, Content-Range, X-Error', 'X-Error': 'Unable to modify Slice# 844a7ecc-e1c0-4b07-bc3b-1809f826fc0a that is not yet stable, try again later'})
HTTP response body: b'{\n "errors": [\n {\n "details": "Unable to modify Slice# 844a7ecc-e1c0-4b07-bc3b-1809f826fc0a that is not yet stable, try again later",\n "message": "Internal Server Error"\n }\n ],\n "size": 1,\n "status": 500,\n "type": "error"\n}'
Hi Sourya,
I can confirm both node: MICH_3D
and network interconnect4
have been deleted and are in Closed State.
In order to move the slice from ModifyError
to StableError
state, please execute the following block of code:
slice = fablib.get_slice(name=”Tailscale_Mesh_VPN”)
slice.modify_accept()
This should allow you to do any additional modifications.
Thanks,
Komal
Thank you Komal. I see that all the nodes that were to be added before the Modify_Error happened have been automatically removed.