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: Andrew Lake <>
  • To: Purna Mididuddi <>, "Garnizov, Ivan (RRZE)" <>, "" <>
  • Subject: RE: [perfsonar-user] Lookup service fails
  • Date: Thu, 8 Dec 2016 15:52:50 -0500
  • Ironport-phdr: 9a23:TnE6nRzBnJF+YnXXCy+O+j09IxM/srCxBDY+r6Qd0uoTKvad9pjvdHbS+e9qxAeQG96KsLQZ16GI7ejJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMijexe7N/IRq5oQjQt8QdnJdvJLs2xhbVuHVDZv5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJXAjImM3so5MLwrhnMURGP5noHXWoIlBdDHhXI4wv7Xpf1tSv6q/Z91SyHNsD4Ubw4RTKv5LpwRRT2lCkIKSI28GDPisxxkq1bpg6hpwdiyILQeY2ZKeZycr/Ycd4cS2VBRMJRXDFfDI26YYUEEu4NMfhdo4T7ulAArwaxBRO0Ce3vyDBIiHj40qI03eoiDA/IwhAvEskUv3jIttj4Lr0fXfy3waTO0D7Nb+lW2TD46IXQbh0hp+yDXahufsvf1EIhERnKjlaOpof4OD6azOINvHWb7ud7S+2vkHQrqwdvrTiz38ohjJTCiIwSylDB7yp5wYA1KMWmR05ge9KkFoVftz2CO4tsXMwtX2ZouDwnxb0doZK7ZDIKyJMgxx7Rc/yHdImI4hT/VOqLPTh4g3dldKqlhxa06Uis0PbzVtOs3FlQsiVFjtjMtm4T2BzT7ciHUed9/ly71TaNzADT7edELVgumqXBMZ4hxKA/loYJvUTFACD2hF/6g7WLdkk84ein8eLnYq/4qZ+aLYN7kB3xPr4vm8OlB+kzLwsAX3CD9OihyrHu/lf1TbtQgvA5j6XVqpHXKMcDqqKnHwNY1pwv5hW/Aju8ztgUgHcKIEhHdR6ZiYXiJkvAL+riDfilhlShiDdryO7CPr3mGpjNIGbMnbn7cbZ58EFczBA/zd9Y55JKEr0BIfTzVVHttNHAExM1LQ+5z/zpBdln2Y4SRHiDD66aPa/KtF+H/OMvI+2CZI8Pvzb9LuAo6OTojXAkmV4QZrem3YANZHC+APtmP12VYWDwjdcZDWcKog0+QfTyiFKcSz5TaW2yX6U65j4hEoKqFJrDRpuzj7ybxyq7GpxWZntaClCXD3vkbYSEW/EQaC2MOM9hlCILVaS/R4M7yx6hqRL6mPJbKb/s5zcevNrG1dR06/DfmRB6oSRxDsic33yBZ2tumWgBSzJw16d69wg1gHiKy655kftGUZRy+fpPGkcAD6zxjqYyX9HsUwSHcd6TTle0RcuODzgsCN48lZtGKV5wAdu5iRbKxW+3GLIPv72NGJEu9K/AhT78K9s3gyLe2bMvlF4gS9EKKHarnIZ+8RTeHYjEjx/fmqq3I/cyxinIoU6FwXCDowl8WQ19GfHMW3wOTkbN69L0+hWRHPeVFb07P14Zmoa5IaxQZ4is3AVL

Hi,

Looks like it might not like connections to http://ps-west.es.net:8090/lookup/records. You can verify that as well with:


Unfortunately don’t have a good way around that. On the other hand, its nice to register from the perspective of knowing who is running the software, but if your host is running a private IP address, no one can reach it anyways to test so its probably not critical it gets registered.

Thanks,
Andy



On December 8, 2016 at 2:24:21 PM, Purna Mididuddi () wrote:

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