You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Steve Malenfant (JIRA)" <ji...@apache.org> on 2017/08/14 13:42:00 UTC
[jira] [Created] (TC-514) ORT: Change Traffic Ops hostname in
middle of ORT run
Steve Malenfant created TC-514:
----------------------------------
Summary: ORT: Change Traffic Ops hostname in middle of ORT run
Key: TC-514
URL: https://issues.apache.org/jira/browse/TC-514
Project: Traffic Control
Issue Type: Bug
Components: Traffic Ops ORT
Affects Versions: 2.1.0
Environment: Traffic Ops 2.1 and ORT 2.1
Reporter: Steve Malenfant
Assignee: Derek Gelinas
Priority: Minor
I'm not sure if this is 2.1 specifics... Worth discussing.
- Could this prevent load balancing traffic ops from working?
- Cookies might be different (you need to sync secrets?). These are in the cdn.conf and not the database...
When you instruct the traffic_ops_ort to go to a secondary Traffic Ops, it will start on the CLI designated but will move back to the primary during the "Start processing packages" process.
Code in question : https://github.com/apache/incubator-trafficcontrol/blob/2.1.x/traffic_ops/bin/traffic_ops_ort.pl#L201
{code:java}
[root@edge06 ~]# /opt/ort/traffic_ops_ort.pl -dispersion=0 report DEBUG https://traffic-ops-0001.coxlab.net chs:w@term@rk
Mon Aug 14 13:29:06 UTC 2017
DEBUG OS release is EL7.
DEBUG Script running in report mode.
302
DEBUG https://traffic-ops-0001.coxlab.net/login returned HTTP 302.
DEBUG Cookie is mojolicious=eyJhdXRoX2RhdGEi4iJjaHMiLCJleHBpcmVzIjoxNTAyNzMxNzQ2fQ----136010205dc8d4951e2e2194b6b463eb3d141f1e.
DEBUG YUM_OPTS: .
DEBUG Total connections in LWP cache: 1
INFO Traffic Ops host: https://traffic-ops-0001.coxlab.net
...
INFO: ======== Start processing packages ========
DEBUG Total connections in LWP cache: 1
INFO Traffic Ops host: https://traffic-ops-0002.coxlab.net
DEBUG lwp_get called with /ort/psp6cdedge06/packages
ERROR https://cdn1cdcms0001.coxlab.net/ort/edge06/packages returned HTTP 401! Unauthorized
ERROR result for https://cdn1cdcms0001.coxlab.net/ort/psp6cdedge06/packages is: ...<!--
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)