You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/01/14 20:41:26 UTC

[GitHub] [trafficcontrol] mitchell852 opened a new issue #5439: GET /api/3.x/servers?dsId=99 where ds has a topology is not filtering servers correctly

mitchell852 opened a new issue #5439:
URL: https://github.com/apache/trafficcontrol/issues/5439


   ## I'm submitting a ...
   -  bug report
   
   ## Traffic Control components affected ...
   <!-- delete all those that don't apply -->
   -  Traffic Ops
   
   ## Current behavior:
   GET /api/3.x/servers?dsId=99 where 99 has a topology is returning servers outside of the ds's topology.
   
   ## Expected behavior:
   When a delivery service utilizes a topology, the servers returned from GET /api/3.x/servers?dsId=99 should include all edge/mid servers in the topology's cache groups:
   - minus those not in the cdn of the ds
   - minus those that do not have the required capabilities of the ds
   it should also include any servers of type ORG that are directly assigned to the delivery service.
   
   ## Minimal reproduction of the problem with instructions:
   - Assign a topology to a ds
   - Navigate to the ds servers page in TP and ensure the proper servers are displayed: https://tp.domain.tld/#!/delivery-services/5/servers?type=DNS
   
   <!--
   Licensed to the Apache Software Foundation (ASF) under one
   or more contributor license agreements.  See the NOTICE file
   distributed with this work for additional information
   regarding copyright ownership.  The ASF licenses this file
   to you under the Apache License, Version 2.0 (the
   "License"); you may not use this file except in compliance
   with the License.  You may obtain a copy of the License at
   
       https://apache.org/licenses/LICENSE-2.0
   
   Unless required by applicable law or agreed to in writing,
   software distributed under the License is distributed on an
   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License.
   -->
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [trafficcontrol] zrhoffman commented on issue #5439: GET /api/3.x/servers?dsId=99 where ds has a topology is not filtering servers correctly

Posted by GitBox <gi...@apache.org>.
zrhoffman commented on issue #5439:
URL: https://github.com/apache/trafficcontrol/issues/5439#issuecomment-760605670


   When a MID_LOC Cache Group is assigned as a parent of an EDGE_LOC Cache Group that is used in a Topology, `GET /servers?dsId=#` where `#` is the ID of a Delivery Service that that Topology is assigned to will result in the MID Servers in that MID_LOC Cache Group being included.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [trafficcontrol] ocket8888 closed issue #5439: GET /api/3.x/servers?dsId=99 where ds has a topology is not filtering servers correctly

Posted by GitBox <gi...@apache.org>.
ocket8888 closed issue #5439:
URL: https://github.com/apache/trafficcontrol/issues/5439


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [trafficcontrol] zrhoffman edited a comment on issue #5439: GET /api/3.x/servers?dsId=99 where ds has a topology is not filtering servers correctly

Posted by GitBox <gi...@apache.org>.
zrhoffman edited a comment on issue #5439:
URL: https://github.com/apache/trafficcontrol/issues/5439#issuecomment-760605670


   When a MID_LOC Cache Group is assigned as a parent of an EDGE_LOC Cache Group that is used in a Topology, `GET /servers?dsId=#` where `#` is the ID of a Delivery Service that that Topology is assigned to will result in the MID Servers in that MID_LOC Cache Group being included, which is def a bug.


----------------------------------------------------------------
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:
users@infra.apache.org