porcupie / rbd-docker-plugin

Ceph RBD docker volume driver plugin.
MIT License
9 stars 13 forks source link

Try adding timeouts #8

Closed porcupie closed 8 years ago

porcupie commented 8 years ago

My attempt at adding some timeout capabilities to the external shell commands.

Having some issues sometimes where a mount may hang (possibly XFS disk issues) and this seems to cause the RBD plugin to hang which then seems to cause docker itself to hang. If the goroutined process still hangs, I suppose it will still be hanging, but we might possibly regain control of the thread?

Still testing this in different failure scenarios - not sure if it actually fixes the docker daemon hanging issue as well.