Release Notes
Ops Manager 2.5
The filename for the artifact downloaded from Ops Manager is changed! If your resources or pipelines have a regex for the Ops Manager filename, you may be affected. (Please see Ops Manager's official notice for more information)
Azure Updating to 2.5
Ops Manager will be removing the necessity to provide availability zones for azure.
If your director.yml(see staged-director-config)
has a block like the following in the networks section:
1 2 | |
1 | |
availability_zone_names section from your azure config, or re-run
staged-director-config to update your director.yml.
v4.1.22
Released August 20, 2020
CLI Versions
| Name | version |
|---|---|
| om | 6.1.0 |
| bosh-cli | v6.3.1 |
| credhub | 2.7.0 |
| winfs-injector | 0.18.0 |
The full Docker image-receipt: Download
Bug Fixes
configure-productwill no longer assign a new GUID for unnamed collections. This means that for some tiles, configure-product will now avoid unnecessary changes to collections.download-productwill work with supported versions of TAS Windows released after Friday August 20th, 2020. These versions do not work with older versions of Platform Automation. The TAS Windows tiles on Tanzu Network now include Open Source License files in the tile itself. Platform Automation needed to bump the winfs-injector version to ensure compatibility with this new arrangement.- CVE updates to container image. Resolves USN-4466-1 The CVE is related to vulnerabilities in curl and libcurl.
v4.1.21
Released July 30, 2020
CLI Versions
| Name | version |
|---|---|
| om | 6.1.0 |
| bosh-cli | v6.3.1 |
| credhub | 2.7.0 |
| winfs-injector | 0.16.0 |
The full Docker image-receipt: Download
Bug Fixes
- CVE update to container image. Resolves USN-4416-1.
The CVEs are related to vulnerabilities with
libc6and related libraries. - CVE update to container image. Resolves USN-4428-1.
The CVEs are related to vulnerabilities with
python2.7,python2.7-minimal,python3.5,python3.5-minimaland related libraries.
v4.1.20
Released July 10, 2020
CLI Versions
| Name | version |
|---|---|
| om | 5.0.0 |
| bosh-cli | v6.3.1 |
| credhub | 2.7.0 |
| winfs-injector | 0.16.0 |
The full Docker image-receipt: Download
Bug Fixes
- CVE update to container image. Resolves USN-4394-1.
The CVEs are related to vulnerabilities with
libsqlite.
v4.1.19
Released June 15, 2020
CLI Versions
| Name | version |
|---|---|
| om | 4.8.0 |
| bosh-cli | 6.2.1 |
| credhub | 2.7.0 |
| winfs-injector | 0.16.0 |
The full Docker image-receipt: Download
Bug Fixes
- CVE update to container image. Resolves USN-4394-1.
The CVEs are related to vulnerabilities with
libsqlite.
v4.1.18
Released June 5, 2020
CLI Versions
| Name | version |
|---|---|
| om | 4.8.0 |
| bosh-cli | 6.2.1 |
| credhub | 2.7.0 |
| winfs-injector | 0.16.0 |
The full Docker image-receipt: Download
Bug Fixes
- CVE update to container image. Resolves USN-4376-1.
The CVEs are related to vulnerabilities with
libssl. - CVE update to container image. Resolves USN-4377-1.
The CVEs are related to vulnerabilities with
ca-certificates. -
vSphere 7.0 with NSX-T 3.0 experienced a bug when using
create-vmandupgrade-opsman. If NSX-T deployed a network that was read in the vCenter as multiple port groups with the same name those tasks would fail, and be unable to import the Ops Manager OVA file.The
networkproperty when creating an Ops Manager VM can take two new types of identifiers for identify a network.- If using port groups, the
networkproperty must beswitch name/port group name. For example,network: edge-cluster-w01-vc-AZ01-vds01/pas-infrastructure-az1-ls. - MO reference can also be used.
- If using port groups, the
Experimental Features
- EXPERIMENTAL
config-templatenow supports ops manager syslog in tiles. In the tile metadata, this property is turned on with theopsmanager_syslog: truefield. Tiles with this property enabled will now add the section toproduct.ymland create defaults indefault-vars.yml. - Added shorthand flag consistency to multiple commands.
--vars-fileshorthand is-land--varshorthand is-v - EXPERIMENTAL
config-templatecan specify the number of collection ops files using--size-of-collections. Some use cases required that collections generate more ops-file for usage. The default value is still10. config-templatehas been updated to include placeholders fornetwork_name,singleton_availability_zone, andservice_network_nameinrequired-vars.ymlwhen appropriate.-
config-templateBug Fix: Required collections now parametrize correctly inproduct.yml. In the om issue forp-dataflow, the following was incorrectly returned:1 2 3 4 5 6
.properties.maven_repositories: value: - key: spring password: ((password)) url: https://repo.spring.io/libs-release username: usernameconfig-templatenow returns the following correct subsection inproduct.yml:1 2 3 4 5 6 7
.properties.maven_repositories: value: - key: spring password: secret: ((password)) url: https://repo.spring.io/libs-release username: usernameif you have used the workaround described in the issue (storing the value as a JSON object) you will need to update the credential in Credhub to not be a JSON object. -
config-templategeneratedresource-vars.ymlthat had the potential to conflict with property names (spring cloud dataflow had a configurable property calledmax_in_flightwhich is also a resource config property).config-templatenow prepends all resource-vars withresource-var-. This prevents this entire class of conflicts. If usingconfig-templateto update vars/ops-files/etc, check your resource var names in any files vars may be drawn from. This resolves om issue #484.
v4.1.16
Released May 14, 2020
CLI Versions
| Name | version |
|---|---|
| om | 4.6.0 |
| bosh-cli | 6.1.1 |
| credhub | 2.6.1 |
| winfs-injector | 0.16.0 |
The full Docker image-receipt: Download
Bug Fixes
-
Sometimes vsphere
create-vm/delete-vm/upgrade-opsmanwould fail with:govc[stderr]: panic: send on closed channeldue to a bug in govc.These tasks have implemented the workaround described in the issue.
-
CVE update to container image. Resolves USN-4359-1. The CVEs are related to vulnerabilities with
apt.
v4.1.14
Released April 28, 2020
CLI Versions
| Name | version |
|---|---|
| om | 4.6.0 |
| bosh-cli | 6.1.1 |
| credhub | 2.6.1 |
| winfs-injector | 0.16.0 |
The full Docker image-receipt: Download
Bug Fixes
- CVE update to container image. Resolves USN-4329-1.
This CVE is related to vulnerabilities with
git. - CVE update to container image. Resolves USN-4334-1.
This CVE is related to vulnerabilities with
git. - CVE update to container image. Resolves USN-4333-1.
This CVE is related to vulnerabilities with
python. - Adding back the removed
sshUbuntu package.
v4.1.13
Released April 20, 2020
Known Issue
This version attempted to remove some unnecessary dependencies from the image.
In this process, important utilities may have been removed as well.
In particular, we know that ssh is missing.
If you use this version and find any vital tools missing, please let us know.
A forthcoming patch version will restore ssh and any other identified tools.
CLI Versions
| Name | version |
|---|---|
| om | 4.6.0 |
| bosh-cli | 6.1.1 |
| credhub | 2.6.1 |
| winfs-injector | 0.16.0 |
The full Docker image-receipt: Download
Bug Fixes
-
The
winfs-injectorhas been bumped to support the new TAS Windows tile. When downloading a product from Pivnet, thedownload-producttask useswinfs-injectorto package the Windows rootfs in the tile. Newer version of TAS Windows, use a new packaging method, which requires this bump.If you see the following error, you need this fix.
1 2 3 4 5 6
Checking if product needs winfs injected...+ '[' pas-windows == pas-windows ']' + '[' pivnet == pivnet ']' ++ basename downloaded-files/pas-windows-2.7.12-build.2.pivotal + TILE_FILENAME=pas-windows-2.7.12-build.2.pivotal + winfs-injector --input-tile downloaded-files/pas-windows-2.7.12-build.2.pivotal --output-tile downloaded-product/pas-windows-2.7.12-build.2.pivotal open /tmp/015434627/extracted-tile/embed/windowsfs-release/src/code.cloudfoundry.org/windows2016fs/2019/IMAGE_TAG: no such file or directory
v4.1.12
Released March 25, 2020
CLI Versions
| Name | version |
|---|---|
| om | 4.6.0 |
| bosh-cli | 6.1.1 |
| credhub | 2.6.1 |
| winfs-injector | 0.14.0 |
The full Docker image-receipt: Download
Bug Fixes
configure-directornow correctly handles when you don't name your iaas_configurationdefaulton vSphere. Previously, naming a configuration anything other thandefaultwould result in an extra, emptydefaultconfiguration. This closes issue #469.- Downloading a stemcell associated with a product will try to download the light or heavy stemcell.
If anyone has experienced the recent issue with
download-productand the AWS heavy stemcell, this will resolve your issue. Please remove any custom globbing that might've been added to circumvent this issue. For example,stemcall-iaas: light*awsshould just bestemcell-iaas: awsnow. - Heavy stemcells could not be downloaded.
Support has now been added.
Define
stemcell-heavy: truein yourdownload-productconfig file. - CVE update to container image. Resolves USN-4298-1.
This CVE is related to vulnerabilities with
libsqlite3. - CVE update to container image. Resolves USN-4305-1.
This CVE is related to vulnerabilities with
libicu60.
Experimental Features
- EXPERIMENTAL
config-templatenow includes the option to use a local product file with--product-path.
v4.1.11
Released February 25, 2020
CLI Versions
| Name | version |
|---|---|
| om | 4.2.1 |
| bosh-cli | 6.1.1 |
| credhub | 2.6.1 |
| winfs-injector | 0.13.0 |
The full Docker image-receipt: Download
Bug Fixes
- GCP
create-vmnow correctly handles an empty tags list - CVE update to container image. Resolves USN-4274-1.
The CVEs are related to vulnerabilities with
libxml2. - Bumped the following low-severity CVE packages: libsystemd0 libudev1
v4.1.10
Released February 7, 2020
CLI Versions
| Name | version |
|---|---|
| om | 4.2.1 |
| bosh-cli | 6.1.1 |
| credhub | 2.6.1 |
| winfs-injector | 0.13.0 |
The full Docker image-receipt: Download
Bug Fixes
- CVE update to container image. Resolves USN-4243-1.
The CVEs are related to vulnerabilities with
libbsd. - CVE update to container image. Resolves USN-4249-1.
The CVEs are related to vulnerabilities with
e2fsprogs. - CVE update to container image. Resolves USN-4233-2.
The CVEs are related to vulnerabilities with
libgnutls30. - CVE update to container image. Resolves USN-4256-1.
The CVEs are related to vulnerabilities with
libsasl2-2. - Bumped the following low-severity CVE packages:
libcom-err2,libext2fs2,libss2,linux-libc-dev
v4.1.9
Released January 22, 2020
Bug Fixes
- CVE update to container image. Resolves USN-4236-1.
The CVEs are related to vulnerabilities with
Libgcrypt. - CVE update to container image. Resolves USN-4233-1.
The CVEs are related to vulnerabilities with
GnuTLS.
v4.1.8
Released December 12, 2019
Bug Fixes
- CVE update to container image. Resolves USN-4220-1.
The CVEs are related to vulnerabilities with
git. - Bumped the following low-severity CVE package:
linux-libc-dev
v4.1.7
Released December 3, 2019
Bug Fixes
- CVE update to container image. Resolves USN-4205-1.
This CVE is related to vulnerabilities with
libsqlite3. None of our code callslibsqlite3directly, but the IaaS CLIs rely on this package. - When using the
check-pending-changestask, it would not work because it reference a script that did not exist. The typo has been fixed and tested in the reference pipeline. - Bumped the following low-severity CVE package:
linux-libc-dev
v4.1.5
Released November 19, 2019
Bug Fixes
- CVE update to container image. Resolves USN-4172-1.
This CVE is related to vulnerabilities with
fileandlibmagic. - CVE update to container image. Resolves USN-4168-1.
This CVE is related to vulnerabilities with
libidn2. - Bump
boshCLI to v6.1.1 - Bump
credhubCLI to v2.6.1
Experimental Features
- EXPERIMENTAL
config-templatenow supports the--config,--var,--vars-file, and--vars-envflags. - EXPERIMENTAL
config-templatenow includesmax-in-flightfor all resources.
v4.1.2
Released October 21, 2019
What's New
- Ops Manager config for vSphere now validates the required properties
- The new task expiring-certificates fails if there are any expiring certificates in a user specified time range. Root CAs cannot be included in this list until Ops Manager 2.7.
Example Output:
1 2 3 4 5 6 | |
- Telemetry support has been added! To opt in, you must get the Telemetry tool from Tanzu Network, create a config file, and add the collect-telemetry and send-telemetry tasks to your pipeline. For an example, please see the Reference Pipelines.
- stage-configure-apply task has been added. This task will take a product, stage it, configure it, and apply changes only for that product (all other products remain unchanged). Use this task only if you have confidence in the ordering in which you apply-changes for your products.
- check-pending-changes task has been added. This task will perform a check on Ops Manager and fail if there are pending changes. This is useful when trying to prevent manual changes from being applied during the automation process.
- The VM state files currently support YAML, but when generated, JSON was outputted. This caused confusion. The generated state file is now outputted as YAML.
Deprecation Notices
- The
hostfield in the vcenter section of the vsphere opsman.yml has been deprecated. Platform Automation Toolkit can initially choose where the VM is placed but cannot guarantee that it stays there or that other generated VMs are assigned to the same host. - The
vpc_subnetfield in azure_opsman.yml has been deprecated. In your opsman.yml, replacevpc_subnetwithsubnet_id. This change was to help mitigate confusion as VPC is an AWS, not an Azure, concept. - The optional
use_unmanaged_diskfield in azure_opsman.yml has been deprecated. In your opsman.yml, replaceuse_unmanaged_disk: truewithuse_managed_disk: false. The default foruse_managed_diskis true. Unmanaged disk is not recommended by Azure. If you would like to use unmanaged disks, please opt-out by settinguse_managed_disk: false. - The optional
use_instance_profilefield in aws_opsman.yml has been deprecated. It was redundant. When you don't specifyaccess_key_idandsecret_access_key, the authentication will try to use the instance profile on the executing machine -- for example, a concourse worker. This is works in conjunction of how theawsCLI find authentication. - The required
security_group_idfield in aws_opsman.yml has been deprecated. Replacesecurity_group_idwithsecurity_group_idsas YAML array. For example,security_group_id: sg-1becomessecurity_group_ids: [ sg-1 ]. This allows the specification of multiple security groups to the Ops Manager VM.
Bug Fixes
- CVE update to container image. Resolves USN-4151-1.
This CVE is related to vulnerabilities with
python. None of our code callspythondirectly, but the IaaS CLIs rely on this package.
Experimental Features
- EXPERIMENTAL
config-templatenow accepts--pivnet-file-globinstead of--product-file-glob. This is to create consistency with thedownload-productcommand's naming conventions. (PR: @poligraph)
v4.0.16
Released May 14, 2020
CLI Versions
| Name | version |
|---|---|
| om | 3.2.3 |
| bosh-cli | 6.1.1 |
| credhub | 2.6.1 |
| winfs-injector | 0.16.0 |
The full Docker image-receipt: Download
Bug Fixes
-
Sometimes vsphere
create-vm/delete-vm/upgrade-opsmanwould fail with:govc[stderr]: panic: send on closed channeldue to a bug in govc.These tasks have implemented the workaround described in the issue.
-
CVE update to container image. Resolves USN-4359-1. The CVEs are related to vulnerabilities with
apt.
v4.0.14
Released April 28, 2020
CLI Versions
| Name | version |
|---|---|
| om | 3.2.3 |
| bosh-cli | 6.1.1 |
| credhub | 2.6.1 |
| winfs-injector | 0.16.0 |
The full Docker image-receipt: Download
Bug Fixes
- CVE update to container image. Resolves USN-4329-1.
This CVE is related to vulnerabilities with
git. - CVE update to container image. Resolves USN-4334-1.
This CVE is related to vulnerabilities with
git. - CVE update to container image. Resolves USN-4333-1.
This CVE is related to vulnerabilities with
python. - Adding back the removed
sshUbuntu package.
v4.0.13
Released April 20, 2020
Known Issue
This version attempted to remove some unnecessary dependencies from the image.
In this process, important utilities may have been removed as well.
In particular, we know that ssh is missing.
If you use this version and find any vital tools missing, please let us know.
A forthcoming patch version will restore ssh and any other identified tools.
CLI Versions
| Name | version |
|---|---|
| om | 3.2.3 |
| bosh-cli | 6.2.1 |
| credhub | 2.6.2 |
| winfs-injector | 0.16.0 |
The full Docker image-receipt: Download
Bug Fixes
-
The
winfs-injectorhas been bumped to support the new TAS Windows tile. When downloading a product from Pivnet, thedownload-producttask useswinfs-injectorto package the Windows rootfs in the tile. Newer version of TAS Windows, use a new packaging method, which requires this bump.If you see the following error, you need this fix.
1 2 3 4 5 6
Checking if product needs winfs injected...+ '[' pas-windows == pas-windows ']' + '[' pivnet == pivnet ']' ++ basename downloaded-files/pas-windows-2.7.12-build.2.pivotal + TILE_FILENAME=pas-windows-2.7.12-build.2.pivotal + winfs-injector --input-tile downloaded-files/pas-windows-2.7.12-build.2.pivotal --output-tile downloaded-product/pas-windows-2.7.12-build.2.pivotal open /tmp/015434627/extracted-tile/embed/windowsfs-release/src/code.cloudfoundry.org/windows2016fs/2019/IMAGE_TAG: no such file or directory
v4.0.12
Released March 25, 2020
CLI Versions
| Name | version |
|---|---|
| om | 3.2.3 |
| bosh-cli | 6.1.1 |
| credhub | 2.6.1 |
| winfs-injector | 0.14.0 |
The full Docker image-receipt: Download
Bug Fixes
- Downloading a stemcell associated with a product will try to download the light or heavy stemcell.
If anyone has experienced the recent issue with
download-productand the AWS heavy stemcell, this will resolve your issue. Please remove any custom globbing that might've been added to circumvent this issue. For example,stemcall-iaas: light*awsshould just bestemcell-iaas: awsnow. - CVE update to container image. Resolves USN-4298-1.
This CVE is related to vulnerabilities with
libsqlite3. - CVE update to container image. Resolves USN-4305-1.
This CVE is related to vulnerabilities with
libicu60.
Experimental Features
- EXPERIMENTAL
config-templatenow supports the--exclude-versionflag. If provided, the command will exclude the version directory in the--output-directorytree. The contents will with or without the flag will remain the same. Please note including the--exclude-versionflag will make it more difficult to track changes between versions unless using a version control system (such as git). - EXPERIMENTAL
config-templatesupports--pivnet-disable-sslto skip SSL validation. - When using
config-template(EXPERIMENTAL) ordownload-product, the--pivnet-skip-sslis honored when capturing the token.
v4.0.11
Released February 21, 2020
CLI Versions
| Name | version |
|---|---|
| om | 3.1.0 |
| bosh-cli | 6.1.1 |
| credhub | 2.6.1 |
| winfs-injector | 0.13.0 |
The full Docker image-receipt: Download
Bug Fixes
- GCP
create-vmnow correctly handles an empty tags list - CVE update to container image. Resolves USN-4274-1.
The CVEs are related to vulnerabilities with
libxml2. - Bumped the following low-severity CVE packages: libsystemd0 libudev1
v4.0.10
Released February 4, 2020
CLI Versions
| Name | version |
|---|---|
| om | 3.1.0 |
| bosh-cli | 6.1.1 |
| credhub | 2.6.1 |
| winfs-injector | 0.13.0 |
The full Docker image-receipt: Download
Bug Fixes
- CVE update to container image. Resolves USN-4243-1.
The CVEs are related to vulnerabilities with
libbsd. - CVE update to container image. Resolves USN-4249-1.
The CVEs are related to vulnerabilities with
e2fsprogs. - CVE update to container image. Resolves USN-4233-2.
The CVEs are related to vulnerabilities with
libgnutls30. - CVE update to container image. Resolves USN-4256-1.
The CVEs are related to vulnerabilities with
libsasl2-2. - Bumped the following low-severity CVE packages:
libcom-err2,libext2fs2,libss2,linux-libc-dev
v4.0.9
Released January 22, 2020
Bug Fixes
- CVE update to container image. Resolves USN-4236-1.
The CVEs are related to vulnerabilities with
Libgcrypt. - CVE update to container image. Resolves USN-4233-1.
The CVEs are related to vulnerabilities with
GnuTLS. - Bumped the following low-severity CVE package:
linux-libc-dev
v4.0.8
Released December 12, 2019
Bug Fixes
- CVE update to container image. Resolves USN-4220-1.
The CVEs are related to vulnerabilities with
git. - Bumped the following low-severity CVE package:
linux-libc-dev
v4.0.7
Released December 3, 2019
Bug Fixes
- CVE update to container image. Resolves USN-4205-1.
This CVE is related to vulnerabilities with
libsqlite3. None of our code callslibsqlite3directly, but the IaaS CLIs rely on this package.
v4.0.6
Released November 6, 2019
Bug Fixes
- CVE update to container image. Resolves USN-4172-1.
This CVE is related to vulnerabilities with
fileandlibmagic. - CVE update to container image. Resolves USN-4168-1.
This CVE is related to vulnerabilities with
libidn2. - Bump
boshCLI to v6.1.1 - Bump
credhubCLI to v2.6.1
v4.0.5
Released October 25, 2019
Bug Fixes
- CVE update to container image. Resolves USN-4151-1.
This CVE is related to vulnerabilities with
python. None of our code callspythondirectly, but the IaaS CLIs rely on this package.
v4.0.4
Released October 15, 2019, includes om version 3.1.0
Bug Fixes
- CVE update to container image. Resolves USN-4142-1.
(related to vulnerabilities with
e2fsprogs. While none of our code directly used these, they are present on the image.) - Bumped the following low-severity CVE packages:
libcom-err2,libext2fs2,libss2,linux-libc-dev
v4.0.3
Released September 27, 2019, includes om version 3.1.0
Bug Fixes
- CVE update to container image. Resolves USN-4127-1.
This CVE is related to vulnerabilities with
python. None of our code callspythondirectly, but the IaaS CLIs rely on this package. - CVE update to container image. Resolves USN-4129-1.
(related to vulnerabilities with
curlandlibcurl. While none of our code directly used these, they are present on the image.) - CVE update to container image. Resolves USN-4132-1.
(related to vulnerabilities with
expat. While none of our code directly used these, they are present on the image.) - Bumped the following low-severity CVE packages:
libsystemd0,libudev1,linux-libc-dev
v4.0.1
Released September 4, 2019, includes om version 3.1.0
Bug Fixes
- CVE update to container image. Resolves USN-4108-1.
(related to vulnerabilities with
libzstd. While none of our code directly used these, they are present on the image.) - Bumped the following low-severity CVE packages:
linux-libc-dev
v4.0.0
Released August 28, 2019, includes om version 3.1.0
Breaking Changes
- The tasks have been updated to extract their
bashscripting into a separate script. The tasks' script can be used with different CI/CD systems like Jenkins.
This will be a breaking change if your tasks resource is not named platform-automation-tasks.
For example,
1 2 3 | |
will be changed to
1 2 3 | |
Notice that the resource name changed as did the relative path to the task YAML file in file.
What's New
configure-ldap-authentication,configure-saml-authentication, andconfigure-authenticationcan create a UAA client on the Ops Manager VM. The client_secret will be the value provided to this optionprecreated-client-secret. This is supported in OpsManager 2.5+.- For Ops Manager 2.6+, new task
pre-deploy-checkwill validate that Ops Manager and it's staged products are configured correctly. This may be run at any time and may be used as a pre-check forapply-changes. - For GCP,
create-vmwill now allow you to specify agcp_service_account_namefor the new Ops Manager VM. This enables you to designate a service account name as opposed to providing a service account json object. This may be specified in the Ops Manager config for GCP. For more information on GCP service accounts, refer to the GCP service accounts docs. - For GCP,
create-vmsupports settingscopesfor the new Ops Manager VM. This may be specified in the Ops Manager config for GCP. For more information on setting GCP scopes, refer to the GCP scope docs. configure-directornow support VM Extensions. Please note this is an advanced feature, and should be used at your own discretion.configure-directornow support VM Types. Please note this is an advanced feature, and should be used at your own discretion.- Add support for new NSX and NSXT format in Ops Manager 2.7+
when calling
staged-configandstaged-director-config - state can now be defined in a
state-$timestamp.ymlformat (likeexport-installation). This is an opt-in feature, and is only recommended if you are storing state in a non-versioned s3-compatible blobstore. To opt-in to this feature, a param must be added to your pipeline and given the value ofSTATE_FILE: state-$timestamp.ymlfor each invocation of the following commands: - gcp opsman.yml now supports
ssh_public_key. This is used to ssh into the Ops Manager VM to manage non-tile bosh add-ons. - EXPERIMENTAL
config-templatenow will provide required-vars in addition to default-vars. - EXPERIMENTAL
config-templatewill define vars with an_instead of a/. This is an aesthetically motivated change. Ops files are denoted with/, so changing the vars separators to_makes this easier to differentiate. - EXPERIMENTAL
config-templateoutputproduct-default-vars.ymlhas been changed todefault-vars.yml
Bug Fixes
download-productwill now return adownload-product.jsonifstemcell-iaasis defined, but there is no stemcell to download for that product.- vsphere opsman.yml now requires
ssh_public_keyfor Ops Manager 2.6+ This was added to mitigate an error during upgrade that would cause the VM to enter a reboot loop. - When using AWS to create the Ops Manager VM with encrypted disks,
the task
create-vmandupgrade-opsmanwill wait for disk encryption to be completed. An exponential backoff will be and timeout after an hour if disk is not ready.
v3.0.18
Released February 20, 2020
CLI Versions
| Name | version |
|---|---|
| om | 3.0.0 |
| bosh-cli | 6.1.1 |
| credhub | 2.6.1 |
| winfs-injector | 0.13.0 |
The full Docker image-receipt: Download
Bug Fixes
- GCP
create-vmnow correctly handles an empty tags list - CVE update to container image. Resolves USN-4274-1.
The CVEs are related to vulnerabilities with
libxml2. - Bumped the following low-severity CVE packages: libsystemd0 libudev1
v3.0.17
Released February 3, 2020
CLI Versions
| Name | version |
|---|---|
| om | 3.0.0 |
| bosh-cli | 6.1.1 |
| credhub | 2.6.1 |
| winfs-injector | 0.13.0 |
The full Docker image-receipt: Download
Bug Fixes
- CVE update to container image. Resolves USN-4243-1.
The CVEs are related to vulnerabilities with
libbsd. - CVE update to container image. Resolves USN-4249-1.
The CVEs are related to vulnerabilities with
e2fsprogs. - CVE update to container image. Resolves USN-4233-2.
The CVEs are related to vulnerabilities with
libgnutls30. - CVE update to container image. Resolves USN-4256-1.
The CVEs are related to vulnerabilities with
libsasl2-2. - Bumped the following low-severity CVE packages:
libcom-err2,libext2fs2,libss2,linux-libc-dev
v3.0.16
Released January 28, 2020
Bug Fixes
- CVE update to container image. Resolves USN-4236-1.
The CVEs are related to vulnerabilities with
Libgcrypt. - CVE update to container image. Resolves USN-4233-1.
The CVEs are related to vulnerabilities with
GnuTLS. - Bumped the following low-severity CVE package:
linux-libc-dev
v3.0.15
Released December 12, 2019
Bug Fixes
- CVE update to container image. Resolves USN-4220-1.
The CVEs are related to vulnerabilities with
git. - Bumped the following low-severity CVE package:
linux-libc-dev
v3.0.14
Released December 3, 2019
Bug Fixes
- CVE update to container image. Resolves USN-4205-1.
This CVE is related to vulnerabilities with
libsqlite3. None of our code callslibsqlite3directly, but the IaaS CLIs rely on this package.
v3.0.13
Released November 14, 2019, includes om version 3.0.0
Bug Fixes
- CVE update to container image. Resolves USN-4172-1.
This CVE is related to vulnerabilities with
fileandlibmagic. - CVE update to container image. Resolves USN-4168-1.
This CVE is related to vulnerabilities with
libidn2. - Bump
boshCLI to v6.1.1 - Bump
credhubCLI to v2.6.1
v3.0.12
Released October 25, 2019, includes om version 3.0.0
Bug Fixes
- CVE update to container image. Resolves USN-4151-1.
This CVE is related to vulnerabilities with
python. None of our code callspythondirectly, but the IaaS CLIs rely on this package.
v3.0.11
Released October 15, 2019, includes om version 3.0.0
Bug Fixes
- CVE update to container image. Resolves USN-4142-1.
(related to vulnerabilities with
e2fsprogs. While none of our code directly used these, they are present on the image.) - Bumped the following low-severity CVE packages:
libcom-err2,libext2fs2,libss2,linux-libc-dev
v3.0.10
Released September 26, 2019, includes om version 3.0.0
Bug Fixes
- CVE update to container image. Resolves USN-4127-1.
This CVE is related to vulnerabilities with
python. None of our code callspythondirectly, but the IaaS CLIs rely on this package. - CVE update to container image. Resolves USN-4129-1.
(related to vulnerabilities with
curlandlibcurl. While none of our code directly used these, they are present on the image.) - CVE update to container image. Resolves USN-4132-1.
(related to vulnerabilities with
expat. While none of our code directly used these, they are present on the image.) - Bumped the following low-severity CVE packages:
libsystemd0,libudev1,linux-libc-dev
v3.0.8
Released September 4, 2019, includes om version 3.0.0
Bug Fixes
- CVE update to container image. Resolves USN-4108-1.
(related to vulnerabilities with
libzstd. While none of our code directly used these, they are present on the image.) - Bumped the following low-severity CVE packages:
libpython2.7,libpython2.7-dev,libpython2.7-minimal,libpython2.7-stdlib,libssl1.1openssl,python-cryptography,python2.7,python2.7-dev,python2.7-minimal
v3.0.7
Released August 28, 2019, includes om version 3.0.0
Bug Fixes
- When using AWS to create the Ops Manager VM with encrypted disks,
the task
create-vmandupgrade-opsmanwill wait for disk encryption to be completed. An exponential backoff will be and timeout after an hour if disk is not ready. - CVE update to container image. Resolves USN-4071-1.
(related to vulnerabilities with
patch. While none of our code directly used these, they are present on the image.) - Bumped the following low-severity CVE packages:
linux-libc-dev,libldap-2.4-2,libldap-common,linux-libc-dev
v3.0.5
Released July 22, 2019, includes om version 3.0.0
Bug Fixes
- in
credhub-interpolate,upload-product, andupload-stemcellsettingSKIP_MISSING: falsethe command would fail. This has been fixed. upgrade-opsmanwould fail on theimport-installationstep if the env file did not contain a target or decryption passphrase. This will now fail before the upgrade process begins to ensure faster feedback.upgrade-opsmannow respects environment variables when it makes calls internally toom(env file still required).download-product-s3does not requirepivnet-api-tokenanymore.-
omCLI has been bumped to v3.0.0. This includes the following bug fixes:apply-changes --product <product>will error with product not found if that product has not been staged.upload-stemcellnow accepts--floating falsein addition tofloating=false. This was done to offer consistency between all of the flags on the command.-
skip-unchanged-productswas removed fromapply-changes. This option has had issues with consistent successful behaviour. For example, if the apply changes fails for any reason, the subsequent apply changes cannot pick where it left off. This usually happens in the case of errands that are used for services.We are working on scoping a selective deploy feature that makes sense for users. We would love to have feedback from users about this.
-
remove
revert-staged-changesunstage-productfunctionally does the same thing, but uses the API. - Bumped the following low-severity CVE packages:
unzip
v3.0.4
Released July 11, 2019, includes om version 2.0.0
Bug Fixes
-
Both
configure-ldap-authenticationandconfigure-saml-authenticationwill now automatically create a BOSH UAA admin client as documented here. This is only supported in OpsManager 2.4 and greater. You may specify the optionskip-create-bosh-admin-clientin your config YAML to skip creating this client. After the client has been created, you can find the client ID and secret by following steps three and four found here.This feature needs to be enabled to properly automate authentication for the bosh director when using LDAP and SAML. If
skip-create-bosh-admin-client: trueis specified, manual steps are required, and this task is no longer "automation". -
create-vmandupgrade-opsmannow function withgcp_service_account_nameon GCP. Previously, only providing a fullgcp_service_accountas a JSON blob worked. - Environment variables passed to
create-vm,delete-vm, andupgrade-opsmanwill be passed to the underlying IAAS CLI invocation. This allows our tasks to work with thehttps_proxyandno_proxyvariables that can be set in Concourse. download-producttask output ofassign-stemcell.ymlwill have the correctproduct-name-
When using the
env.ymlfor a task, extra values passed in the env file will now fail if they are not recognized properties. Invalid properties might now produce the following:1 2 3
$ om --env env.yml upload-product --product product.pivotal could not parse env file: yaml: unmarshal errors: line 5: field invalid-field not found in type main.options -
credhubCLI has been bumped to v2.5.1. This includes a fix of not raising an error when processing an empty YAML file. -
omCLI has been bumped to v2.0.0. This includes the following bug fixes:download-productwill now return adownload-file.jsonifstemcell-iaasis defined but the product has no stemcell. Previously, this would exit gracefully, but not return a file.-
Non-string environment variables can now be read and passed as strings to Ops Manager. For example, if your environment variable (
OM_NAME) is set to"123"(with quotes escaped), it will be evaluated in your config file with the quotes.Given
config.yml1value: ((NAME))om interpolate -c config.yml --vars-env OMWill evaluate to:
1value: "123" -
bosh-envwill now setBOSH_ALL_PROXYwithout a trailing slash if one is provided - When using
bosh-env, a check is done to ensure the SSH private key exists. If does not the command will exit 1. config-templatewill enforce the default value for a property to always beconfigurable: false. This is inline with the OpsManager behaviour.
-
CVE update to container image. Resolves USN-4040-1. (related to vulnerabilities with
Expat. While none of our code directly used these, they are present on the image.) - CVE update to container image. Resolves USN-4038-1 and USN-4038-3.
(related to vulnerabilities with
bzip. While none of our code directly used these, they are present on the image.) - CVE update to container image. Resolves USN-4019-1.
(related to vulnerabilities with
SQLite. While none of our code directly used these, they are present on the image.) - CVE update to container image. Resolves CVE-2019-11477.
(related to vulnerabilities with
linux-libc-dev. While none of our code directly used these, they are present on the image.) - CVE update to container image. Resolves USN-4049-1.
(related to vulnerabilities with
libglib. While none of our code directly used these, they are present on the image.)
v3.0.2
Released July 8, 2019, includes om version 1.0.0
Bug Fixes
- CVE update to container image. Resolves USN-4014-1.
(related to vulnerabilities with
GLib. While none of our code directly used these, they are present on the image.) - CVE update to container image. Resolves USN-4015-1.
(related to vulnerabilities with
DBus. While none of our code directly used these, they are present on the image.) - CVE update to container image. Resolves USN-3999-1.
(related to vulnerabilities with
GnuTLS. While none of our code directly used these, they are present on the image.) - CVE update to container image. Resolves USN-4001-1.
(related to vulnerabilities with
libseccomp. While none of our code directly used these, they are present on the image.) - CVE update to container image. Resolves USN-4004-1.
(related to vulnerabilities with
Berkeley DB. While none of our code directly used these, they are present on the image.) - CVE update to container image. Resolves USN-3993-1.
(related to vulnerabilities with
curl. While none of our code directly used these, they are present on the image.)
v3.0.1
Released May 24, 2019, includes om version 1.0.0
Breaking Changes
omwill now follow conventional Semantic Versioning, with breaking changes in major bumps, non-breaking changes for minor bumps, and bug fixes for patches.-
The
credhub-interpolatetask can have multiple interpolation paths. TheINTERPOLATION_PATHparam is now plural:INTERPOLATION_PATHS. IF you are using a customINTERPOLATION_PATHforcredhub-interpolate, you will need to update yourpipeline.ymlto this new param. As an example, if your credhub-interpolate job is defined as so:it should now look like1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# OLD pipeline.yml PRIOR TO 3.0.0 RELEASE - name: example-credhub-interpolate plan: - get: platform-automation-tasks - get: platform-automation-image - get: config - task: credhub-interpolate image: platform-automation-image file: platform-automation-tasks/tasks/credhub-interpolate.yml input_mapping: files: config params: # all required CREDHUB_CA_CERT: ((credhub_ca_cert)) CREDHUB_CLIENT: ((credhub_client)) CREDHUB_SECRET: ((credhub_secret)) CREDHUB_SERVER: ((credhub_server)) PREFIX: /private-foundation INTERPOLATION_PATH: foundation/config-path SKIP_MISSING: true1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# NEW pipeline.yml FOR 3.0.0 RELEASE - name: example-credhub-interpolate plan: - get: platform-automation-tasks - get: platform-automation-image - get: config - task: credhub-interpolate image: platform-automation-image file: platform-automation-tasks/tasks/credhub-interpolate.yml input_mapping: files: config params: # all required CREDHUB_CA_CERT: ((credhub_ca_cert)) CREDHUB_CLIENT: ((credhub_client)) CREDHUB_SECRET: ((credhub_secret)) CREDHUB_SERVER: ((credhub_server)) PREFIX: /private-foundation INTERPOLATION_PATHS: foundation/config-path SKIP_MISSING: true -
the
upload-productoption--sha256has been changed to--shasum. IF you are using the--configflag inupload-product, your config file will need to update from:to:1 2 3
# OLD upload-product-config.yml PRIOR TO 3.0.0 RELEASE product-version: 1.2.3-build.4 sha256: 6daededd8fb4c341d0cd437aThis change was added to future-proof the param name for when sha256 is no longer the de facto way of defining shasums.1 2 3
# NEW upload-product-config.yml FOR 3.0.0 RELEASE product-version: 1.2.3-build.4 shasum: 6daededd8fb4c341d0cd437a # NOTE the name of this value is changed
What's New
- The new command
assign-multi-stemcellassigns multiple stemcells to a provided product. This feature is only available in OpsMan 2.6+. download-productensures sha sum checking when downloading the file from Tanzu Network.download-productcan now disable ssl validation when connecting to Tanzu Network. This helps with environments with SSL and proxying issues. Addpivnet-disable-ssl: truein your download-product-config to use this feature.- On GCP, if you did not assign a public IP, Google would assign
one for you. This has been changed to only assign a public IP if defined in your
opsman.yml. - On Azure, if you did not assign a public IP, Azure would assign
one for you. This has been changed to only assign a public IP if defined in your
opsman.yml. om interpolate(example in the test task) now supports the ability to accept partial vars files. This is added support for users who may also be using credhub-interpolate or who want to mix interpolation methods. To make use of this feature, include the--skip-missingflag.credhub-interpolatenow supports theSKIP_MISSINGparameter. For more information on how to use this feature and if it fits for your foundation(s), see the Secrets Handling section.- the reference pipeline has been updated to give an example of
credhub-interpolatein practice. For more information about credhub, see Secrets Handling omnow has support forconfig-template(a Platform Automation Toolkit encouraged replacement oftile-config-generator). This is an experimental command that can only be run currently usingdocker run. For more information and instruction on how to useconfig-template, please see Creating a Product Config File.upload-stemcellnow supports the ability to include a config file. This allows you to define an expectedshasumthat will validate the calculated shasum of the providedstemcelluploaded in the task. This was added to give feature parity withupload-product- Azure now allows NSG(network security group) to be optional. This change was made because NSGs can be assigned at the subnet level rather than just the VM level. This param is also not required by the Azure CLI. Platform Automation Toolkit now reflects this.
- staged-director-config now supports returning multiple IaaS
configurations.
iaas-configurationsis a top level key returned in Ops Manager 2.2+. If using an Ops Manager 2.1 or earlier,iaas_configurationwill continue to be a key nested underproperties-configuration. -
configure-director now supports setting multiple IaaS configurations. If using this feature, be sure to use the top-level
iaas-configurationskey, rather than the nestedproperties-configuration.iaas_configurationkey. If using a single IaaS,properties-configuration.iaas_configurationis still supported, but the newiaas_configurationstop-level key is recommended.1 2 3 4 5 6 7 8 9
# Configuration for 2.2+ iaas-configurations: - additional_cloud_properties: {} name: ((iaas-configurations_0_name)) - additional_cloud_properties: {} name: ((iaas-configurations_1_name)) ... networks-configuration: ... properties-configuration: ...1 2 3 4 5 6 7 8 9
# Configuration 2.1 and earlier networks-configuration: ... properties-configuration: director_configuration: ... iaas_configuration: additional_cloud_properties: {} name: ((iaas-configurations_0_name)) ... security_configuration: ...
Bug Fixes
- OpenStack would sometimes be unable to associate the public IP when creating the VM, because it was
waiting for the VM to come up. The
--waitflag has been added to validate that the VM creation is complete before more work is done to the VM. credhub-interpolatenow accepts multiple files for theINTERPOLATION_PATHS.- CVE update to container image. Resolves USN-3911-1.
(related to vulnerabilities with
libmagic1. While none of our code directly used these, they are present on the image.) - Improved error messaging for vSphere VM creation if neither
ssh-passwordorssh-public-keyare set. One or the other is required to create a VM.