Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] Lookup service fails

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] Lookup service fails


Chronological Thread 
  • From: Purna Mididuddi <>
  • To: Andrew Lake <>, "Garnizov, Ivan (RRZE)" <>, "" <>
  • Cc: Purna Mididuddi <>
  • Subject: RE: [perfsonar-user] Lookup service fails
  • Date: Thu, 8 Dec 2016 19:24:12 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:UnicSBSyqTYkd6TkJpRh4CVNutpsv+yvbD5Q0YIujvd0So/mwa67ZhSPt8tkgFKBZ4jH8fUM07OQ6PG7HzFcqsve+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG4oAnLtsQbjoRuJ6YzxxDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKiU0+3/LhMNukK1boQqhpx1hzI7SfIGVL+d1cqfEcd8HWWZNQsNdWipPDYOma4sEEvQPM+BWoYLgo1cDox6yCA+xD+3t1zBInGf7060k3eo8DQHI0g8uH9wMv3TVsNr6O7wfXvqpwKXU1zjPc+9a1DX75YPVch4hu/aMXbdofMTL1EkvDQXFgU+NooLiPjOay+UNvHWG7+V9SO2vinMspgZpojiqx8cjl4jJiZ8Iyl/Z7ih03Zw1JdqkR0FhfNGrDoFcuD2dN4tzW84vRXxjtig9yr0Do5G7fS4KxYw5yB7EcfCHdZaH4g77WOaLPzh3mHVleKiiiBap6USg0vf8Vs6z0FZEtipFldjMtnYR1xDJ9seHTf598l+72TaJzwDf8PpLIVosmaXBN5Eh3r8wloQNvkTDGS/2g1n2jLSMekUm4eio7OLnbq38qZCGLY90jB/xMrg0lsy5H+s4LhICUHKG+eikz73s50v5QK9Ugf0wiKXWqozVKd4ap6GjBQJez4Ut6w6nAju40dkUg2ULIVdYdB6bk4TkPlXDLOzkAfuihlmhki1kyvXDM7H8GpnBM2TPnK38cbpj90JQ0gg+wN5F659aCrwNOPzzVVHyudDECxI0NgO5zubpBdhy044RQn+DD62bPa7XrFOE+uAiLPOJaYAOpDnyNvso6vjzhnEjg1AdZ7Om3Z4PZXC4APtmJ0KZbGLpgtYODWsFpBMyQPD2hFGeXz5fe3W/U74h6j0hEIKmFYfDRoe2gLydwii0A4daaXxBClCJCXvodoOEVOkQaC+KPMNskyIIWaSkRoM8yR2iqAr3xr57IubI5yEVsJDu28Jw6uDWiB0+7Tl0AN6c02GJQWF0hGQIRzou0aBnpEx9y0qM0alljPxFCNNe/OhGUh09NZHA1eN1Fs79VhjdcdeOTVaqWs+mDi0pTtIt398OZF5wG828gRDZ0SqqGLgVl7qRC5wu667cwmPxKNhny3vd0KkhjkImQtdUNWG4nKJ/9g7TB5LXnEWDkaala7gc0DDX+Gid0GWOoRIQbAkleKPJR30ALm/frtmxskrEQ66GBK9hNAZdn4rKYIRDcNvon1JYAL/CJt3YKyKLoVWdRFzAkrKSZYysdGwH2iTPD1YsnQkOu3qLY0x2TD+suWzFCzpnDxfyeE722eh4tH6hSEIolUeHY1Arn+6t9wQbnvuaQulWw6kJog8grSl5BlCww4iQBtad8VlPZqJZNOsg+lFOnUfYuw1xI5CsLug2nlsffwV7ok/G/Q9wAYxMnI4hq3Z8n1k6Er6RzF4UL2DQ5pv3ILCCbzit8Q==

Thanks a lot Andrew and Ivan for the responses.

 

I’m trying this from a server in a corporate network. Most likely I’m behind a firewall (tried activehosts.json from home and that worked).

Added the ls_instance per Andrew’s suggestion. Also enabled the private IPs config (allow_internal_addresses     1).

 

Now I’m seeing the below issues. Is it because I have a private IP? Since I’m running from a corporate network, I cannot assign a public IP for this host. Is there a way to get around this. Thanks for the support.

 

2016/12/08 10:19:28 (8988) WARN> MA.pm:92 perfSONAR_PS::LSRegistrationDaemon::Services::MA::init_dependencies - Unable to get MA tests 404 Not Found

