perfsonar / mesh-config

Centralized configuration framework for measurement points and GUIs
Apache License 2.0
2 stars 0 forks source link

faulty params on trace tasks: wrong local_address assignment #70

Closed igarny closed 7 years ago

igarny commented 7 years ago

Hi Andy In the GEANT production mesh I ended up with failing trace tests (source and destination swapped):

''' { "diags": "traceroute -q 1 -6 -s psmp-gn-owd-01-bud-hu-v6.geant.net -m 64 -N 64 -n psmp-gn-owd-01.gen.ch.geant.net 40", "result": null, "succeeded": false, "error": "\nbind: Cannot assign requested address\n" } ''' https://psmp-gn-bw-01-gen-ch.geant.net/pscheduler/tasks/f890d9f1-eb27-4079-abea-779df955da10/runs/33864053-db27-4c60-ab3d-91b120d3e3d9

meshconfig is:

packet_length 40 force_ipv6 1 packet_max_ttl 64 type bwtraceroute
target   psmp-gn-bw-01-lon2-uk-v6.geant.net
target   psmp-gn-bw-01-bud-hu-v6.geant.net

... target psmp-gn-bw-01-pra-cz-v6.geant.net target psmp-gn-bw-02-fra-de.geant.net local_address psmp-gn-bw-01-gen-ch.geant.net

name GEANT Mesh v7.7 agent_type remote-mesh
igarny commented 7 years ago

=> wrong task....this is for the latency interface, which also fails

here is the pscheduler task: 2017-06-01T11:15:30Z - 2017-06-01T11:15:30Z (Finished) trace --dest psmp-gn-owd-01.gen.ch.geant.net --ip-version 6 --length 40 --source psmp-gn-owd-01-bud-hu-v6.geant.net --hops 64 (Run with tool 'traceroute') https://psmp-gn-bw-01-gen-ch.geant.net/pscheduler/tasks/f890d9f1-eb27-4079-abea-779df955da10/runs/cc4f9032-04ec-42a4-9cde-f9fad2d800d1

igarny commented 7 years ago

the server is installed with:

perfsonar-meshconfig-agent.noarch 4.0.0.1-1.el6 @Internet2 perfsonar-meshconfig-shared.noarch 4.0.0.1-1.el6 @Internet2

igarny commented 7 years ago

I am looking at the possibility of issues in my config. It might have been some "old" tasks with bad config scheduled in a transition state or something?... Anyway... I have found reports of successful measurements on the reported case.

https://psmp-gn-bw-01-gen-ch.geant.net/pscheduler/tasks/fd4dc2f4-ded3-40d1-ac91-bd09caef8e03/runs/d473b06e-46ad-4cb3-b15d-1702a35a85b0
"diags": "traceroute -q 1 -4 -s psmp-gn-owd-01.gen.ch.geant.net -m 64 -N 64 -n psmp-gn-owd-01-bud-hu-v4.geant.net 40\n\ntraceroute to psmp-gn-owd-01-bud-hu-v4.geant.net (62.40.114.45), 64 hops max, 40 byte packets\n 1  62.40.106.168  0.186 ms\n 2  62.40.98.109  8.544 ms\n 3  62.40.98.46  21.512 ms\n 4  62.40.114.45  21.520 ms\n",
      "error": null,

and

https://psmp-gn-bw-01-gen-ch.geant.net/pscheduler/tasks/eb86ae9d-1fc2-4d69-91f9-e9ca20212862/runs/3086f9e0-5a88-4bc5-8756-4bb3c35f8b7f
"diags": "traceroute -q 1 -6 -s psmp-gn-bw-01-gen-ch.geant.net -m 64 -N 64 -n psmp-gn-bw-01-bud-hu-v6.geant.net 40\n\ntraceroute to psmp-gn-bw-01-bud-hu-v6.geant.net (2001:798:bb:2::52), 64 hops max, 48 byte packets\n 1  2001:798:fc00:12::5  0.862 ms\n 2  2001:798:cc:1201:1401::2  16.568 ms\n 3  2001:798:cc:1::11  21.522 ms\n 4  2001:798:bb:2::52  21.487 ms\n",
      "error": null,