ngageoint / scale

Processing framework for containerized algorithms
http://ngageoint.github.io/scale/
Apache License 2.0
105 stars 45 forks source link

Cleanup Task Fails If Too Many Volumes #1853

Closed emimaesmith closed 4 years ago

emimaesmith commented 4 years ago

The cleanup task runs docker volume rm `docker volume ls -q -f dangling=true -f name=scale_`. This command may fail due to the argument list too long if there are too many volumes to clean up causing this task to continuously fail and putting the node in a degraded state. This task should be updated to either clean up all volumes in chunks or upgrade to a better volume prune (depending on the supported version of Docker).

emimaesmith commented 4 years ago

Closing as not an issue. The cleanup task loops through all dangling volumes rather than try to execute one blanket statement.