cloudfoundry / bosh-azure-cpi-release

BOSH Azure CPI
Apache License 2.0
63 stars 88 forks source link

cpi should automatically set availability_set based on bosh.instance_group_id #171

Closed cppforlife closed 8 years ago

cppforlife commented 8 years ago

bosh director will automatically pass in bosh.instance_group_name into vm cloud properties in create_vm CPI call. if that value is present (to be backwards compatible and work with bosh-init which will not pass this in) use that as availability set name unless availability_set is specified. this will improve experience with using multiple availability sets. use platform_update_domain_count/platform_fault_domain_count for those configurations.

cppforlife commented 8 years ago

cc @dsboulder

cppforlife commented 8 years ago

It will be inside env hash (not vm cloud properties) as bosh.group_name.

dsboulder commented 8 years ago

I verified this. Thank you!

dsboulder commented 8 years ago

@cppforlife why did you suggest the bosh.group_name thing under env hash?

cppforlife commented 8 years ago

director will set this value automatically in the next release.

Sent from my iPhone

On Aug 9, 2016, at 11:04 AM, David Stevenson notifications@github.com wrote:

@cppforlife why did you suggest the bosh.group_name thing under env hash?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.