Project

General

Profile

Actions

Bug #3789

closed

[API] Pipeline template (temporarily?) disappears after move to project

Added by Bryan Cosca over 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
Story points:
-

Description

arv pipeline_template create --pipeline-template "{}" {
"href":"/pipeline_templates/qr1hi-p5p6p-pg34h6t4loles1p",
"kind":"arvados#pipelineTemplate",
"etag":"2lbi1o4fmfqj5l4fx27u2lj1u",
"uuid":"qr1hi-p5p6p-pg34h6t4loles1p",
"owner_uuid":"qr1hi-tpzed-rv6f0l8lbvdzkog",
"created_at":"2014-09-02T20:50:26Z",
"modified_by_client_uuid":"qr1hi-ozdt8-obw7foaks3qjyej",
"modified_by_user_uuid":"qr1hi-tpzed-rv6f0l8lbvdzkog",
"modified_at":"2014-09-02T20:50:26Z",
"name":null,
"components":{},
"description":null,
"_profile":{
"request_time":0.18751677
}
}

:~/bcosc/crunch_scripts$ arv edit qr1hi-p5p6p-pg34h6t4loles1p name
:~/bcosc/crunch_scripts$ arv edit qr1hi-p5p6p-pg34h6t4loles1p components

I copied the components from peters bcbio pipeline: pipeline_templates/qr1hi-p5p6p-hu2ep9hu6sxzkq9

then saved it. I went to home and moved the pipeline template to projects/qr1hi-j7d0g-1cvbbnqwo4nx34v.
then when i looked in the project it wasn't there. I tried editing it arv edit qr1hi-p5p6p-pg34h6t4loles1p

and this is the error:

{
"errors":[
"Path not found"
],
"error_token":"1409691438+0e9fee09"
}

Actions #1

Updated by Brett Smith over 9 years ago

  • Subject changed from Creating a new pipeline-template and getting an error token when copying to a project to [API] Pipeline template (temporarily?) disappears after move to project
  • Category set to API

Checking the API server logs, this is a standard "Object not found" 404, just like it looks like. The pipeline template owner changed at 2014-09-02T20:53:19Z, and then this error occurred at 2014-09-02T20:57:18Z, well after the change should've propagated. The template has not been updated since the move.

Bryan can see the template now, without administrator intervention, so the problem resolved itself with time.

If I remember right, the API server does some limited caching about who can read what. This bug makes it look like that cache might not be updated consistently.

Actions #2

Updated by Ward Vandewege over 9 years ago

  • Target version set to Arvados Future Sprints
Actions #3

Updated by Tom Clegg about 7 years ago

  • Status changed from New to Closed
Actions #4

Updated by Tom Clegg about 7 years ago

  • Target version deleted (Arvados Future Sprints)
Actions

Also available in: Atom PDF