Error 100: Bosh::Director::Lock::TimeoutError

590 views
Skip to first unread message

ramonm...@gmail.com

unread,
Oct 3, 2012, 4:30:19 AM10/3/12
to bosh-...@cloudfoundry.org
i was working to deploy CF
and then my network got some hickups and lost connection.

and i saw in my openstack dashboard that all vms created where in error state.
so i wanted to delete the deployment

so i used the command bosh delete deployment cloudfoundry
but i get the following error "Error 100: Bosh::Director::Lock::TimeoutError"

how can i remove this lock?

greetz
Ramon

Aneesh Kumar E P

unread,
Oct 3, 2012, 4:41:40 AM10/3/12
to bosh-...@cloudfoundry.org, ramonm...@gmail.com
Have you tried to delete the deployment forcefully ? . If not try this command  bosh delete deployment cloudfoundry --force

ramonm...@gmail.com

unread,
Oct 3, 2012, 4:47:39 AM10/3/12
to bosh-...@cloudfoundry.org, ramonm...@gmail.com
worked but didn't delete the vm's though
will do that manually :) thanks
should have figured that out myself

Op woensdag 3 oktober 2012 10:41:40 UTC+2 schreef Aneesh Kumar E P het volgende:

Guillaume Berche

unread,
Mar 25, 2014, 7:07:36 AM3/25/14
to bosh-...@cloudfoundry.org, ramonm...@gmail.com
I had the same issue today. I scheduled a retry every 10 mins, and after 1-2 hours, the lock was released. Here is the associated stack trace:

E, [2014-03-24T19:43:52.913635 #19129] [task:46] ERROR -- : Bosh::Director::Lock::TimeoutError
/var/vcap/packages/director/gem_home/gems/bosh-director-1.2175.0/lib/bosh/director/lock.rb:98:in `acquire'
/var/vcap/packages/director/gem_home/gems/bosh-director-1.2175.0/lib/bosh/director/lock.rb:32:in `
lock'
/var/vcap/packages/director/gem_home/gems/bosh-director-1.2175.0/lib/bosh/director/lock_helper.rb:21:in `with_deployment_lock'

/var/vcap/packages/director/gem_home/gems/bosh-director-1.2175.0/lib/bosh/director/jobs/update_deployment.rb:71:in `perform'
/var/vcap/packages/director/gem_home/gems/bosh-director-1.2175.0/lib/bosh/director/job_runner.rb:98:in `
perform_job'
/var/vcap/packages/director/gem_home/gems/bosh-director-1.2175.0/lib/bosh/director/job_runner.rb:29:in `block in run'

/var/vcap/packages/director/gem_home/gems/bosh_common-1.2175.0/lib/common/thread_formatter.rb:46:in `with_thread_name'
/var/vcap/packages/director/gem_home/gems/bosh-director-1.2175.0/lib/bosh/director/job_runner.rb:29:in `
run'
/var/vcap/packages/director/gem_home/gems/bosh-director-1.2175.0/lib/bosh/director/jobs/base_job.rb:10:in `perform'

/var/vcap/packages/director/gem_home/gems/resque-1.23.1/lib/resque/job.rb:125:in `perform'
/var/vcap/packages/director/gem_home/gems/resque-1.23.1/lib/resque/worker.rb:186:in `
perform'
/var/vcap/packages/director/gem_home/gems/resque-1.23.1/lib/resque/worker.rb:149:in `block in work'

/var/vcap/packages/director/gem_home/gems/resque-1.23.1/lib/resque/worker.rb:128:in `loop'
/var/vcap/packages/director/gem_home/gems/resque-1.23.1/lib/resque/worker.rb:128:in `
work'
/var/vcap/packages/director/gem_home/gems/bosh-director-1.2175.0/bin/bosh-director-worker:76:in `<top (required)>'

/var/vcap/packages/director/bin/bosh-director-worker:23:in `load'
/var/vcap/packages/director/bin/bosh-director-worker:23:in `<main>'


Hope this will help others,

Guillaume.
Reply all
Reply to author
Forward
0 new messages