perfsonar-user - Re: [perfsonar-user] Disable LookupService
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: eddie legbed <>
- To: Andrew Lake <>
- Cc:
- Subject: Re: [perfsonar-user] Disable LookupService
- Date: Tue, 3 Oct 2017 16:47:56 +0100
- Ironport-phdr: 9a23:5fclaB3yUy37woAGsmDT+DRfVm0co7zxezQtwd8ZseIWL/ad9pjvdHbS+e9qxAeQG96Ku7Qc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q89pDXYAhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLniikHOT43/m/Ul8J+kr5UrQm7qBBj2YPZep2ZOOZ8c67bYNgURXBBXsFUVyFZHIyzcpYAD+sfMu1Fq4nyuVQOogCgCgaxGejizSVHiWLo0qEgzeshFR/J3AM7EN0QrXvbss74NKgXUe+vzanIyS/PYO9R2Tf48YXFdA0qr/+LXbJ1a8XRyE8vGhvbgVWLs4DlOS2a1vgLvmOG7ORgTfqih3A9pA1tvjSiw9ogh4bJi44Jz13J+jl1zJopKtC9VEF3fcKrHZ5Vui2EOYZ7TMUvSHxytikg0L0Jo5u7cTAKyJs5wx7fbOSKc42S7RLiUOadODl5hGh5dL6miBe+70atx+PmWsm711ZKqSVFkt3SuXwXyxPT7c2HRuN8/kenxzmPyxje5v9eLkwoiabWLoMtz7Ewm5YPtEnOETP6lFnqg6KTakoo5vSn5uHib7n4qJKROZd4igTkPaQvnsy/D/44Mg8LX2WD4+uzyaPs8VfnT7VOkPI2nbLWv47HKssFvaO5DApV3Zwi6xa7FTupzNMYnXwfIFJfZB2Hl5TpO03JIP3gFfewnU6skDlwx/DBOL3uGI/NImHekLf6Y7l98VVRyA4yzdBE+5JUEa8NLOjyWk/3qNzXEAU5MwqqzOb7FtlxzJ0RVn+SAvzRDKSHmFmE/O8wa82FZ4Jd7D/7J+kN6uWoi3IlzwwzZ66siJYbZHG1VvBrLE+UbTK4i9sMV2oOswU0QeDnoFKHWD9XIX21WvRvtXkAFIu6ANKbFciWi7ub0XLjEw==
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 below2017/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 timeout2017/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
- [perfsonar-user] Disable LookupService, eddie legbed, 10/03/2017
- Re: [perfsonar-user] Disable LookupService, Andrew Lake, 10/03/2017
- Re: [perfsonar-user] Disable LookupService, eddie legbed, 10/03/2017
- Re: [perfsonar-user] Disable LookupService, Andrew Lake, 10/03/2017
- Re: [perfsonar-user] Disable LookupService, eddie legbed, 10/03/2017
- Re: [perfsonar-user] Disable LookupService, Andrew Lake, 10/03/2017
Archive powered by MHonArc 2.6.19.