Hi Vasanth,

 

Because I coud not find astat rpm packet so I compile traffic server form
source and astats as this link

https://github.com/apache/trafficcontrol/tree/master/traffic_server/plugins/
astats_over_http

 

Please read attach file for rraffic errors log.

 

I also configured as your recommend but monitor still got those errors

 

Thanks.

 

 

 

From: Vasanth Mathivanan [mailto:[email protected]] 
Sent: Thursday, August 30, 2018 12:59 PM
To: [email protected]
Subject: RE: Traffic Router error "No traffic ops hostname yet"Vasanth
Mathivanan <[email protected]>

 

Hi Huy Vu, 

 

Monitor errors are can't poll the asats configuration   which means asats to
poll the information from traffic server to traffic monitor  you should
follow these  steps :

 

1.Did you install the asats plugin rpm ? if not ,install it 

2.After that ,you should be allow your ip globally or monitor ip*
/etc/trafficserver/etc/config/asats.config

 


# DO NOT EDIT - Generated for EDGE_ATS_621_CENTOS_721_3 by Traffic Ops  

allow_ip=127.0.0.1,10.0.0.0/8,x.x.x.x/32

allow_ip6=::1/128

path=_astats

record_types=122

 

Once you did that  restart traffic_mon , traffic server and check your logs
, status 

Ort script Errors: 
First run gives a lot of state errors that are expected. The "badass" mode
fixes these issue s. Run it a second time, this should be cleaner. Also,
note that many ERROR messages emitted by ORT are actually information
messages. Do not panic.

But errors also came , Better take screenshot and share it to me 

-Vasanth

 

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>  for Windows
10

 

From: Huy Vu <mailto:[email protected]> 
Sent: Thursday, August 30, 2018 10:05 AM
To: [email protected] <mailto:[email protected]>

Subject: RE: Traffic Router error "No traffic ops hostname yet"Vasanth
Mathivanan <[email protected]
<mailto:[email protected]> >

 

Hi Vasanth,

 

I got this error monitor:  https://prnt.sc/kohuov

And many errors on traffic server when run script again.

 

Thanks

From: Vasanth Mathivanan [mailto:[email protected]] 
Sent: Tuesday, August 28, 2018 11:39 AM
To: [email protected] <mailto:[email protected]>

Subject: RE: Traffic Router error "No traffic ops hostname yet"Vasanth
Mathivanan <[email protected]
<mailto:[email protected]> >

 

Hi Huy Vu,

 

You need to set hostname "cdn-traffic1.longvan.net" in edge server, then run
ort script.

 

-Vasanth 

 

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>  for Windows
10

 

From: Huy Vu <mailto:[email protected]> 
Sent: Tuesday, August 28, 2018 9:05 AM
To: [email protected] <mailto:[email protected]>

Subject: RE: Traffic Router error "No traffic ops hostname yet"Vasanth
Mathivanan <[email protected]
<mailto:[email protected]> >

 

Hi Vasanth,

 

We got new error message:

ERROR: datareq.go:261: 2018-08-28T11:31:59.346307139+07:00: Request Error:
/api/bandwidth-kbps: service still starting, some caches unpolled:
map[cdn-traffic1:{}]

ERROR: datareq.go:261: 2018-08-28T11:32:00.336620179+07:00: Request Error:
/api/cache-count: service still starting, some caches unpolled:
map[cdn-traffic1:{}]

ERROR: datareq.go:261: 2018-08-28T11:32:00.339468823+07:00: Request Error:
/api/cache-available-count: service still starting, some caches unpolled:
map[cdn-traffic1:{}]

ERROR: datareq.go:261: 2018-08-28T11:32:00.348460645+07:00: Request Error:
/api/cache-down-count: service still starting, some caches unpolled:
map[cdn-traffic1:{}]

ERROR: datareq.go:261: 2018-08-28T11:32:00.358824579+07:00: Request Error:
/api/cache-statuses: service still starting, some caches unpolled:
map[cdn-traffic1:{}]

ERROR: datareq.go:261: 2018-08-28T11:32:00.377723822+07:00: Request Error:
/api/traffic-ops-uri: service still starting, some caches unpolled:
map[cdn-traffic1:{}]

ERROR: datareq.go:261: 2018-08-28T11:32:00.377793019+07:00: Request Error:
/publish/EventLog: service still starting, some caches unpolled:
map[cdn-traffic1:{}]

 

An on traffic server "cdn-traffic1" I got error when configure by this
command

[root@localhost ~]# sudo /opt/ort/traffic_ops_ort.pl --dispersion=0 badass
warn https://cdn-ops.longvan.net admin:123456

Tue Aug 28 11:28:41 +07 2018

Use of uninitialized value $domainname in substitution (s///) at
/opt/ort/traffic_ops_ort.pl line 1753.

ERROR Deleting directories older than 1534825721

ERROR Update URL: /api/1.3/servers/localhost/update_status did not have an
upd_pending key.

ERROR https://cdn-ops.longvan.net/api/1.2/servers/localhost/configfiles/ats
returned HTTP 404! Not Found 

ERROR result for
https://cdn-ops.longvan.net/api/1.2/servers/localhost/configfiles/ats is:
...{"alerts":[{"level":"error","text":"Resource not found."}]}...

ERROR Traffic Ops version does not support config files API. Please upgrade
to Traffic Ops 2.2.

 

Thanks

 

From: Vasanth Mathivanan [mailto:[email protected]] 
Sent: Monday, August 27, 2018 4:00 PM
To: [email protected] <mailto:[email protected]>

Subject: RE: Traffic Router error "No traffic ops hostname yet"Vasanth
Mathivanan <[email protected]
<mailto:[email protected]> >

 

Hi Huy Vu,

 

Why are you kept empty ports?.  You can specify the http(80 or else) and
https port(443 or else).

 

Few Steps I given below, 

-          You should specify any cdn name like kabletown_cdn. (You kept as
ALL)

-          You need to assign your profiles like TR profile, TS profile, TM
profile under your cdn. (Ex. If you had kabletown_cdn as your cdn, those
above profiles are comes under kabletown_cdn).

-          You must add TR,TS,ATS(edge and Mid server details) to server
column.

-          Once done , you need to create a delivery service and assign
edges to that DS.

-          Finally generate snapshot CRConfig.

-          Properly configure traffic ops url , username and password in
traffic_ops.cfg file.( you must use go language TM.)

 

-Vasanth.

 

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>  for Windows
10

 

From: Huy Vu <mailto:[email protected]> 
Sent: Monday, August 27, 2018 1:34 PM
To: [email protected] <mailto:[email protected]>

Subject: RE: Traffic Router error "No traffic ops hostname yet"Vasanth
Mathivanan <[email protected]
<mailto:[email protected]> >

 

Hi,

 

Please read attached filecrconfig.json 

Monitor logs:

ERROR: datareq.go:261: 2018-08-27T15:04:17.103995262+07:00: Request Error:
/publish/EventLog: service still starting, some caches unpolled: map[]

ERROR: datareq.go:261: 2018-08-27T15:04:17.643070441+07:00: Request Error:
/publish/ConfigDoc: service still starting, some caches unpolled: map[]

ERROR: datareq.go:261: 2018-08-27T15:04:19.078321186+07:00: Request Error:
/publish/DsStats: service still starting, some caches unpolled: map[]

ERROR: datareq.go:261: 2018-08-27T15:04:19.097354337+07:00: Request Error:
/publish/EventLog: service still starting, some caches unpolled: map[]

ERROR: datareq.go:261: 2018-08-27T15:04:20.919307313+07:00: Request Error:
/api/bandwidth-capacity-kbps: service still starting, some caches unpolled:
map[]

ERROR: datareq.go:261: 2018-08-27T15:04:20.936325585+07:00: Request Error:
/api/bandwidth-kbps: service still starting, some caches unpolled: map[]

ERROR: datareq.go:261: 2018-08-27T15:04:21.124072476+07:00: Request Error:
/publish/EventLog: service still starting, some caches unpolled: map[]

ERROR: datareq.go:261: 2018-08-27T15:04:21.332569478+07:00: Request Error:
/api/cache-count: service still starting, some caches unpolled: map[]

ERROR: datareq.go:261: 2018-08-27T15:04:21.60047215+07:00: Request Error:
/api/cache-available-count: service still starting, some caches unpolled:
map[]

ERROR: datareq.go:261: 2018-08-27T15:04:21.600472172+07:00: Request Error:
/api/cache-down-count: service still starting, some caches unpolled: map[]

ERROR: datareq.go:261: 2018-08-27T15:04:22.159576498+07:00: Request Error:
/api/cache-available-count: service still starting, some caches unpolled:
map[]

ERROR: datareq.go:261: 2018-08-27T15:04:22.159624559+07:00: Request Error:
/api/cache-count: service still starting, some caches unpolled: map[]

ERROR: datareq.go:261: 2018-08-27T15:04:22.159583852+07:00: Request Error:
/api/cache-down-count: service still starting, some caches unpolled: map[]

ERROR: datareq.go:261: 2018-08-27T15:04:22.159820815+07:00: Request Error:
/api/cache-statuses: service still starting, some caches unpolled: map[]

ERROR: datareq.go:261: 2018-08-27T15:04:23.079717516+07:00: Request Error:
/publish/DsStats: service still starting, some caches unpolled: map[]

 

Thanks

 

From: Vasanth Mathivanan [mailto:[email protected]] 
Sent: Monday, August 27, 2018 2:31 PM
To: [email protected] <mailto:[email protected]>

Subject: RE: Traffic Router error "No traffic ops hostname yet"Vasanth
Mathivanan <[email protected]
<mailto:[email protected]> >

 

You can get from
https://{{trafficops}}/CRConfig-Snapshots/ivzapp_cdn/CRConfig.json
<https://%7b%7btrafficops%7d%7d/CRConfig-Snapshots/ivzapp_cdn/CRConfig.json>
and also share your traffic_monitor logs 

 

-Vasanth

 

 

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>  for Windows
10

 

From: Vasanth Mathivanan <mailto:[email protected]> 
Sent: Monday, August 27, 2018 12:57 PM
To: [email protected] <mailto:[email protected]>

Subject: RE: Traffic Router error "No traffic ops hostname yet"Vasanth
Mathivanan <[email protected]
<mailto:[email protected]> >

 

Hi Huy Vu, 

 

Could you share the CRConfig file ?

 

-Vasanth

 

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>  for Windows
10

 

From: Huy Vu <mailto:[email protected]> 
Sent: Monday, August 27, 2018 12:56 PM
To: [email protected] <mailto:[email protected]>

Subject: RE: Traffic Router error "No traffic ops hostname yet"Vasanth
Mathivanan <[email protected]
<mailto:[email protected]> >

 

Hi Vasanth Mathivanan,

 

I still got those errors after I generated Snapshot CRConfig.

 

Thanks

 

From: Vasanth Mathivanan [mailto:[email protected]] 
Sent: Monday, August 27, 2018 2:11 PM
To: [email protected] <mailto:[email protected]>

Subject: RE: Traffic Router error "No traffic ops hostname yet"Vasanth
Mathivanan <[email protected]
<mailto:[email protected]> >

 

Hi Huy Au ,

 

You should generate the "Snapshot CRConfig" . After you will get all those
values to  monitor and router 

 

-Vasanth 

 

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>  for Windows
10

 

From: Huy Vu <mailto:[email protected]> 
Sent: Monday, August 27, 2018 12:36 PM
To: [email protected] <mailto:[email protected]>

Subject: RE: Traffic Router error "No traffic ops hostname yet"Vasanth
Mathivanan <[email protected]
<mailto:[email protected]> >

 

Hi Vasanth Mathivanan,

 

I do not.

 

Thanks.

 

From: Vasanth Mathivanan [mailto:[email protected]] 
Sent: Monday, August 27, 2018 1:59 PM
To: [email protected] <mailto:[email protected]>

Subject: RE: Traffic Router error "No traffic ops hostname yet"Vasanth
Mathivanan <[email protected]
<mailto:[email protected]> >

 

Hi Huy Vu,

 

Do you generated the "Snapshot CRConfig" in Traffic_ops portal ? 

 

-Vasanth 

 

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>  for Windows
10

 

From: Huy Vu <mailto:[email protected]> 
Sent: Monday, August 27, 2018 12:26 PM
To: [email protected] <mailto:[email protected]>

Subject: RE: Traffic Router error "No traffic ops hostname yet"

 

Hi Vasanth Mathivanan,

 

Our monitor  did not work correctly too. Here are error logs:

ERROR: datareq.go:261: 2018-08-27T15:04:22.159583852+07:00: Request Error:
/api/cache-down-count: service still starting, some caches unpolled: map[]

ERROR: datareq.go:261: 2018-08-27T15:04:22.159820815+07:00: Request Error:
/api/cache-statuses: service still starting, some caches unpolled: map[]

ERROR: datareq.go:261: 2018-08-27T15:04:23.079717516+07:00: Request Error:
/publish/DsStats: service still starting, some caches unpolled: map[]

ERROR: datareq.go:261: 2018-08-27T15:04:23.101241031+07:00: Request Error:
/publish/EventLog: service still starting, some caches unpolled: map[]

 

Thanks

 

From: Vasanth Mathivanan [mailto:[email protected]] 
Sent: Monday, August 27, 2018 1:14 PM
To: [email protected] <mailto:[email protected]>

Subject: RE: Traffic Router error "No traffic ops hostname yet"

 

Hi huy Vu , 

 

I think your config file cannot be  create ,if "CRConfig.json" file present
on your router in "/opt/traffic_router/db" directory  , it could be access
the traffic_ops  , could you please check with you router side as well as
monitor side?  Also check the communication between router and monitor fine
or not  .

 

-          Vasanth

 

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>  for Windows
10

 

From: Huy Vu <mailto:[email protected]> 
Sent: Monday, August 27, 2018 7:41 AM
To: [email protected] <mailto:[email protected]>

Subject: Traffic Router error "No traffic ops hostname yet"

 

Hello,

I build traffic router by this command "./pkg -v source
traffic_router_build"
Next I installed the packet "
traffic_router-2.2.0-7738.8f4d1ee2.el7.x86_64.rpm" on server.

/opt/traffic_router/conf/traffic_monitor.properties - Fill in Traffic
Monitor IPs
/opt/traffic_router/conf/traffic_ops.properties - Fill in Traffic Ops
username/password


Next "/etc/rc.d/init.d/tomcat start"

And then I got these error in
/opt/traffic_router/var/log/traffic_router.log:

WARN 2018-08-24T10:41:10.457 [pool-1-thread-1]
com.comcast.cdn.traffic_control.traffic_router.core.util.AbstractResourceWat
cher - [SteeringWatcher] Waiting for configuration to be processed, unable
to download from 'https://${toHostname}/internal/api/1.2/steering.json'
ERROR 2018-08-24T10:41:10.517 [pool-2-thread-1]
com.comcast.cdn.traffic_control.traffic_router.core.secure.CertificatesClien
t - No traffic ops hostname yet!

Any help would be appreciated !

 

 

Reply via email to