openziti / sdk-golang

Ziti SDK for Golang
Apache License 2.0
96 stars 15 forks source link

Ziti-Probe - New edge-routers are not detected #61

Closed emoscardini closed 4 years ago

emoscardini commented 4 years ago

Ziti-Probe doesn't get updated list of routers without restarting

Description: When a probe is running, it never starts to probe the new routers until the process is restarted.

To Replicate issue:

  1. Setup probe network
  2. Start probe client
  3. Add a new edge-router to the network and verify connectivity with edge ziti edge controller list edge-routers -j and fabric ziti-fabric list routers
  4. Query the data to see the new edge router never appears in the data curl -G 'http://localhost:8086/query?pretty=true' --data-urlencode "db=ziti" --data-urlencode "q=SHOW MEASUREMENTS"

Once you restart the process the data is gathered and inserted into the DB.

Environment:

OS: Centos 7.8 Ziti Version: 14.2

emoscardini commented 4 years ago

Along the same lines, I also found that if any of the routers to which the probe is connected, are restarted, the probe no longer gathers data from those until the probe is restarted.