bosh icon indicating copy to clipboard operation
bosh copied to clipboard

Bosh does not detect changes in job template orders

Open gberche-orange opened this issue 11 years ago • 4 comments

When trying to deploy bosh manifest changes resulting of https://github.com/Orange-OpenSource/cf-release/commit/325a3208d350bfe3e43b561d685984b5c7977e8b I notice that bosh isn't detecting and reporting the change. It was ok in my case as the template order change was bundled with a property change, so bosh went ahead and deployed both changes

bosh deploy

Processing deployment manifest
------------------------------
Getting deployment properties from director...
Compiling deployment manifest...

Detecting deployment changes
----------------------------
Releases
No changes

Compilation
No changes

Update
No changes

Resource pools
No changes

Disk pools
No changes

Networks
No changes

Jobs
No changes

Properties
cc
  ± default_app_memory:
    - 512
    + 515

Meta
No changes

Please review all changes carefully

gberche-orange avatar May 28 '15 07:05 gberche-orange

BOSH does not guarantee the order of release jobs (templates) starting/stopping/running on the VM so it does not consider that to be a change.

cppforlife avatar May 28 '15 20:05 cppforlife

Thanks Dmitry for your response.

While bosh does not guarantee order of release jobs, relying on the specified order seems the only available workaround for fixing cf-release failed deploys (cf http://cf-dev.70369.x6.nabble.com/cf-dev-api-and-api-worker-jobs-fail-to-bosh-update-but-monit-start-OK-tp195p202.html ).

It would be interesting to understand whether the root cause is in bosh/monit or in cf-release, and hence if the bosh's guarantee on order of releases jobs would need to be made stronger.

gberche-orange avatar May 29 '15 07:05 gberche-orange

@cppforlife is it possible this behaviour has changed? We're on the latest BOSH version (v265.2.0) and we see instance groups being redeployed only because the job order changed.

bandesz avatar Apr 27 '18 12:04 bandesz

@bandesz if this is an issue you are still having, could you please open a new issue describing it?

Closing this issue for inactivity.

mfine30 avatar Aug 07 '18 18:08 mfine30