[Iplant-api-dev] agave docker cloudrunner app
Rion Dooley
dooley at tacc.utexas.edu
Sun Feb 1 11:20:35 MST 2015
Hi Bill,
There was a bug in the wrapper script that didn’t handle the single quotes in your commandArgs value well. I took a different approach that seems to be a bit more forgiving and tested your example. Everything ran through as expected. Give it a try again and let me know if you have better luck this time. I have included the JSON for an updated test job below. You can replace the request bin URL with your email in the notification or just visit the job request bin at http://requestbin.agaveapi.co/ur7nw5ur?inspect
<http://requestbin.agaveapi.co/o1aiawo1?id=$JOB_ID&status=$JOB_STATUS&name=$JOB_NAME>
{
"name":"cloud-runner test-1422811809",
"appId": "cloud-runner-0.1.0u4",
"batchQueue": "debug",
"executionSystem": "docker.iplantcollaborative.org<http://docker.iplantcollaborative.org>",
"maxRunTime": "01:00:00",
"memoryPerNode": "1GB",
"nodeCount": 1,
"processorsPerNode": 1,
"archive": false,
"inputs": {},
"parameters": {
"dockerImage": "ubuntu:14.04",
"command": "/bin/echo",
"unpackInputs": false,
"commandArgs": "'Hello world'"
},
"notifications": [
{
"url":"http://requestbin.agaveapi.co/ur7nw5ur?id=${JOB_ID}&status=${JOB_STATUS}&event=${EVENT}&name=${JOB_NAME}",
"event":"*",
"persistent":true
}
]
}
—
Rion
On Jan 28, 2015, at 12:59 PM, Conn, Bill James <Bill.Conn at usd.edu<mailto:Bill.Conn at usd.edu>> wrote:
I’m having some trouble getting the docker cloudrunner app to work. I submit a job with this json
{
"name": "cloud-runner-0.1.0u3-test",
"appId": "cloud-runner-0.1.0u3",
"parameters": {
"dockerImage": "ubuntu:14.04",
"command": "/bin/echo",
"commandArgs": "'Hello world'"
}
}
I get a size zero std out file and the std err file looks like
{
"status" : "success",
"message" : null,
"version" : "2.1.0-r6d11c",
"result" : { }
}{
"status" : "success",
"message" : null,
"version" : "2.1.0-r6d11c",
"result" : { }
}un/docker.sock: no such file or directory
I believe that job submission json was working a couple weeks ago.
Thanks,
Bill
Bill Conn
Computational Research Analyst
Information Technology Services
The University of South Dakota
A&S 212
Bill.Conn at usd.edu<mailto:Bill.Conn at usd.edu>
_______________________________________________
Iplant-api-dev Mailing List: Iplant-api-dev at iplantcollaborative.org<mailto:Iplant-api-dev at iplantcollaborative.org>
List Info and Archives: http://mail.iplantcollaborative.org/mailman/listinfo/iplant-api-dev
One-click Unsubscribe: http://mail.iplantcollaborative.org/mailman/options/iplant-api-dev/dooley%40tacc.utexas.edu?unsub=1&unsubconfirm=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iplantcollaborative.org/pipermail/iplant-api-dev/attachments/20150201/7271198b/attachment-0001.html
More information about the Iplant-api-dev
mailing list