Releases: cloudfoundry/bosh-openstack-cpi-release
Releases · cloudfoundry/bosh-openstack-cpi-release
v45
v44
v43
This release does not bring new features, but some of the internals have changed:
- consume https://github.com/bosh-packages/ruby-release instead of providing its own ruby package
- used ruby version:
2.4.6-r0.11.0
- used ruby version:
- regular version bumps of used ruby gems
v42
New features:
- Registry is now optionally used. The registry is bypassed when the director is version 268.3+, Xenial stemcell line 170.2+ or Cent OS stemcell line 3763.3+, and OpenStack CPI v42+.
- CPI adheres to API version 2. See https://bosh.io/docs/cpi-api-v2/ for more information
Noteworthy bumps of dependencies:
- fog-openstack 1.0.7
- bosh_cpi 2.5.0
- rubygems 2.7.8
- bundler 1.17.3
v41
v40
Breaking
- Remove support for auto-anti-affinity
This has never been working properly as OpenStack uses a weight-based approach to soft-anti-affinity instead of a filter-based approach. We don't think anybody could have used this feature successfully, so we decided to remove it entirely. Let us know if you had been using this feature with the desired effect! If you had it enabled before, you need to manually remove the server groups created in your OpenStack. They are prefixed with the Director name and UUID, so they should be easy to identify. - Remove support for Cinder v1 and Glance v1
Those API versions have been deprecated for a few years now. It has become troublesome to get an OpenStack environment where we can test this functionality. We couldn't guarantee that this would be working in the future and therefore decided to remove it entirely. Let us know if you're still depending on Cinder v1 and/or Glance v1!
Fixes
- Fix parsing OpenStack exception error messages
The messageError: Unknown CPI error 'Unknown' with message 'undefined method 'message' for #\u003cString:0x0000560c9a866e40\u003e' in 'delete_vm' CPI method
should be gone now
New Features
- Re-use existing neutron ports if possible
This fixes most of theIP address in use
errors as e.g. reported in cloudfoundry/bosh#1991 - Automatically retry idempotent HTTP requests to OpenStack API, fixes #131
Misc
- Bump to fog-openstack 1.0.5, fixes #130
- Bump to libyaml 0.2.1
- Bump to ruby 2.4.4
- Bump to rubygems 2.7.7
- Bump to bundler 1.17.1
v39
Fixes
- Fixes #126 by bumping fog-openstack. This CPI version should run fine on Huawei Fusion Sphere again.
New Features
- Allow specifying multiple OpenStack nova AZs for a single BOSH AZ (https://www.pivotaltracker.com/story/show/154906772)
- CPI will create VMs randomly in one of the listed AZs and retry a different one if creation fails
- Can be used to upgrade OpenStack hypervisors in bulk and take entire AZs down
- Use a block like this to specify multiple OpenStack nova AZs in your cloud config
azs: - name: z1 cloud_properties: availability_zones: [nova-1, nova-2]
- Allow referencing security groups by CID as alternative to name (https://www.pivotaltracker.com/story/show/155258034)
- Much improved logging for debugging infrastructure issues
- We've cleaned up the CPI logs and removed a bunch of unnecessary information. If you feel we've done too much or too little here: let us know (https://www.pivotaltracker.com/story/show/134167789)
- Prefix all CPI logs with director request-id (https://www.pivotaltracker.com/story/show/155891841). This makes it easier to find all CPI calls to OpenStack which belong to the same director action.
Misc
- Improved error messages when VM and Disk are in different AZs (https://www.pivotaltracker.com/story/show/156221894)
- Improved error messages when auto-anti-affinity doesn't work due to insufficient quota (https://www.pivotaltracker.com/story/show/154796675)
- Removed gem files from repository and add
pre-packaging
script instead (https://www.pivotaltracker.com/story/show/156221464) - Bumped
fog-openstack
to 0.1.26 - Bumped
fog-core
to 1.45.0 - Bumped
excon
to 0.62.0
v38
Fixes
Features
- Auto-anti-affinity: Delete server groups when the last VM of an instance group is deleted. No dangling server groups anymore!
Misc
- Bump
fog-openstack
to0.1.24
and remove fork. We're back to upstream now! - Bump
multi_json
to 1.13.1 - Bump
public_suffix
to 3.0.2
v37
Breaking Changes
- Remove custom 'create light stemcell' script in favor of
bosh repack-stemcell
command
Fixes
OpenStack compute binding only supports version v2 and v2.1.
is no longer shown although your OpenStack actually uses nova v2 and greater already
Features
- vrrp support for created neutron ports via #98 (thanks @rkoster!)
- Add
cloud_properties.allowed_address_pairs: <IP>
to have this IP address added to the network ports created in OpenStack Neutron. This way, you can use the haproxy release'skeepalived
job to add some HA to your haproxy!
- Add
Misc
- Bump ruby to 2.4.3
- Bump bundler to 1.16.1
- Bump excon to 0.60.0
v36
Features
- auto-anti-affinity
- When the global property
openstack.enable_auto_anti_affinity: true
is set, the CPI automatically creates nova server groups with the policysoft-anti-affinity
and adds all members of an instance group to it. If possible, all VMs of an instance group are distributed across different hypervisors. This requires OpenStack Mitaka and higher.
- When the global property
- User-defined metadata tags are applied to snapshots
Misc
- bumped bundler to 1.16.0
- bumped rubygems to 2.7.3
- bumped fog-openstack to 0.1.23.pre with support for nova microversions