Bug #9784

run-deploy.sh scopes are wrong

Added by Peter Amstutz over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
08/18/2016
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
0.5

Description

run-deploy.sh prints out that it needs the following scopes:

-    echo >&2 '    --scopes "[\"GET /arvados/v1/virtual_machines\",'
-    echo >&2 '               \"GET /arvados/v1/keep_services\",'
-    echo >&2 '               \"GET /arvados/v1/keep_services/\",'
-    echo >&2 '               \"GET /arvados/v1/groups\",'
-    echo >&2 '               \"GET /arvados/v1/groups/\",'
-    echo >&2 '               \"GET /arvados/v1/links\",'
-    echo >&2 '               \"GET /arvados/v1/collections\",'
-    echo >&2 '               \"POST /arvados/v1/collections\",'
-    echo >&2 '               \"POST /arvados/v1/links\"]"'

However, the actual scopes that are needed is:

--scopes '["GET /arvados/v1/virtual_machines",
 "GET /arvados/v1/keep_services",
 "GET /arvados/v1/keep_services/",
 "GET /arvados/v1/groups",
 "GET /arvados/v1/groups/",
 "GET /arvados/v1/links",
 "GET /arvados/v1/collections",
 "POST /arvados/v1/collections",
 "POST /arvados/v1/links",
 "GET /arvados/v1/users/current",
 "POST /arvados/v1/users/current",
 "GET /arvados/v1/jobs",
 "POST /arvados/v1/jobs",
 "GET /arvados/v1/pipeline_instances",
 "POST /arvados/v1/pipeline_instances",
 "PUT /arvados/v1/pipeline_instances/",
 "GET /arvados/v1/collections/",
 "POST /arvados/v1/collections/",
 "GET /arvados/v1/logs"]'

Subtasks

Task #9785: Review 9784-update-scopesResolvedPeter Amstutz

Associated revisions

Revision 8a6febef
Added by Peter Amstutz over 4 years ago

Merge branch '9784-update-scopes' closes #9784

History

#1 Updated by Peter Amstutz over 4 years ago

(moved to description)

#2 Updated by Peter Amstutz over 4 years ago

Branch 9784-update-scopes for review.

actually ~jenkins/.config/arvados/c97qk.arvadosapi.com.conf was in place!! maybe is something else?

#3 Updated by Peter Amstutz over 4 years ago

  • Target version set to 2016-08-17 sprint

#4 Updated by Peter Amstutz over 4 years ago

  • Assigned To set to Peter Amstutz

#5 Updated by Peter Amstutz over 4 years ago

  • Description updated (diff)

#6 Updated by Nico C├ęsar over 4 years ago

  • Story points set to 0.5

test commit:f3c5790ed37792484ca131104774a443c1215075

This is ready to merge

#7 Updated by Peter Amstutz over 4 years ago

  • Status changed from New to Resolved

Merged commit:8a6febe

Also available in: Atom PDF