Re: Running two errands simultaneously


Aleksey Zalesov
 

Gwenn,

is the any list of bosh tasks that require a lock available?

Why do we need to lock running different errands? They are independent.

Aleksey Zalesov | CloudFoundry Engineer | Altoros
Tel: (617) 841-2121 ext. 5707 | Toll free: 855-ALTOROS
Fax: (866) 201-3646 | Skype: aleksey_zalesov
www.altoros.com <http://www.altoros.com/> | blog.altoros.com <http://blog.altoros.com/> | twitter.com/altoros <http://twitter.com/altoros>

On 30 Sep 2015, at 10:19, Gwenn Etourneau <getourneau(a)pivotal.io> wrote:

Yes except this kind of task .. bosh deploy lock for example...


On Wed, Sep 30, 2015 at 4:13 PM, Aleksey Zalesov <aleksey.zalesov(a)altoros.com <mailto:aleksey.zalesov(a)altoros.com>> wrote:
Bosh doesn’t lock on any task - while running tests I can list vms using `bosh vms` and ssh to vm using `bosh ssh`.

Aleksey Zalesov | CloudFoundry Engineer | Altoros
Tel: (617) 841-2121 ext. 5707 <tel:%28617%29%20841-2121%20ext.%205707> | Toll free: 855-ALTOROS
Fax: (866) 201-3646 <tel:%28866%29%20201-3646> | Skype: aleksey_zalesov
www.altoros.com <http://www.altoros.com/> | blog.altoros.com <http://blog.altoros.com/> | twitter.com/altoros <http://twitter.com/altoros>

On 30 Sep 2015, at 04:12, Gwenn Etourneau <getourneau(a)pivotal.io <mailto:getourneau(a)pivotal.io>> wrote:

I will say no, bosh lock for any task and running errand is a task.

On Tue, Sep 29, 2015 at 9:54 PM, Aleksey Zalesov <aleksey.zalesov(a)altoros.com <mailto:aleksey.zalesov(a)altoros.com>> wrote:
Hello!

Can I run two bosh errands simultaneously?

Currently I get `Error 100: Bosh::Director::Lock::TimeoutError` when trying to run the second errand while the first errand is running.

Join cf-bosh@lists.cloudfoundry.org to automatically receive all group messages.