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 <>,
  • Subject: Re: [perfsonar-user] Disable LookupService
  • Date: Tue, 3 Oct 2017 11:20:08 -0400
  • Ironport-phdr: 9a23:noHKTRAbpSXWw7Z9wvaBUyQJP3N1i/DPJgcQr6AfoPdwSPv9osbcNUDSrc9gkEXOFd2CrakV26yO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMhzexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJNzw28G/QhMN/gqxVow+vqQJjzIPPeo6ZKOBzc7nHcN8GR2dMWNtaWSxbAoO7aosCF/YMPeBFoInnuVQPowa1Cw+2C+Ps1DBDm3j70rc80+s8EQDLxxIvH8kUvHTSstr1KL4fXOaox6fGyjXDaulZ2Tb76IXQbB8huuuAXbRufsrN0UUgCRjFgk+KpYzjITyVyuIAuHWY4ep4Te+jlnArpgJrrjWh3MshhZTFipgUx13H7Sl13po5KNmiREN4YdOoCoVcuz+UOodsX88vR2JltSAnwbMco5G7ZjIFyJE/yh7fdfOHd4+I7wrtVOmPLzp0nnZld6m7hxqo/kigzfP8WtG10FZMsCVFjsHBum0T2xHQ8MSKROFx80i81TqV1g3e6flIIUUumqraL54hzKQwlp0WsUnbBCD2nlj5ja+Ne0o64eik8eLnbav6ppOELY97lhn+Mrgymsy4Gek4KhYBX3KV+eSn073j+1f2QK9Tgv0rianWroraKN8fpq64GA9Vzp0j5wilAzen1tQYgWcILEhDeB2Zk4jlJUvCL+7lAvei0ByQl2Jmy/zHM/XlD5rHI3SLxL7tcPBw70NTwgc/wPhQ4ptVDvcKJ/elHgfpucbWFRg/Ohbx3v3qEv180J8TQ2SCHvXfPa/P4nGS4ed6Cu+AfoIK8BL0KPVts/fogW4RlERbe6S1i8hEIEukF+hrdh3KKUHnhc0MRD8H

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