Skip to content

GLS broken since perfSONAR Lookup Server update on 2026-06-25 #237

Description

@mty22

Hi,

PWA GLS has been broken since this change:

From: perfsonar-user-request@internet2.edu <perfsonar-user-request@internet2.edu> On Behalf Of Sasank Maganti
Sent: Thursday, 25 June 2026 04:54
To: perfsonar-user@internet2.edu; perfsonar-developer@internet2.edu
Subject: Re: [perfsonar-user] perfSONAR Lookup Server — New Version Release Scheduled for Wednesday, June 24

[External Mail]

Dear perfSONAR Community,

The new perfSONAR Lookup Server has been successfully deployed.

The current endpoint remains active for querying :
http://35.223.142.206/lookup/_search

Thank you for your patience. Please do not hesitate to reach out if you experience any issues.
Best regards,
perfSONAR Team

Which resulted in hosts being marked as 'Stale':

Image

Looking into it a bit more.. the GLS is populated via cache (using this systemd unit):

https://github.com/perfsonar/psconfig-web/blob/master/psconfig-web-admin/perfsonar-psconfig-web-admin/deploy/systemd/perfsonar-psconfig-web-admin-cache.service

When invoking manually, this error appears:

Mon Jul 20 2026 04:20:49 GMT+0000 (Coordinated Universal Time) - info: processing datasource for expiration/duplication prevention:gls ................................................................................
Mon Jul 20 2026 04:20:49 GMT+0000 (Coordinated Universal Time) - info: lookup service label=GLS, type=global-sls, activehosts_url=http://ps1.es.net:8096/lookup/activehosts.json, query=?type=service
Mon Jul 20 2026 04:20:50 GMT+0000 (Coordinated Universal Time) - error:  message=failed to cache service from:http://ls.perfsonar.net/lookup/records statusCode:405, stack=Error: failed to cache service from:http://ls.perfsonar.net/lookup/records statusCode:405
    at Request._callback (/usr/lib/perfsonar/psconfig-web-admin/ui/api/pwacache.js:165:21)
    at Request.self.callback (/usr/lib/perfsonar/psconfig-web-admin/shared/node_modules/request/request.js:185:22)
    at Request.emit (node:events:513:28)
    at Request.<anonymous> (/usr/lib/perfsonar/psconfig-web-admin/shared/node_modules/request/request.js:1154:10)
    at Request.emit (node:events:513:28)
    at IncomingMessage.<anonymous> (/usr/lib/perfsonar/psconfig-web-admin/shared/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (node:events:627:28)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1358:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
Mon Jul 20 2026 04:20:50 GMT+0000 (Coordinated Universal Time) - info: updated 0 hosts
/usr/lib/perfsonar/psconfig-web-admin/ui/api/pwacache-expire-dedupe.js:408
                                service.activehosts_url +
                                ^

ReferenceError: service is not defined
    at Request._callback (/usr/lib/perfsonar/psconfig-web-admin/ui/api/pwacache-expire-dedupe.js:408:33)
    at Request.self.callback (/usr/lib/perfsonar/psconfig-web-admin/shared/node_modules/request/request.js:185:22)
    at Request.emit (node:events:513:28)
    at Request.<anonymous> (/usr/lib/perfsonar/psconfig-web-admin/shared/node_modules/request/request.js:1154:10)
    at Request.emit (node:events:513:28)
    at IncomingMessage.<anonymous> (/usr/lib/perfsonar/psconfig-web-admin/shared/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (node:events:627:28)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1358:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Following the bouncing ball here:

$ curl -s http://ps1.es.net:8096/lookup/activehosts.json | jq
{
  "hosts": [
    {
      "priority": 100,
      "locator": "http://ls.perfsonar.net/lookup/records",
      "status": "alive"
    }
  ]
}
$ curl -s http://ls.perfsonar.net/lookup/records | jq
{
  "detail": "Method Not Allowed"
}

I hope it helps.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions