Project

General

Profile

Actions

Bug #18887

closed

[federation] wb1 fiddlesticks in login federation

Added by Ward Vandewege about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-
Release relationship:
Auto

Description

https://workbench.tordo.arvadosapi.com/container_requests/tordo-xvhdp-fzp65jk7mjq2vw6

Oh... fiddlesticks.
Sorry, I had some trouble handling your request.

request failed: https://ce8i5.arvadosapi.com/arvados/v1/users?cluster_id=tordo&count=&include=&limit=9223372036854775807&offset=0&reader_tokens=%5B%22v2%2Ftordo-gj3su-anonymouspublic%2F383784b1c4068ee3dd621bf0c1175f873a84f40e%22%5D&where=%7B%22uuid%22%3A%5B%22ce8i5-tpzed-xo2k4i24bjzwedw%22%5D%7D: 401 Unauthorized: request failed: https://tordo.arvadosapi.com/arvados/v1/users?cluster_id=tordo&count=&forwarded_for=ce8i5-&include=&limit=9223372036854775807&offset=0&reader_tokens=%5B%22v2%2Ftordo-gj3su-anonymouspublic%2F383784b1c4068ee3dd621bf0c1175f873a84f40e%22%5D&where=%7B%22uuid%22%3A%5B%22ce8i5-tpzed-xo2k4i24bjzwedw%22%5D%7D: 401 Unauthorized: cannot use a locally issued token to forward a request to our login cluster (ce8i5) [API: 401]

Tordo is in a login federation with Ce8i5 as LoginCluster.

I launched this workflow from the command line, using the token from the workbench session. The env vars looked like:

export ARVADOS_API_TOKEN=v2/ce8i5-gj3su-redactedredacte/redactedredactedredactedredactedredactedredactedre
export ARVADOS_API_HOST=tordo.arvadosapi.com

Strangely, the error seems to be about workbench trying to access /users with the anonymous token.

Visiting the equivalent page on wb2 works fine:

https://workbench2.tordo.arvadosapi.com/processes/tordo-xvhdp-fzp65jk7mjq2vw6

Subtasks 1 (0 open1 closed)

Task #18895: review 18887-wb1-sends-v2-anonymous-tokenResolvedTom Clegg03/25/2022Actions

Related issues

Related to Arvados - Feature #18896: [controller] should log the uuids of all tokens for each requestResolvedWard Vandewege03/26/2022Actions
Related to Arvados - Feature #18897: [go services] should log the uuid of the token used for each request (and if available, the uuid of the associated user)NewActions
Related to Arvados - Bug #18936: [api] [controller] remove reader_token supportNewActions
Related to Arvados - Bug #18676: [api] handle anonymous token like system root token, removing need for db recordResolvedWard Vandewege02/11/2022Actions
Related to Arvados - Bug #18346: Login federation: request storm overwhelming login cluster rails api serverResolvedTom Clegg11/10/2021Actions
Actions

Also available in: Atom PDF