DataBiosphere / dsub

Open-source command-line tool to run batch computing tasks and workflows on backend services such as Google Cloud.
Apache License 2.0
265 stars 44 forks source link

Gsutil failed: Could not capture docker logs #108

Closed andgan closed 6 years ago

andgan commented 6 years ago

I get this error:

"task-id": "task-1", "last-update": "2018-05-09 22:38:48.000000", "status-message": "15: Gsutil failed: Could not capture docker logs: failed to acquire logs: exit status 1", "job-name": "run-sc-enrichment"

when trying to submit the following command:

dsub \
    --provider google \
    --project *******  \
    --zones "us-central1-*" \
    --min-ram 12 \
    --logging gs://**** \
    --disk-size 300 \
    --image gcr.io/****  \
    --tasks submit_list_CHD8.tsv \
    --script run_sc_enrichment.py

The output log (and the .stderr and .stdout) don't show any error. The script run for an hour or so and the suddently it stops. I tried to increase disk size, but still see the same error.

andgan commented 6 years ago

Solved, this was because there was no space on the disk, but my files were saved in / rather than /mnt/data