Skip to content

CZ: connect proTES to our CZ TESK #138

Done

Description

@uniqueg

Why?

Our own TESK on the CZ Node (#122) requires LS Login tokens from the start. proTES calls its backends with its own client credentials token (#136), so the CZ TESK has to accept proTES' client, and proTES has to list it. This is the CZ step only; it doesn't wait for the other Nodes (FI #111, DE #126). Split off from #122 step 6. Part of #108 (CZ row).

How?

  1. Set proTES' client in the CZ TESK's allow-list of token clients, with the claim recorded in proTES: get client credentials tokens from LS Login #136. Keep the user-token settings of CZ: deploy our own TESK (elixir-tes-ns) #122 (only elixir:ECP_CLN:EOC-Compute and elixir:ECP_CLN:ADMIN may run tasks).
  2. Add the CZ TESK to proTES' backends with auth: client_credentials, and run proTES' integration check against it (a task that completes, one that fails, one cancelled).
  3. Check that a direct request with proTES' token is accepted, and that a user token still is too.
  4. Record the configuration here (no secrets).

Rollback: remove the CZ TESK from proTES' backends; the TESK keeps requiring tokens.

Acceptance criteria

  • Tasks sent to proTES run on the CZ TESK with proTES' service token; the integration check passes.

Dependencies: #122 (the CZ TESK), #136 (proTES' client credentials token).


Part of the ELIXIR Compute Platform WP4 sprint (M&Ds due end of December 2026).

Activity

  1. added
    status: blocked
    priority: high
    type: delivery
    workload: hours
    ecp-wp4: M4.4
    on Nov 23, 2026
  2. moved this to Backlog in ELIXIR On-Cloudon Nov 23, 2026
  3. uniqueg commented on Nov 26, 2026

    @uniqueg
    MemberAuthor

    Done on 2026-11-26. proTES (revision 13) sends tasks to both https://tesk.rahtiapp.fi and https://tesk.dyn.cloud.e-infra.cz with client_credentials. V2-CZ, the integration check pinned to the CZ TESK, passed for a task that finishes, one that fails, one cancelled while running and one cancelled right away. The CZ token check V1-CZ had passed on 2026-11-25: proTES token 200, and the token can neither read, list nor cancel user tasks. Post-checks: the four taskmaster jobs ran at CZ, and the logs of proTES and its worker show no backend auth errors. Together with #111, proTES now has two Nodes (FI, CZ) for the chain test #44.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ecp-wp4: M4.4priority: highstatus: blockedtype: deliveryworkload: hours

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions