You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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-Compute or ECP_CLN:ADMIN (D-377) from the environment of the shell, and write it as token of each site into the sites file. The file lives only in the local state folder (mode 700) and in the Secret nvflare-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).
Pass 1, 2026-11-19 ~11:00 UTC: the NVFlare hub on Rahti ran with an LS Login access token of an ECP_CLN member as token of both sites in the sites file (Secret nvflare-wes-sites; after the run the local copy was deleted and the Secret holds the file without token again).
FI TESK: https://csc-tesk-noauth.rahtiapp.fi, without auth (200 without token).
Probe (tests/probe_submit.py with TES_TOKEN): task COMPLETE, FL port 30002 open, input ok, environment passed, /tmp writable, / read-only (uid 1002390000, gid 0): the node can take part.
Run 9cfe6bb4: COMPLETE in about 90 s, NVFlare job FINISHED:COMPLETED, global model written.
A TESK without auth ignores the Authorization header, as expected from tesk-api's noauth profile (anonymous, permit all, no token filter): confirmed by this run.
Note for pass 2: the FI TESK accepts tasks only from members of elixir:ECP_CLN:EOC-Compute or elixir:ECP_CLN:ADMIN, not from members of the parent ECP_CLN group alone. The token for the sites file must come from such a member; step 1 above ("an ECP_CLN member") is meant that way.
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 ae7742f2 FINISHED:COMPLETED with 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).
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).