Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Disable LookupService

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Disable LookupService


Chronological Thread 
  • From: Andrew Lake <>
  • To: eddie legbed <>
  • Cc:
  • Subject: Re: [perfsonar-user] Disable LookupService
  • Date: Tue, 3 Oct 2017 12:02:43 -0400
  • Ironport-phdr: 9a23:gmIgwhZ1hgPRYMeg1ngW5sX/LSx+4OfEezUN459isYplN5qZoM29bnLW6fgltlLVR4KTs6sC0LuG9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT6+bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjA58m7XhMt+g61VrhyiuhJx3ZLbbZqPO/ZiZK7QZ8kXSXZDU8tXSidPApm8b4wKD+cZIetYqZTyp0EQohqwGAKiAvngyjxWiXTr2qA1yeIhHhzG3QE7Ad0Oq27YrNPrO6cOSO24yrTDwzvEb/NTwzj96Y7Ifwg/rvGXR75wd9TeyVUpGgjYjVuQsZToMy6L2ukOqWSW4fBsWO2yh2I9qgx8oSCjytkwhoTNnI4YyVDJ+T9nzIooKtC0Ukx2bcKiHZBNrS+VLZF2TdknQ2xwuCY11LkGuZmjcSgE1psqyQTTa/icfIiM+B7jW+GRISlgiHJkfrKwmQqy/FC9xuHiVcS4ylhHojBKn9XRrHwA1h/e5tCCSvRn/0eh3TiP1xrU6uFBOU07j6zbJIMhw7MriJUTql7PHinol0XqlKOWbFkr+vC06+T7ZbXrvoecOJFuigHwKaQuncq/Dv4iMgQXQmib4vqz1Kf48E39QbVKleE2krLHvJzAJMQboLK5DBFP0oYl9Rm/Eymq3M4GknYaMVIWMC6A2oXlN1DDaPT1Av2yjxz4mTtmgf3CM7LrD5nABnfGmbblO7167hgP5hA0yIV24Z5OB65JBPvwVwelvdrUHzc0KEqyzvqxW4Y17Z8XRW/aWvzRC6jVq1Ldvu8=

Him,

My apologies, I think I got you confused with another thread. There is not a way to disable the lookup currently. The only way to do it currently would be to track down the call to is_host_registered in the code on your system and comment it out, but it will get overwritten on next update. I created an issue to track this option since this seems to come up enough that I can't keep the email threads straight :p

Thanks,
Andy



On October 3, 2017 at 11:48:01 AM, eddie legbed () wrote:

Hi Andy,

The DNS configuration is absolutely fine. resolv.conf has a single line of config made up of my DNS server. Hostnames are being correctly resolved and reverse queries unknown ip addresses time out as expected. 
My question is about the  HTTP GET to  http://ps1.es.net:8096/lookup/activehosts.json . This adds to the delay in the GUI loading up as the pages don't load until the request times out. Reason being that our ps Nodes are behind firewalls and are not allowed to access the internet.
I was just wondering if there was a way to stop pS from trying to reach ps1.es.net and thus speed up my page load times.

Thanks
Ade




On Tue, Oct 3, 2017 at 4:20 PM, Andrew Lake <> wrote:
Hi,

You can't disable the queries in the GUI. They are completely separate from the ls-registration-daemon. The queries it performs have a hard timeout of 5 seconds that can get thwarted by a broken DNS configuration. I believe as previously discussed in your case you have a broken DNS configuration on your host. You either need to remove the problematic hosts from /etc/resolv.conf (you could even just leave it empty I think) or get the DNS servers fixed. I suspect you will encounter other issues outside of the GUI if you continue as is. There is no requirement you have DNS configured, but contacting DNS servers that hang indefinitely or similar is going to cause issues.

Thanks,
Andy



On October 3, 2017 at 10:27:02 AM, eddie legbed () wrote:

Hi,
I may have asked this question before but not sure I've found the solution.How can I possibly disable the lookup service. I have ps nodes with no access to the internet and would like stop Ls registration queries to the global lookup service.

I have stopped/disabled perfsonar-lsregistrationdaemon.service without any success.

These Ls checks appear to delay the load up of the admin GUI as the page does not fully load up until the lookup to the global Ls eventually times out. 

See my web-admin log below
2017/10/03 13:48:37 (10011) DEBUG> Host.pm:477 perfSONAR_PS::Utils::Host::discover_primary_address - No primary address found
2017/10/03 13:48:37 (10011) DEBUG> Host.pm:484 perfSONAR_PS::Utils::Host::discover_primary_address - No primary ipv4 address found
2017/10/03 13:48:37 (10011) DEBUG> Host.pm:491 perfSONAR_PS::Utils::Host::discover_primary_address - No primary ipv6 address found
2017/10/03 13:48:37 (10011) DEBUG> Utils.pm:119 perfSONAR_PS::Client::Utils::send_http_request - Sending HTTP GET to http://ps1.es.net:8096/lookup/activehosts.json
2017/10/03 13:49:07 (10011) ERROR> LookupService.pm:110 perfSONAR_PS::Utils::LookupService::discover_lookup_services - Problem retrieving http://ps1.es.net:8096/lookup/activehosts.json: 500 timeout
2017/10/03 13:49:07 (10011) ERROR> LookupService.pm:158 perfSONAR_PS::Utils::LookupService::is_host_registered - Unable to determine ls_url
2017/10/03 13:49:07 (10011) ERROR> Host.pm:353 perfSONAR_PS::NPToolkit::DataService::Host::get_details - Unable to find host record in LS using hostname TESTSRVER


regards,
Ade




Archive powered by MHonArc 2.6.19.

Top of Page