mitchell852 opened a new issue #5147:
URL: https://github.com/apache/trafficcontrol/issues/5147
## I'm submitting a ...
<!-- delete all those that don't apply -->
<!--- security vulnerability (STOP!! - see above)-->
- bug report
## Traffic Control components affected ...
<!-- delete all those that don't apply -->
- Traffic Ops
## Current behavior:
When a DS does not utilize a topology, GET /servers?dsId={id} should return
ALL servers employed by the DS. This would include all direct edge or org
server assignments as well as any implicitly assigned mids. However, servers
outside of the ds's cdn should never be returned. Currently, mids outside the
cdn are being returned.
## Expected behavior:
When a DS does not utilize a topology, GET /servers?dsId={id} should return
all servers employed by the DS which includes edges, orgs and mids (for certain
ds types), but none of those servers should even be from a different cdn.
## Minimal reproduction of the problem with instructions:
- Create an HTTP delivery service (note the ID)
- Assign a handful of edges to the DS
- Ensure that the edges are in a cachegroup with a parent cache group made
up of mids
- in the parent cache group put mid servers from different cdns
- GET /servers?dsId={id} will return all the Edges plus all the Mids
including the mids from the wrong cdn.
<!--
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:
[email protected]