2016/12/08 10:19:28 (8988) INFO> Base.pm:257 perfSONAR_PS::LSRegistrationDaemon::Base::refresh - Record is up, registering (description=em1)

2016/12/08 10:19:29 (8988) ERROR> Base.pm:312 perfSONAR_PS::LSRegistrationDaemon::Base::register - Problem registering service. Will retry full registration next time: 500 Status read failed: Connection reset by peer(key=NONE, description=em1)

2016/12/08 10:19:29 (8988) INFO> Base.pm:257 perfSONAR_PS::LSRegistrationDaemon::Base::refresh - Record is up, registering (description=10.24.11.23)

2016/12/08 10:19:29 (8988) ERROR> Base.pm:312 perfSONAR_PS::LSRegistrationDaemon::Base::register - Problem registering service. Will retry full registration next time: 500 Status read failed: Connection reset by peer(key=NONE, description=10.24.11.23)

2016/12/08 10:19:29 (8988) INFO> Base.pm:257 perfSONAR_PS::LSRegistrationDaemon::Base::refresh - Record is up, registering (description=Purna Co. Ping Responder)

2016/12/08 10:19:29 (8988) ERROR> Base.pm:312 perfSONAR_PS::LSRegistrationDaemon::Base::register - Problem registering service. Will retry full registration next time: 500 Status read failed: Connection reset by peer(key=NONE, description=Purna Co. Ping Responder)

2016/12/08 10:19:29 (8988) INFO> Base.pm:257 perfSONAR_PS::LSRegistrationDaemon::Base::refresh - Record is up, registering (description=Purna Co. Traceroute Responder)

2016/12/08 10:19:29 (8988) ERROR> Base.pm:312 perfSONAR_PS::LSRegistrationDaemon::Base::register - Problem registering service. Will retry full registration next time: 500 Status read failed: Connection reset by peer(key=NONE, description=Purna Co. Traceroute Responder)

2016/12/08 10:19:29 (8988) INFO> Base.pm:257 perfSONAR_PS::LSRegistrationDaemon::Base::refresh - Record is up, registering (description=Purna Co. OWAMP Server)

2016/12/08 10:19:29 (8988) ERROR> Base.pm:312 perfSONAR_PS::LSRegistrationDaemon::Base::register - Problem registering service. Will retry full registration next time: 500 Status read failed: Connection reset by peer(key=NONE, description=Purna Co. OWAMP Server)

2016/12/08 10:19:29 (8988) INFO> Base.pm:257 perfSONAR_PS::LSRegistrationDaemon::Base::refresh - Record is up, registering (description=Purna Co. BWCTL Server)

2016/12/08 10:19:29 (8988) ERROR> Base.pm:312 perfSONAR_PS::LSRegistrationDaemon::Base::register - Problem registering service. Will retry full registration next time: 500 Status read failed: Connection reset by peer(key=NONE, description=Purna Co. BWCTL Server)

2016/12/08 10:19:29 (8988) INFO> Base.pm:273 perfSONAR_PS::LSRegistrationDaemon::Base::refresh - Record is down (key=NONE, description=Purna Co. NDT Server)

2016/12/08 10:19:29 (8988) INFO> Base.pm:273 perfSONAR_PS::LSRegistrationDaemon::Base::refresh - Record is down (key=NONE, description=Purna Co. NPAD Server)

2016/12/08 10:19:29 (8988) INFO> Base.pm:257 perfSONAR_PS::LSRegistrationDaemon::Base::refresh - Record is up, registering (description=Purna Co. Measurement Archive)

2016/12/08 10:19:29 (8988) ERROR> Base.pm:312 perfSONAR_PS::LSRegistrationDaemon::Base::register - Problem registering service. Will retry full registration next time: 500 Status read failed: Connection reset by peer(key=NONE, description=Purna Co. Measurement Archive)

2016/12/08 10:19:29 (8988) INFO> Base.pm:257 perfSONAR_PS::LSRegistrationDaemon::Base::refresh - Record is up, registering (description=Purna Co. BWCTL Measurement Point)

2016/12/08 10:19:29 (8988) ERROR> Base.pm:312 perfSONAR_PS::LSRegistrationDaemon::Base::register - Problem registering service. Will retry full registration next time: 500 Status read failed: Connection reset by peer(key=NONE, description=Purna Co. BWCTL Measurement Point)

