Project

General

Profile

Actions

Bug #22756

open

Federated API requests unreliable

Added by Moritz Gilsdorf 12 months ago. Updated 7 months ago.

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

Description

We have our largest user community usually working with arkau and users are accessing data from our HPC or shell environments there. They are very used to just using ARKAU.

Now we introduced a new Arvados Cluster ARKA2 for special use cases and to offload some new use cases from ARKAU. But People not always realise that they should switch their API Host to api.arka2.roche.com. The problem however is that this seems to work but isn't reliable. It fails in a larger fraction of API calls with such an error message.

2025-04-04 10:39:11 arvados.arv-mount[2246823] ERROR: exception during setup: <HttpError 401 when requesting https://api.arkau.roche.com/arvados/v1/collections/arka2-4zz18-tffgep5hjj7dva6?alt=json returned "request failed: https://api.arka2.roche.com/arvados/v1/collections/arka2-4zz18-tffgep5hjj7dva6: 401 Unauthorized: //railsapi.internal/arvados/v1/collections/arka2-4zz18-tffgep5hjj7dva6: 401 Unauthorized: Not logged in (req-h0szw52w0uzahdp2q6b7)">
Traceback (most recent call last):
  File "/apps/rocs/2020.08/sandybridge/software/arvados/3.0.0-GCCcore-9.3.0-Python-3.11.3/lib/python3.11/site-packages/arvados_fuse/command.py", line 401, in __init__
    self._setup_mount()
  File "/apps/rocs/2020.08/sandybridge/software/arvados/3.0.0-GCCcore-9.3.0-Python-3.11.3/lib/python3.11/site-packages/arvados_fuse/command.py", line 547, in _setup_mount
    self.api.collections().get(uuid=self.args.collection).execute()
  File "/apps/rocs/2020.08/sandybridge/software/arvados/3.0.0-GCCcore-9.3.0-Python-3.11.3/lib/python3.11/site-packages/googleapiclient/_helpers.py", line 134, in positional_wrapper
    return wrapped(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/apps/rocs/2020.08/sandybridge/software/arvados/3.0.0-GCCcore-9.3.0-Python-3.11.3/lib/python3.11/site-packages/googleapiclient/http.py", line 935, in execute
    raise HttpError(resp, content, uri=self.uri)
arvados.errors.ApiError: <HttpError 401 when requesting https://api.arkau.roche.com/arvados/v1/collections/arka2-4zz18-tffgep5hjj7dva6?alt=json returned "request failed: https://api.arka2.roche.com/arvados/v1/collections/arka2-4zz18-tffgep5hjj7dva6: 401 Unauthorized: //railsapi.internal/arvados/v1/collections/arka2-4zz18-tffgep5hjj7dva6: 401 Unauthorized: Not logged in (req-h0szw52w0uzahdp2q6b7)">

This should either work reliable or be completely disabled but like it is right now this is a bug.

Actions #1

Updated by Brett Smith 7 months ago

  • Release set to 82
Actions

Also available in: Atom PDF