Hi Thiago, You'll get more responses if you ask this question in the #traffic-control (or #traffic-control-cache-config) channel of the ASF Slack, I just sent an invite. Usually, the dev@ mailing list is for discussion relating to writing code contributions for ATC.
-Zach On Wed, Jun 14, 2023 at 11:04 AM Thiago Duarte <[email protected]> wrote: > Guys, good afternoon. > > I started to study the CDN solution created by you and I'm having some > difficulties in implementing it. I work in the CDN sector here at a > telecommunication company and we are looking for solutions where we can use > hardware > discontinued, but robust for the implementation of the same CDN we have > today, but proprietary and limited to current content. In these 2 months > that I started to read and test the applications, we had a result > very satisfactory with Traffic_Server, because with it we managed to > deliver content with CTE "Content Transfer Encoding" and thus be able to > implement the LL "low latency" and today we cannot due to the limitation of > our CDN. > > However, due to the breadth of delivery services that we have today and > also the number of servers destined for the cache, we would need to > implement a mechanism where this is done in an automated way. > > For that, I saw that we have T3C that replaces Traffic_Orts, but I'm having > trouble configuring it. Following some "step by step" failures appear when > trying to connect to Traffic_Ops in addition to access > in some specific files. Below is the output when I run the line to > update/collect Traffic_Ops information: > > > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > INFO: t3cutil.go:62: 2023-06-14T16:48:46.395100258Z: Executable path is > /usr/bin/t3c > INFO: t3cutil.go:66: 2023-06-14T16:48:46.395144392Z: Return Installdir > '/usr/bin' > INFO: config.go:573: 2023-06-14T16:48:46.437205581Z: t3c-apply is running > in badass mode > INFO: config.go:573: 2023-06-14T16:48:46.437286401Z: badass setting > --service-action=restart > INFO: config.go:573: 2023-06-14T16:48:46.437309194Z: badass setting > --install-packages=true > INFO: config.go:573: 2023-06-14T16:48:46.437326988Z: badass setting > --ignore-update-flag=true > INFO: config.go:573: 2023-06-14T16:48:46.437344244Z: badass setting > --update-ipallow=true > INFO: config.go:580: 2023-06-14T16:48:46.437364542Z: no override for TSHome > was found, using the configured default: '/opt/trafficserver' > INFO: config.go:580: 2023-06-14T16:48:46.437384351Z: ATSVersionStr: '' > DEBUG: config.go:645: 2023-06-14T16:48:46.437401581Z: LogLocationDebug: > stderr > DEBUG: config.go:646: 2023-06-14T16:48:46.437416045Z: LogLocationErr: > stderr > DEBUG: config.go:647: 2023-06-14T16:48:46.437421436Z: LogLocationInfo: > stderr > DEBUG: config.go:648: 2023-06-14T16:48:46.437426715Z: LogLocationWarn: > stderr > DEBUG: config.go:649: 2023-06-14T16:48:46.43743202Z: CacheHostName: > Traffic-Server-EdgeTier > DEBUG: config.go:650: 2023-06-14T16:48:46.43744862Z: SvcManagement: SystemD > DEBUG: config.go:651: 2023-06-14T16:48:46.437566341Z: Retries: 3 > DEBUG: config.go:652: 2023-06-14T16:48:46.437598008Z: ReverseProxyDisable: > false > DEBUG: config.go:653: 2023-06-14T16:48:46.437611497Z: SkipOSCheck: false > DEBUG: config.go:654: 2023-06-14T16:48:46.437622931Z: TOInsecure: false > DEBUG: config.go:655: 2023-06-14T16:48:46.437634195Z: TOTimeoutMS: > 30000000000 > DEBUG: config.go:656: 2023-06-14T16:48:46.437656158Z: TOUser: tsduarte > DEBUG: config.go:657: 2023-06-14T16:48:46.437668816Z: TOPass: Pass len: '8' > DEBUG: config.go:658: 2023-06-14T16:48:46.437681814Z: TOURL: > https://10.127.226.93 > DEBUG: config.go:659: 2023-06-14T16:48:46.437694057Z: TSHome: > /opt/trafficserver > DEBUG: config.go:660: 2023-06-14T16:48:46.437706487Z: LocalATSVersion: > DEBUG: config.go:661: 2023-06-14T16:48:46.437719044Z: WaitForParents: false > DEBUG: config.go:662: 2023-06-14T16:48:46.437732333Z: ServiceAction: > restart > DEBUG: config.go:663: 2023-06-14T16:48:46.437752158Z: > NoConfirmServiceAction: false > DEBUG: config.go:664: 2023-06-14T16:48:46.437765553Z: YumOptions: > DEBUG: config.go:665: 2023-06-14T16:48:46.437779434Z: MaxmindLocation: > INFO: t3c-apply.go:103: 2023-06-14T16:48:46.437794049Z: Trying to acquire > app lock > INFO: t3c-apply.go:113: 2023-06-14T16:48:46.437850963Z: Acquired app lock > INFO: actionlog.go:84: 2023-06-14T16:48:46.438094928Z: ACTION='apply-start' > STATUS='success' > INFO: t3c-apply.go:140: 2023-06-14T16:48:46.443609812Z: Successfully > ensured ATS config directory '/opt/trafficserver/etc/trafficserver' is a > git repo > ERROR: t3c-apply.go:158: 2023-06-14T16:48:46.443698981Z: checking for git > lock file: stat returned error: stat > /opt/trafficserver/etc/trafficserver/.git/index.lock: no such file or > directory on file /opt/trafficserver/etc/trafficserver/.git/index.lock > INFO: actionlog.go:84: 2023-06-14T16:48:46.446135446Z: > ACTION='create-git-commit-initial' STATUS='success' > DEBUG: util.go:403: 2023-06-14T16:48:46.446202074Z: the directory > '/tmp/trafficcontrol-cache-config' already exists > INFO: t3c-apply.go:195: 2023-06-14T16:48:46.446321176Z: > 2023-06-14T12:48:46-04:00 > INFO: util.go:330: 2023-06-14T16:48:46.446394553Z: user check: > report-only=false service-action=restart install-packages=true files=all > user='root' > DEBUG: torequest.go:744: 2023-06-14T16:48:46.446444083Z: Checking syncds > state. > ERROR: cmd.go:644: 2023-06-14T16:48:46.491779042Z: t3c request stderr start > INFO: t3cutil.go:62: 2023-06-14T16:48:46.454088861Z: Executable path is > /usr/bin/t3c > INFO: t3cutil.go:66: 2023-06-14T16:48:46.454107408Z: Return Installdir > '/usr/bin' > INFO: config.go:203: 2023-06-14T16:48:46.462084035Z: loading old config > took 499ns > INFO: config.go:180: 2023-06-14T16:48:46.462114675Z: using old config for > IMS requests > INFO: t3c-request.go:47: 2023-06-14T16:48:46.462123674Z: configuration > initialized > INFO: client.go:93: 2023-06-14T16:48:46.4621362Z: URL: ' > https://10.127.226.93' User: 'tsduarte' Pass len: '8' > INFO: client.go:99: 2023-06-14T16:48:46.462183713Z: Failed to retrieve > cached cookie for user 'tsduarte' at > '/var/lib/trafficcontrol-cache-config/tsduarte.cookie', using password > login: unexpected end of JSON input > INFO: client.go:119: 2023-06-14T16:48:46.462196403Z: Traffic Ops URL > string: 'https://10.127.226.93' > ERROR: toclientlib.go:81: 2023-06-14T16:48:46.490880808Z: DEBUG > toclientlib.Login err reqInf {CacheHitStatus:miss RemoteAddr:<nil> > StatusCode:0 RespHeaders:map[]} > ERROR: t3c-request.go:59: 2023-06-14T16:48:46.490917209Z: Logging in to > Traffic Ops '' code 0: logging in: Login error Post " > https://10.127.226.93/api/4.1/user/login": x509: cannot validate > certificate for 10.127.226.93 because it doesn't contain any IP SANs, > alerts string: {Alerts:[]} > ERROR: cmd.go:649: 2023-06-14T16:48:46.491906894Z: t3c request stderr end > ERROR: torequest.go:749: 2023-06-14T16:48:46.491927404Z: getting > 'Traffic-Server-EdgeTier' update status: requesting json: requesting: t3c > request returned non-zero exit code 2, see log for output > ERROR: t3c-apply.go:221: 2023-06-14T16:48:46.491954045Z: Checking syncds > state: requesting json: requesting: t3c request returned non-zero exit code > 2, see log for output > INFO: actionlog.go:84: 2023-06-14T16:48:46.494940999Z: > ACTION='create-git-commit-final' STATUS='success' > INFO: actionlog.go:84: 2023-06-14T16:48:46.49500205Z: ACTION='apply-end' > STATUS='failure' > INFO: t3c-apply.go:388: 2023-06-14T16:48:46.495020261Z: CRITICAL FAILURE, > ABORTING > > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Thank you for your attention and if you can help me in the progress of this > task I will be very grateful. > > If you want to contact me for more details if possible by whatsapp follow > my contact: +5511970676608 > > BestRegards; > Thiago Duarte >
