Project

General

Profile

Actions

Bug #16888

open

Federate container token cannot access resources on other clusters

Added by Peter Amstutz over 3 years ago. Updated about 1 year ago.

Status:
In Progress
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Story points:
-

Description

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

This fails, despite the fact that when accessing the collection by other means (both "arv collection get" and arv-mount) the user is able to go through tordo and fetch the collection from ce8i5 (i.e. federation works as intended).

I think what is happening here is that the container gets issued a new temporary token, that token belongs to the federate cluster not the LoginCluster, and so it can only be used to access resources on the federate but not other clusters in the federation.

So that's a bug / missing feature that in this situation.

When the user's token belongs to a LoginCluster, controller needs to request a new token from the LoginCluster instead creating a local one. This should be set as the "runtime token" on the container request, along with a new(?) flag to indicate if the runtime token should be expired when the container request is finished.


Subtasks 2 (2 open0 closed)

Task #19121: ReviewNewPeter AmstutzActions
Task #19242: Engineering discussion about desired solutionNewActions

Related issues

Related to Arvados - Idea #18973: Test combinations of federation scenariosNewActions
Actions

Also available in: Atom PDF