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 22:01:00 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:X+lVTRGG7/V8m0IxcYy4l51GYnF86YWxBRYc798ds5kLTJ76pcm4bnLW6fgltlLVR4KTs6sC0LuN9f28EjNZqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLd8IRmsrQjcucYajIl/Jq0s1hbHv3xEdvhMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTDQhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlTwKPCAl/m7JlsNwjbpboBO/qBx5347Ue5yeOP5ncq/AYd8WWW9NU8BfWCxbBoO3cpUBAewPM+1Fq4XxuV4CoB2jDgeuGezv0CdFiH/o06Mnz+QvHwLI3AIiENIPrHvbo874O70OXeyp1qTE0SnPYvFQ1Dzg6IbIaBchofSUULxqbMrR008vGBnYhVuXqIzqIjKV2fkQs2eG8uVgVP+khmk/qwF0ozig28YshZTUho0I0V3J6D95wIEpKtKiVUF0f8SoH4dXtyGfLoZ7RN4pTW9vuCY/0LIGuJi7cTAUx5Q83RLfbeKIc5SQ7hL5SumePTB4hGh4d7Kknxqy6VKgyur7Vsm6yFZKqStFkt/QtnwXyxPT7c2HRuNn/kenwTaDzRvc6vtcLU8uiaXbN58hwqAumZoTtkTDBTP2mF7sgK+UbUUk/e6o5/z9Yrr4upCcMJV0hRzlMqg3lMG/D/g4MwgWX2eF4Oix2qDs/U3+QLVRkv06irPWv4rAJcQduKG5HxVZ0oA95BajFTupyskYkWEcLF1ffhKHlZbmO1fULP/iEfizmVWtny1tyvvbPbPhGo3AImbCnbv/Ybpw7lNQxBYvwd1a459YFq0NLfL2V0LzqdDVCxo0PxGsz+r6FNlxzJ4SVXyTDqODMq7fv0WE6+wvLuWUao8apjXwJ+Qg6vPrgnI0mVEQcKas0JQMdXy1HPZrLkCEbXbwgNoOC2IHsREiQ+P3i1CPVyNYaWyoUKIm/D47DZqrDYfdSYCph7yMxCK7H5JKam9cE1yADWvke5mKW/sQay+ePtJtniYcVbi5S48h0gqutBPkxLV6NObb5ioYtZf72Nh04e3ciw0y+CRqA8mczW2BU2R5kn4USzMq2a1ypVBxxkuD3KV9gfFUCNle6vZUXgsiMJ7T1e16C9T8WgLbedeJTU6rQs2jATEwU90xwsIBY1tgFNi5lR/DxS2qDKMPmLOWGpM46L7T33/0J8pl0XbJyLEhj0U6QstILWCmnrBw9xLdB47SlEWZkbyldb4F0C7Q72eM03COsVpcUA5xSqXFQWsfalXModT44EPCU6GhCa4hMgRf1c6ONLFGZcP0glVbF7/fP4H3ZW6rlnj4IR+Ly/vYZYzmak0Qx2PbBVRS10hZ0n+cMwksATnl60PABTomVWjVUW6tu6EqqW2ySAk7xhuMbl9myZK78wNTifHKD7tZxr8etjwmrTxuWUum0sj+CtycqhBncbkGJ94x/R0PgXrUrQJmOZqpNeV/nVMEWwVxo0700RhrUMNNndV8/10wyw8nEb+C1loJUjKU3JztNrHWYj3q+RGjaqLL1nn0ytGd86sCrv8/rgOw70mSCkM+/iA/gJFu2HyG68CPXVof

Hi Andy,

Yes the curl on :8090 isn’t working either.

We just began testing out perfsonar and will eventually move to hosting the software (with a public IP) so others can reach. But for now, I’m looking to start off by doing the tests to the servers that are already hosted.

If not hosting the service, will I be able to run the basic tests like bwctl, owamp (the “perfsonar-notes”) manually from the private network?

 

Thanks,

Purna

 

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

 

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