Repository navigation
Done
Labels
ecp-wp4: M4.5ELIXIR Compute Platform WP4 milestone/deliverable this issue contributes topriority: highHigh prioritystatus: in progressCurrently being worked ontype: deliveryRelated to packaging, deployment etc.workload: hoursLikely takes hours to resolve
Description
Why?
The NVFlare hub's WES sends the federated learning tasks of each site to that site's TES, as listed in the sites file. Today both sites point at the FI TESK without a token. Once the FI TESK requires tokens (#35), the hub's tasks get 401. The WES already sends a token per site (elixir-cloud-aai/nvflare-wes-testbed, docs/setup/real-sites.md), so this is configuration only. Part of the parent issue.
How?
- For each run, take a fresh LS Login access token of a member of
ECP_CLN:EOC-ComputeorECP_CLN:ADMIN(D-377) from the environment of the shell, and write it astokenof each site into the sites file. The file lives only in the local state folder (mode 700) and in the Secretnvflare-wes-sites, and is deleted after the run. - Re-create the Secret, restart the hub, and run the probe and the job against the FI TESK, before and after Enable LS Login on the ELIXIR On-Cloud TESK deployments #35 (a TESK without auth ignores the header [to be confirmed by the first run]).
- Note in the runbook that a token lives 4 hours: one run per token, renewed between runs. Automatic renewal: elixir-cloud-aai/nvflare-wes-testbed (linked sub-issue of the parent).
- Record here (without tokens) that the hub's tasks run with tokens.
Acceptance criteria
- The probe and a federated run complete against the FI TESK with auth on.
Part of the ELIXIR Compute Platform WP4 sprint (M&Ds due end of December 2026).
Metadata
Metadata
Assignees
Labels
ecp-wp4: M4.5ELIXIR Compute Platform WP4 milestone/deliverable this issue contributes topriority: highHigh prioritystatus: in progressCurrently being worked ontype: deliveryRelated to packaging, deployment etc.workload: hoursLikely takes hours to resolve
Type
Projects
- StatusShow more project fieldsDone
Activity
uniqueg commentedon Nov 19, 2026
Pass 1, 2026-11-19 ~11:00 UTC: the NVFlare hub on Rahti ran with an LS Login access token of an
ECP_CLNmember astokenof both sites in the sites file (Secretnvflare-wes-sites; after the run the local copy was deleted and the Secret holds the file without token again).https://csc-tesk-noauth.rahtiapp.fi, without auth (200 without token).tests/probe_submit.pywithTES_TOKEN): taskCOMPLETE, FL port 30002 open, input ok, environment passed,/tmpwritable,/read-only (uid 1002390000, gid 0): the node can take part.9cfe6bb4:COMPLETEin about 90 s, NVFlare jobFINISHED:COMPLETED, global model written.Authorizationheader, as expected from tesk-api'snoauthprofile (anonymous, permit all, no token filter): confirmed by this run.token_fileoroauth, feat: renew the TES tokens of sites nvflare-wes-testbed#39) but not set up on Rahti.Pass 2 follows against the FI TESK with auth on, after #35; then the acceptance criterion is ticked and this issue closed.
uniqueg commentedon Nov 23, 2026
Note for pass 2: the FI TESK accepts tasks only from members of
elixir:ECP_CLN:EOC-Computeorelixir:ECP_CLN:ADMIN, not from members of the parentECP_CLNgroup alone. The token for the sites file must come from such a member; step 1 above ("anECP_CLNmember") is meant that way.[-]NVFlare hub: send tokens to the TES of the sites[/-][+]FI: NVFlare hub sends tokens to the FI TESK[/+]uniqueg commentedon Nov 24, 2026
Pass 2 done on 2026-11-24 with an LS Login token of an EOC-Compute member, auth on at the FI TESK: probe
COMPLETE(FL port open, input ok), and the federated run ae7742f2FINISHED:COMPLETEDwith site-1 on the FI TESK and site-2 on the CZ TESK (holdout accuracy 0.975). Details go into the testbed report (elixir-cloud-aai/nvflare-wes-testbed#10).