Bug #16343
closed[controller] bad routing of container_requests#create call when LoginCluster is in use
100%
Description
In source:lib/controller/fed_containers.go a "create container request" call is supposed to be handled as a local request when no remote cluster ID is specified.
However, when LoginCluster is in use, local tokens have a UUID indicating the LoginCluster's ID, not the local cluster's ID, and this causes the "short circuit to local API server" condition to be missed. The request does ends up being directed to the correct (local) cluster, but it goes through the "remote" code path, which depends on the local cluster's config having a RemoteClusters entry for itself.
This should be fixed so it doesn't depend on having a "self" entry in RemoteClusters.
Updated by Tom Clegg over 4 years ago
16343-create-cr-with-logincluster-token @ e884be43ee0209ff28fdc3c105910f78edf64996 -- developer-run-tests: #1822
Updated by Anonymous over 4 years ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|3f0914ec893c01440778b01620776745da2546de.