Project

General

Profile

Actions

Bug #20757

closed

arvados-client binary doesn't seem to sometimes pick up ~/.config/arvados/settings.conf

Added by Lucas Di Pentima over 1 year ago. Updated about 1 year ago.

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

Description

While using a shell node:

shell login: lucasdipentima2
Password: (sent authentication token)

lucasdipentima2@shell:~$ arvados-client user current
{
 "can_manage":true,
 "can_write":true,
 "created_at":"2022-02-18T19:38:28.442053000Z",
...                         
 "username":"lucasdipentima2",
 "uuid":"jutro-tpzed-parp8dft47kpewf",
 "writable_by":[
  "pirca-tpzed-000000000000000",
  "jutro-tpzed-parp8dft47kpewf",
  "pirca-j7d0g-000000000000000" 
 ]
}
lucasdipentima2@shell:~$ arvados-client shell pirca-xvhdp-bmb06zf8s87ekso
fatal: ARVADOS_API_HOST and ARVADOS_API_TOKEN environment variables are not set

OTOH, arvados-client diagnostics works fine, so maybe there're just some code paths that aren't using the credentials from settings.conf.


Subtasks 1 (0 open1 closed)

Task #20872: Review 20757-ctr-shell-settingsResolvedTom Clegg08/25/2023Actions
Actions

Also available in: Atom PDF