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


   ## I'm submitting a ...
   -  bug report
   
   ## Traffic Control components affected ...
   -  Traffic Ops
   
   ## Current behavior:
   Traffic Ops includes ORG servers in its validation of topology-based 
delivery service required capabilities in the following endpoints:
   ```
   PUT  /api/3.0/deliveryservices/:id
   POST /api/3.0/deliveryservices_required_capabilities
   PUT  /api/3.0/topologies
   ```
   The validation is that there must be at least one server in every cachegroup 
of a topology that has a delivery service's required capabilities.
   
   ## Expected behavior:
   Because server capabilities do not apply to ORG servers, Traffic Ops should 
ignore ORG servers in its validation of topology-based delivery service 
required capabilities in the aforementioned endpoints. Otherwise, required 
capabilities cannot be used with topologies that contain ORG_LOC cachegroups.
   
   ## Minimal reproduction of the problem with instructions:
   1. Create a topology with an ORG_LOC cachegroup with at least one server and 
an EDGE_LOC cachegroup with at least one server.
   2. Create and add a server capability to the server in the EDGE_LOC 
cachegroup.
   3. Assign a delivery service to the topology
   4. Add the capability from step 2 as a required capability on the delivery 
service.
   
   Step 4 currently fails because the server in the ORG_LOC cachegroup does not 
have the required capability. The ORG_LOC cachegroup should be excluded from 
this validation, and step 4 should succeed.
   


----------------------------------------------------------------
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