Bug #18301

WB1 cancel button not working

Added by Peter Amstutz about 1 month ago. Updated 3 days ago.

Status:
In Progress
Priority:
Normal
Assigned To:
Category:
Workbench
Target version:
Start date:
Due date:
% Done:

0%

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

Subtasks

Task #18477: ReviewNewPeter Amstutz

History

#1 Updated by Peter Amstutz about 1 month ago

  • Target version changed from 2021-11-10 sprint to 2021-11-24 sprint

#2 Updated by Peter Amstutz 26 days ago

  • Target version changed from 2021-11-24 sprint to 2021-12-08 sprint

#3 Updated by Peter Amstutz 12 days ago

  • Category set to Workbench

#4 Updated by Tom Clegg 12 days ago

Not sure if this is the same problem, but the error I ran into was "can't update mounts when state is Final" (not exact wording) when trying to cancel a container that was in Locked state.

#5 Updated by Lucas Di Pentima 12 days ago

  • Assigned To set to Lucas Di Pentima

#6 Updated by Lucas Di Pentima 11 days ago

  • Status changed from New to In Progress

#7 Updated by Lucas Di Pentima 5 days ago

I'm not able to reproduce the issue, please provide a specific case.

#8 Updated by Ward Vandewege 3 days ago

On Pirca, trying to move https://workbench.pirca.arvadosapi.com/container_requests/pirca-xvhdp-om4zxfsae65h29f#Log into a project, I get:

//railsapi.internal/arvados/v1/container_requests/pirca-xvhdp-om4zxfsae65h29f: 422 Unprocessable Entity: Mounts cannot be modified in state 'Final' ({"/keep/bcca5ee5b64d1f30296f204be49fc050+270"=>{"kind"=>"collection", "portable_data_hash"=>"bcca5ee5b64d1f30296f204be49fc050+270"}, "/tmp"=>{"capacity"=>1073741824, "kind"=>"tmp"}, "/var/spool/cwl"=>{"capacity"=>1073741824, "kind"=>"tmp"}}, {"/keep/bcca5ee5b64d1f30296f204be49fc050+270"=>{"capacity"=>0, "commit"=>"", "content"=>nil, "device_type"=>"", "exclude_from_output"=>false, "git_url"=>"", "kind"=>"collection", "path"=>"", "portable_data_hash"=>"bcca5ee5b64d1f30296f204be49fc050+270", "repository_name"=>"", "uuid"=>"", "writable"=>false}, "/tmp"=>{"capacity"=>1073741824, "commit"=>"", "content"=>nil, "device_type"=>"", "exclude_from_output"=>false, "git_url"=>"", "kind"=>"tmp", "path"=>"", "portable_data_hash"=>"", "repository_name"=>"", "uuid"=>"", "writable"=>false}, "/var/spool/cwl"=>{"capacity"=>1073741824, "commit"=>"", "content"=>nil, "device_type"=>"", "exclude_from_output"=>false, "git_url"=>"", "kind"=>"tmp", "path"=>"", "portable_data_hash"=>"", "repository_name"=>"", "uuid"=>"", "writable"=>false}}) (req-evc322zkn8hjjscktltz)

#9 Updated by Lucas Di Pentima 3 days ago

It seems that controller is passing empty (zero-value) fields and that's why the validation fails:

Previous state

{
    "/keep/bcca5ee5b64d1f30296f204be49fc050+270"=>{
        "kind"=>"collection", 
        "portable_data_hash"=>"bcca5ee5b64d1f30296f204be49fc050+270" 
    }, 
    "/tmp"=>{
        "capacity"=>1073741824, 
        "kind"=>"tmp" 
    }, 
    "/var/spool/cwl"=>{
        "capacity"=>1073741824, 
        "kind"=>"tmp" 
    }
} 

New state

{
    "/keep/bcca5ee5b64d1f30296f204be49fc050+270"=>{
        "capacity"=>0, 
        "commit"=>"", 
        "content"=>nil, 
        "device_type"=>"", 
        "exclude_from_output"=>false, 
        "git_url"=>"", 
        "kind"=>"collection", 
        "path"=>"", 
        "portable_data_hash"=>"bcca5ee5b64d1f30296f204be49fc050+270", 
        "repository_name"=>"", 
        "uuid"=>"", 
        "writable"=>false
    }, 
    "/tmp"=>{
        "capacity"=>1073741824, 
        "commit"=>"", 
        "content"=>nil, 
        "device_type"=>"", 
        "exclude_from_output"=>false, 
        "git_url"=>"", 
        "kind"=>"tmp", 
        "path"=>"", 
        "portable_data_hash"=>"", 
        "repository_name"=>"", 
        "uuid"=>"", 
        "writable"=>false
    }, 
    "/var/spool/cwl"=>{
        "capacity"=>1073741824, 
        "commit"=>"", 
        "content"=>nil, 
        "device_type"=>"", 
        "exclude_from_output"=>false, 
        "git_url"=>"", 
        "kind"=>"tmp", 
        "path"=>"", 
        "portable_data_hash"=>"", 
        "repository_name"=>"", 
        "uuid"=>"", 
        "writable"=>false
    }
}

Also available in: Atom PDF