apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.06k stars 342 forks source link

[TC-487] Multi Site Origin config gets applied even when no valid parents #996

Open limited opened 7 years ago

limited commented 7 years ago

If MSO is not properly configured with origin servers but is configured with multi site origin, it will install the multi site origin parent.config with no parent servers listed.

(Mine had the origin servers in a non ORG type cache group, this generated parent="" in the config)
parent.config: dest_domain=google.com port=443 parent="" ...
Jul 12 01:26:46 lab-ats-mid-2.local traffic_server[3916]:

{0x2ae9206f1940}

ERROR: [ParentSelection] No parents specified at line 2

Author: Matt Mills JIRA Link: https://issues.apache.org/jira/browse/TC-487 Found Version: 2.1.0

mitchell852 commented 4 years ago

we need better validation to ensure that MSO is configured properly.