rawlinp opened a new issue #5218:
URL: https://github.com/apache/trafficcontrol/issues/5218


   ## I'm submitting a ...
   -  new feature / enhancement request
   
   ## Traffic Control components affected ...
   -  Traffic Ops
   
   ## Current behavior:
   Currently, you can inadvertently cause a delivery service outage (for 
HTTP/DNS-types) by:
   1. Unassigning all servers from an active delivery service (this one is 
probably the least accidental, but should probably still be prohibited)
   2. Deleting the last server assigned to an active delivery service
   3. Changing the status of the last server assigned to an active delivery 
service from REPORTED/ONLINE to any other status
   
   ## New behavior:
   Each of the above things should be prevented via the API. In order to do 
those things, the delivery service must first be set to inactive, making it 
clear that the delivery service is deactivated. Upon getting a helpful error 
message, a CDN operator will then realize that more REPORTED/ONLINE servers 
should be assigned to affected DSes before unassigning/deleting/offlining the 
server at hand.
   
   ## Minimal reproduction of the problem with instructions:
   See above.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to