Hi,
I am using arvbox
to test arvados locally. I created a container request for a container that had already run, using the API. Then, again using the API, I set its state to “Committed” to make it run, with the following call:
curl -k -X POST \
-H "Authorization: OAuth2 $ARVADOS_API_TOKEN" \
--data-urlencode container_request@/dev/stdin \
https://$ARVADOS_API_HOST/arvados/v1/container_requests/ \
<<EOF
{
"container_uuid":"x3dm2-xvhdp-c7ge2z8ax89miaa",
"container_image":"x3dm2-4zz18-q3zuy64urbb1r2v",
"state":"Committed",
"cwd":"/",
"output_path":"/output",
"runtime_constraints":
{
"ram":12000000000,
"vcpus":2,
"API":true
},
"command":[
"arvados-cwl-runner",
"--local",
"--api=containers",
"--collection-cache-size=256",
"/var/lib/cwl/workflow.json#main",
"/var/lib/cwl/cwl.input.json"
]
}
EOF
to which, I got a normal response as such:
{"href":"/container_requests/x3dm2-xvhdp-3oj97dymux86xpj","kind":"arvados#containerRequest","etag":"3zreu6u2kjy1u1ngtr0eddetx","uuid":"x3dm2-xvhdp-3oj97dymux86xpj","owner_uuid":"x3dm2-tpzed-amlr5fgf7gp7kgb","created_at":"2020-11-25T17:54:11.490567000Z","modified_by_client_uuid":"x3dm2-ozdt8-53qhxfv1x9d8p7l","modified_by_user_uuid":"x3dm2-tpzed-amlr5fgf7gp7kgb","modified_at":"2020-11-25T17:54:11.526004000Z","command":["arvados-cwl-runner","--local","--api=containers","--collection-cache-size=256","/var/lib/cwl/workflow.json#main","/var/lib/cwl/cwl.input.json"],"container_count":1,"container_count_max":3,"container_image":"x3dm2-4zz18-q3zuy64urbb1r2v","container_uuid":"x3dm2-xvhdp-c7ge2z8ax89miaa","cwd":"/","description":null,"environment":{},"expires_at":null,"filters":null,"log_uuid":null,"mounts":{},"name":null,"output_name":null,"output_path":"/output","output_uuid":null,"output_ttl":0,"priority":0,"properties":{},"requesting_container_uuid":null,"runtime_constraints":{"ram":12000000000,"vcpus":2,"API":true},"scheduling_parameters":{},"state":"Final","use_existing":true}
The problem is that now I can’t view the dashboard. https://172.17.0.2/
just gets me to a page saying “Oh… fiddlesticks. Sorry, I had some trouble handling your request. Path not found (req-9jae7foedgv070cs7vv7) [API: 404]”
The weird part is that the “req-*” code changes every time I navigate to this page.
I have tried killing the box, restarting, using a different browser, logging out and back in (my account in arvados), but nothing has worked so far! Any ideas?
Thanks in advance!
Edit: If I send a GET request for all the “state: Final” container requests through the API, I can see the process of the last workflow I sent. Also, I can access “Home” from the “Projects” dropdown, but when I select the “Processes” tab, I get a “Oops, request failed” error…