You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error Service Unavailable cannot be avoided. With enough number of requests, it will eventually happen.
This area is to deal with this and any other error while installing/deleting flows.
Sending more requests when a path fails is not ideal. Instead, we could implement a new field for the errored EVC. error_status field will be set as:
Delete the existing path only if it exists. Avoid to send requests when there is no path.
1.1. Path deletion errored, log error, set error in status_error, leave previous path unchanged, sync
1.2. Return
Clean up error_status
Create flows and send requests to install the path
3.1. Path deletion errored, log error, set error in status_error, set new path, sync
3.2. Return
Set new path
Return
In the case of path deletion:
Get the previous path to be deleted if current_path or failover_path is being deleted
1.1.1. Path does not exist
1.1.2. Return
Create flows and send requests
2.1. Requests errored, log error
2.2. Raise exception EVCPathNotDeleted (New exception)
Return
Additional changes
Add exception EVCPathNotDeleted to be raised when a deletion error happens.
Handle exception EVCPathNotDeleted when deleting EVC. If an error happens, the EVC will not be deleted. It will just be disabled and deactivated.
The error
Service Unavailable
cannot be avoided. With enough number of requests, it will eventually happen.This area is to deal with this and any other error while installing/deleting flows.
Sending more requests when a path fails is not ideal. Instead, we could implement a new field for the errored EVC.
error_status
field will be set as:New basic mechanic for path handling
In the case of path installation:
1.1. Path deletion errored, log error, set error in
status_error
, leave previous path unchanged, sync1.2. Return
error_status
3.1. Path deletion errored, log error, set error in
status_error
, set new path, sync3.2. Return
In the case of path deletion:
current_path
orfailover_path
is being deleted1.1.1. Path does not exist
1.1.2. Return
2.1. Requests errored, log error
2.2. Raise exception
EVCPathNotDeleted
(New exception)Additional changes
EVCPathNotDeleted
to be raised when a deletion error happens.EVCPathNotDeleted
when deleting EVC. If an error happens, the EVC will not be deleted. It will just be disabled and deactivated.status_error
, issue UI: Show that an EVC has an error #510status_error
, issue Error handling when installing and deleting flows #495. More information in the next labelThe text was updated successfully, but these errors were encountered: