Bosh - canary settings clarification


William C Penrod
 

Bosh - 219
Stemcell - 3122

All my update jobs are tagged as canary jobs. It was my understanding that the bosh update job happens in a batch style. If so, the following settings should run as follows:

Send one canary job, wait for completion. If it returns a error, fail the update. If it returns successful, then start sending out non-canary updates of 2 jobs at a time.

update:
canaries: 1
canary_watch_time: 3000-120000
update_watch_time: 3000-120000
max_in_flight: 2
max_errors: 1
serial: false

I have seven jobs that are being updated and in the bosh deploy output, all seven are tagged as canary jobs and start processing at the same time. If I set serial to true, they are still all tagged as canary.

Am I missing something in my understanding and/or configuration?


Dmitriy Kalinin
 

serial: false parallelizes all deployment jobs in the manifest. canaries and max_in_flight apply to instances within a single deployment job.

Sent from my iPhone

On Jan 8, 2016, at 2:42 PM, William C Penrod <wcpenrod(a)gmail.com> wrote:

Bosh - 219
Stemcell - 3122

All my update jobs are tagged as canary jobs. It was my understanding that the bosh update job happens in a batch style. If so, the following settings should run as follows:

Send one canary job, wait for completion. If it returns a error, fail the update. If it returns successful, then start sending out non-canary updates of 2 jobs at a time.

update:
canaries: 1
canary_watch_time: 3000-120000
update_watch_time: 3000-120000
max_in_flight: 2
max_errors: 1
serial: false

I have seven jobs that are being updated and in the bosh deploy output, all seven are tagged as canary jobs and start processing at the same time. If I set serial to true, they are still all tagged as canary.

Am I missing something in my understanding and/or configuration?


William C Penrod
 

Thanks for the clarification!