2016/12/08 10:19:29 (8988) INFO> Base.pm:257 perfSONAR_PS::LSRegistrationDaemon::Base::refresh - Record is up, registering (description=Purna Co. OWAMP Measurement Point)

2016/12/08 10:19:29 (8988) ERROR> Base.pm:312 perfSONAR_PS::LSRegistrationDaemon::Base::register - Problem registering service. Will retry full registration next time: 500 Status read failed: Connection reset by peer(key=NONE, description=Purna Co. OWAMP Measurement Point)

 

Thanks,

Purna

 

From: Andrew Lake [mailto:]
Sent: Thursday, December 08, 2016 3:48 AM
To: Purna Mididuddi <>; Garnizov, Ivan (RRZE) <>;
Subject: RE: [perfsonar-user] Lookup service fails

 

Hi,

 

The lsregistrationdaemon by default bootstraps (i.e. gets the list of available lookup services) by downloading the a file at http://ps1.es.net:8096/lookup/activehosts.json. It appears to be available. If you have a proxy or firewall blocking access to that outgoing port, it may be the cause of your issue. If that is indeed the case, a workaround is to add “ls_instance http://ps-west.es.net:8090/lookup/records” to the top of your /etc/perfsonar/lsregistrationdaemon.conf file.

 

Hope that helps,

Andy

 

 

 

On December 8, 2016 at 4:58:02 AM, Garnizov, Ivan (RRZE) () wrote:

I just wanted to add this:

curl http://ps-west.es.net/lookup/activehosts.json
{"hosts":[{"priority":100,"locator":"http://ps-west.es.net:8090/lookup/records","status":"alive"},{"priority":100,"locator":"http://ps-east.es.net:8090/lookup/records","status":"alive"},{"priority":100,"locator":"http://monipe-ls.rnp.br:8090/lookup/records","status":"alive"},{"priority":100,"locator":"http://ps-sls.sanren.ac.za:8090/lookup/records","status":"alive"},{"priority":100,"locator":"http://nsw-brwy-sls1.aarnet.net.au:8090/lookup/records/","status":"alive"}]}

Regards,
Ivan Garnizov

GEANT SA1T2: pS deployments GN Operations
GEANT SA2T3: pS development team
GEANT SA3T5: eduPERT team

-----Original Message-----
From: [mailto:] On Behalf Of Garnizov, Ivan (RRZE)
Sent: Donnerstag, 8. Dezember 2016 10:49
To: ;
Subject: RE: [perfsonar-user] Lookup service fails

Hi Purna,

Please share your lsregistrationdaemon.conf, since I would not expect to have it registering with port 8096, but with 8090.

Regards,
Ivan Garnizov

GEANT SA1T2: pS deployments GN Operations
GEANT SA2T3: pS development team
GEANT SA3T5: eduPERT team


-----Original Message-----
From: [mailto:] On Behalf Of
Sent: Donnerstag, 8. Dezember 2016 09:43
To:
Subject: [perfsonar-user] Lookup service fails

Hi,
I'm new to perfSONAR. Would appreciate any help.
I've installed the ps-testpoint on Ubuntu 14. Followed all the instructions in http://docs.perfsonar.net/install_debian. Made basic changes to /etc/perfsonar/lsregistrationdaemon.conf.
After starting the etc/init.d/perfsonar-lsregistrationdaemon service, seeing the below logs in /var/log/perfsonar/lsregistrationdaemon.log.

2016/12/08 00:27:41 (6209) ERROR> LookupService.pm:113 perfSONAR_PS::Utils::LookupService::discover_lookup_services - Problem retrieving http://ps1.es.net:8096/lookup/activehosts.json: 500 Status read
failed: Connection reset by peer
2016/12/08 00:27:41 (6209) WARN> lsregistrationdaemon.pl:144 main::__ANON__ -
Warned: Use of uninitialized value $current_ls_instance in concatenation (.) or string at /usr/lib/perfsonar/bin/lsregistrationdaemon.pl line 257.
2016/12/08 00:27:41 (6209) INFO> lsregistrationdaemon.pl:257 main:: - Initial LS URL set to
2016/12/08 00:27:41 (6209) ERROR> lsregistrationdaemon.pl:301 main:: - Unable to determine ls_instance so not performing any operations


A curl request on http://ps1.es.net succeeds but fails with connection reset by peer when curl'ing on http://ps1.es.net:8096

Please help.

Thanks,
Purna




Archive powered by MHonArc 2.6.19.

Top of Page