Attempt to unblock the ceph build process

Signed-off-by: Richard Scothern <richard.scothern@docker.com>
pull/1432/head
Richard Scothern 2016-02-05 12:54:51 -08:00
parent 5e4ea38a2f
commit bf1398e514
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ done
retries=0
until [ $retries -ge 5 ]; do
# apt-get can get stuck and hold the lock in some circumstances
# so preemptively kill it
kill `pgrep apt-get` || true
ceph-deploy install --release hammer $NODE && break
retries=$[$retries+1]
sleep 30