Repository navigation
Description
Why?
Only if the DE Node chooses TESK (#169). The BIH TESK already requires tokens, but which issuer and rule it checks isn't recorded, and its test task failed on 2026-11-21: the taskmaster got 401 Unauthorized from the Kubernetes API when it created the task's PVC (elixir-cloud-aai/nvflare-wes-testbed#3). The gateway can use it with the same settings as the FI and CZ TESKs (#35, #122, #111, #138).
How?
Use TESK chart 0.4.0 with tesk-api 2.0.0, the latest releases. Follow Tutorial: Onboard a Node, steps 2, 3 and 7, and the TESK docs it links: Authorisation by a claim and Tokens of services. The auth values that the FI and CZ TESKs run:
auth:
mode: auth
userInfoUri: https://login.aai.lifescience-ri.eu/oidc/userinfo
claim:
enabled: true
name: eduperson_entitlement
values:
- "urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:EOC-Compute#aai.lifescience-ri.eu"
tokenClients:
enabled: true
issuer: https://login.aai.lifescience-ri.eu/oidc/
audience: 7c0c1fc0-e8ca-47d6-a9b2-bdc843961146
claim: client_id
clients:
- 7c0c1fc0-e8ca-47d6-a9b2-bdc843961146- Only members of
ECP_CLN:EOC-Computecreate tasks; notECP_CLN:ADMIN, not the parentECP_CLN(values in LS Login: record the ECP_CLN entitlement values #46). tokenClientslets the gateway in:7c0c1fc0-…is proTES' LS Login client, whose client credentials tokens carry its own client ID asaud(proTES: get client credentials tokens from LS Login #136).- Keep
GET /service-infopublic (the default): the registry syncs from it. - Fix the taskmaster's 401: check that the taskmaster's service account exists and that its token is mounted (TESK docs, Requirements).
- If the namespace has a LimitRange, read fix: set resource limits on executor containers tesk-api#234 first: under one, tasks can hang.
- No tes-authz: tesk-api 2.0.0 checks the claim itself. The redesign with tes-authz (tesk-api 2.1.0, chart 0.5.0) isn't released, and its values differ; stay on chart 0.4.0 until its upgrade notes say how to move.
Acceptance criteria
- The BIH TESK runs chart 0.4.0 and tesk-api 2.0.0 with the values above.
GET /taskswithout a token or with an invalid one returns401;GET /service-infoanswers without a token. - A task created with a token of an
ECP_CLN:EOC-Computemember runs toCOMPLETE. - The settings are recorded here (no secrets).
If #169 chooses Poiesis, close this issue as not planned.
Part of the ELIXIR Compute Platform WP4 sprint (M&Ds due end of December 2026).
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
vschnei commentedon Dec 3, 2026
Done on 2026-12-02 (Helm revision 10; revision 11 only changed the service info). The BIH TESK runs chart 0.4.0 with tesk-api 2.0.0 and the auth values above: claim rule for ECP_CLN:EOC-Compute only (ECP_CLN:ADMIN removed), auth.tokenClients for proTES' client 7c0c1fc0-… (issuer LS Login, audience = client ID, claim client_id). Additionally set: auth.groups (claim eduperson_entitlement) and auth.envBaseGroup elixir:ECP_CLN:EOC-Compute.
GET /service-info answers 200 without a token; GET /tasks without or with an invalid token returns 401. A task created with a member token ran to COMPLETE (task-58b5ea7a).
Taskmaster 401 of 2026-11-21: caused by clock skew between API server instances of the control plane (up to 483 s), gone since its restart on 2026-11-24. The service account exists, its token is mounted, and it may create PVCs and jobs. The namespace has no LimitRange and no ResourceQuota.