-
Notifications
You must be signed in to change notification settings - Fork 33
Why does bosh-init always do disk migration when migrating BOSH director? #80
Comments
are you using recent enough version of bosh-init? mine never does disk migration unless size/cloud props are changing. Sent from my iPhone
|
We tried bosh-init-0.0.92. The migration we mentioned is that migrating migrating to bosh-init from the micro CLI plugin, bosh-init will read bosh-deployments.yml, and generated a new state json file, but in the state json file, I saw the disk size is "0", so bosh-init will do disk migration. I am not sure how to indicate disk_size in bosh-deployments.yml which could be parsed and updated into state json.
legacy_deployment_state_migrator.go
|
right, during migration from micro CLI to bosh-init it needs to do it because it doesnt have enough information. if you want to bypass this you can manually migrate your state file to a new format which if migrated correctly wouldnt result in disk migration. |
We found there always triggered disk migration during BOSH director migration using bosh-init. There are much data on the persistence disk of BOSH director, it needs to take lots of time to do disk migration. Is there a way to disable disk migration to keep using the old disk? it's really not needed and very time consuming. Thanks.
/cc @maximilien @jianqiu
The text was updated successfully, but these errors were encountered: