Skip to content

Releases: cloudfoundry/bosh-azure-cpi-release

v35.0.0

02 Jan 09:01
Compare
Choose a tag to compare

Features:

  • Support service principal with certificate #355

  • Support ADFS authentication in Azure Stack #355

  • Remove the Azure Stack properties skip_ssl_validation and use_http_to_access_storage_account #354

    Users need to specify CA root certificate (ca_cert) so that CPI can verify SSL. #308

  • Allow not specifying the network security group (NSG). #356, #357

    If users don't sepcify the NSG in the vm_types/vm_extensions, network and global configuration, then CPI won't associate the NSG at a VM network interface level. Users can still associate the NSG at the subnet level outside of CPI.

Fixes:

Documents:

  • Add documents for Cloud Foundry on Azure Stack #354

  • Add documents for using service principal with certificate #355

v34

19 Dec 04:40
Compare
Choose a tag to compare
v34

New Features:

  • Support a new CPI method info #346

    This includes the stemcell_formats for multi-cpi support.

Fixes:

  • Use azure-storage-ruby 0.12.3-preview for compatibility with current version of Azure Stack. #347, #349

    In AzureStack 1711 update, the storage data service version is 2015-04-05 which azure-storage-ruby 0.14.0-preview doesn't support. Don't use Azure CPI v30 - v33 for Azure Stack. #345

  • Fix an issue of has_disk?. #344

    When the managed disk is deleted, has_disk? will throw an unexpected error instead of returning false. #339

v33

12 Dec 09:44
Compare
Choose a tag to compare
v33

New Features:

  • Support Availability Zones #331

    • Azure Availability Zones are still in public review. You MUST reference this document to sign up for the Availability Zones preview.

    • Please reference this guidance to use this new feature in CPI.

  • Support a new CPI method calculate_vm_cloud_properties #336

    With this feature, vm_resources can be specified in the deployment manifest.

Fixes:

  • Sleep 30 seconds before attaching data disk #340

    This is a workaround for the issue #280.

  • Vendors ruby-2.4-r3 from bosh-packages/ruby-release #338

  • Change the format of user image name #342

    In old format, the user image name length may exceed Azure limits (80) in some region (e.g. Australia Southeast). The new format has a shorter name.

  • Fix a bug of using ip configuration properties to check whether the network interface is primary #337

Documents:

v32

16 Nov 08:06
Compare
Choose a tag to compare
v32

Fixes:

  • Allow users to control the "keep failed vms" functionality via CPI global configuration #332

    The functionality was introduced since v24, which is for troubleshooting the failed VM during creating. In v32+, you can control the functionality via the keep_failed_vms property in Azure CPI's global configuration. The default value is false. More details are in #330.

Development:

  • Add a flag to enable/disable the azure application security groups tests in CI #333

v31

30 Oct 12:16
Compare
Choose a tag to compare
v31

New Features:

  • Support application security groups #325

    • Azure application security group is still in public review. Until now only West Central US supports this new feature. Before using this new feature, you MUST reference this document to register your subscription with this new feature.

    • Please reference this guidance to use this new feature in CPI.

Fixes:

  • Fix an issue introduced by azure-storage-ruby 0.14.0-preview #323

    Background: In azure-storage-ruby 0.14.0-preview, timestamp of the entity is a String instead of a Date. v30 will fail when using multiple storage accounts.

  • Fix the issue of weak password generation in create-service-principal #324

  • Use the latest version of the REST API to create NIC to avoid possible timeout when using Azure Application Gateway #326

v30

16 Oct 04:27
Compare
Choose a tag to compare
v30

Notices:

Please DONOT use this version if you are using multiple storage accounts. A new issue is introduced by the change in azure-storage-ruby 0.14.0-preview that start_time = entities[0]['Timestamp'] in azure-storage-ruby 0.14.0-preview is a String, but in azure-storage-ruby 0.12.1-preview it is a Time so below error will be thrown when using multiple storage accounts.

A hot fix is coming...

External CPI got response: {"result":null,"error":{"type":"Unknown","message":"can't convert String into an exact number","ok_to_retry":false},"log":"Rescued Unknown: can't convert String into an exact number. backtrace: /var/vcap/packages/bosh_azure_cpi/lib/cloud/azure/stemcell_manager.rb:153:in `-'\n/var/vcap/packages/bosh_azure_cpi/lib/cloud/azure/stemcell_manager.rb:153:in `wait_stemcell_copy'\n/var/vcap/packages/bosh_azure_cpi/lib/cloud/azure/stemcell_manager.rb:100:in `handle_stemcell_in_different_storage_account'\n/var/vcap/packages/bosh_azure_cpi/lib/cloud/azure/stemcell_manager.rb:59:in `has_stemcell?'\n/var/vcap/packages/bosh_azure_cpi/lib/cloud/azure/cloud.rb:167:in `block in create_vm'\n/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.4.0/gems/bosh_common-1.3262.24.0/lib/common/thread_formatter.rb:49:in `with_thread_name'\n/var/vcap/packages/bosh_azure_cpi/lib/cloud/azure/cloud.rb:132:in `create_vm'\n/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.4.0/gems/bosh_cpi-2.4.1/lib/bosh/cpi/cli.rb:82:in 

Fixes:

  • Refine keyword for the error Hostname not known

    Background: After upgrading Ruby to 2.4.2, the error message for DNS resolve failure changes so the retry logic for this error in v29 does not work.

  • Bump azure-storage-ruby to 0.14.0-preview #317

    Please see changes from 0.12.1-preview to 0.14.0-preview in azure-storage-ruby Release Notes.

Documents:

  • Update azure cf-stub to work with cf v275 #318

  • Add a known issue of not available LUN #320

Development:

  • Upgrade CI pipeline #319

  • Use boshcli v2 in promote-candidate #321

v29

18 Sep 08:51
Compare
Choose a tag to compare
v29

Fixes:

  • Fix #314: Bump ruby to 2.4.2

    Background: Proxy does not work because of one bug #1513 in Ruby 2.4.1. You can see more details in the issue #314. If you must use CPI with a proxy, you must avoid using v27 and v28. About when to use CPI with a proxy, please reference here.

Documents:

  • Update the detailed steps to use application gateway #313

v28

07 Sep 07:25
Compare
Choose a tag to compare
v28

New Features:

  • Enable Cloud Foundry integration with Azure Application Gateway. You can follow the guidance to update an existing deployment, or start a new deployment, utilizing Azure Application Gateway instead of HAproxy. #312

v27

30 Aug 01:26
Compare
Choose a tag to compare
v27

New Features:

  • Support CA cert in Azure Stack so CPI can use HTTPS to communicate with Azure Stack #302

Fixes:

  • Delete the empty availability set when CPI deletes a VM and the VM is the last one in the availability set #306

Improvements:

  • Retry policy handles connection refused error #298

  • Redact sensitive data in CustomData in logs #298

  • Remove the limitation of max disk size in CPI since the max disk size on Azure is still changing #310

  • Bump ruby=>2.4.1, yaml=>0.1.7, rubygems=>2.6.2, bundler=>1.15.4 #311

Development:

  • Update development guidance #311

  • Update Ruby version to 2.2.4 for development environment #311

Documents:

  • Update documents for multiple resource groups #301

  • Use new command to create Azure service principal #305

v26

04 Aug 01:27
Compare
Choose a tag to compare
v26

New Features:

  • Support multiple resource group for VM resources #286. Please see more details here

  • Support managed disks in Azure National Cloud (Germany, China and USGovernment) #288

  • Support large disk, and add new available vm size #289

  • Enable boot diagnostics when debug mode is on #295

Fixes:

  • Set the correct OS disk size for Windows #290

Improvements:

Development:

  • Support multiple Azure environment in CI #288

  • Add lifecycle test for Windows stemcell #291