Project

General

Profile

Actions

Bug #16566

open

[cli] can't create a token when using a token created with create_superuser_token.rb

Added by Ward Vandewege over 4 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-
Release:
Release relationship:
Auto

Description

Error:

Error: #<ActiveRecord::StatementInvalid: PG::NotNullViolation: ERROR:  null value in column "api_client_id" violates not-null constraint

Steps to reproduce:

1. Create a system root token with create_superuser_token.rb. This is a v1 token.
2. load it in ARVADOS_API_TOKEN
3. try to create a token, e.g. with the instructions from the `Create scoped token` section on the `Set up a shell node` page:

$ arv api_client_authorization create --api-client-authorization '{"scopes":["GET /arvados/v1/virtual_machines/zzzzz-2x53u-zzzzzzzzzzzzzzz/logins"]}'

The system root token isn't associated with a client.


Related issues 1 (0 open1 closed)

Related to Arvados - Bug #16613: System Root Token cannot create tokens - null value in column "api_client_id"ResolvedPeter Amstutz08/25/2020

Actions
Actions #1

Updated by Ward Vandewege over 4 years ago

  • Description updated (diff)
Actions #2

Updated by Ward Vandewege over 4 years ago

  • Related to Bug #16613: System Root Token cannot create tokens - null value in column "api_client_id" added
Actions #3

Updated by Peter Amstutz over 3 years ago

  • Target version deleted (To Be Groomed)
Actions #4

Updated by Lucas Di Pentima almost 2 years ago

  • Release set to 60
Actions

Also available in: Atom PDF