@pcf-platform-automation pcf-platform-automation released this Feb 15, 2019 · 17 commits to master since this release

Bug Fixes

  • download-product would panic if the product was already downloaded and you asked for a stemcell. This has been fixed to behave appropriately
Assets 5

@pcf-platform-automation pcf-platform-automation released this Feb 15, 2019 · 21 commits to master since this release

Breaking changes

  • download-product will now enforce a prefix of {product-slug}-{semver-version} when downloading from pivnet. The original filename is preserved after the prefix. If the original filename already matches the intended format, there will be no change. Any regexes that strictly enforce the original filename at the beginning of the regex will be broken. Please update accordingly. This change was done in order to encourage tile teams to change their file names to be more consistent. Ops Manager itself has already agreed to implement this change in newer versions.

Features

  • add support for the selected_option field when calling staged-config to have better support for selectors.
    • this support also extends to configure-product, which will accept both selected_option and option_value as
      the machine readable value.
  • download-product now has support for downloading from an external s3 compatible blobstore using the --blobstore s3
    flag.
  • staged-director-config now supports a no-redact flag that will return all of the credentials from an Ops Manager
    director, if the user has proper permissions to do so. It is recommended to use the admin user.
Assets 5

@pcf-platform-automation pcf-platform-automation released this Jan 18, 2019 · 88 commits to master since this release

Features

  • import-installation provides validation on the installation file to ensure
    • it exists
    • it is a valid zip file
    • it contains the installation.yml artifact indicative of an exported installation

Bug Fixes

  • Fixed typo in configure-director vmextensions
Assets 5

@pcf-platform-automation pcf-platform-automation released this Jan 14, 2019 · 98 commits to master since this release

Breaking changes

configure-director and staged-director-config now include a properties-configuration.

The following keys have recently been removed from the top level configuration: director-configuration, iaas-configuration, security-configuration, syslog-configuration.

To fix this error, move the above keys under 'properties-configuration' and change their dashes to underscores.

The old configuration file would contain the keys at the top level.

director-configuration: {}
iaas-configuration: {}
network-assignment: {}
networks-configuration: {}
resource-configuration: {}
security-configuration: {}
syslog-configuration: {}
vmextensions-configuration: []

They'll need to be moved to the new 'properties-configuration', with their dashes turn to underscore.
For example, 'director-configuration' becomes 'director_configuration'.
The new configration file will look like.

az-configuration: {}
network-assignment: {}
networks-configuration: {}
properties-configuration:
  director_configuration: {}
  security_configuration: {}
  syslog_configuration: {}
  iaas_configuration: {}
  dns_configuration: {}
resource-configuration: {}
vmextensions-configuration: []

Features

  • The package manager has been migrated from dep to go mod. It now requires golang 1.11.4+. For information on go modules usage, see the golang wiki.

Bug Fixes

  • import-installation will now retry 3 times (it uses the polling interval configuration) if it suspects that nginx has not come up yet. This fixes an issue with opsman if you tried to import an installation with a custom SSL Cert for opsman.
  • When using configure-product on opsman 2.1, it would fail because the completeness check does not work. To disable add the field validate-config-complete: false to your config file.
  • fix the nil pointer dereference issue in staged-products when om cannot reach OpsManager
Assets 5

@pcf-platform-automation pcf-platform-automation released this Jan 7, 2019 · 126 commits to master since this release

Features

  • download-product supports grabbing for a version via a regular expression.
    Using --product-version-regex sorts the versions returned by semver and
    returns the highest matching version to the regex. The sort ignores non-semver
    version numbers -- similar to the pivnet resource behaviour.
  • download-product no longer requires download-stemcell to be set when specifying stemcell-iaas. It is there for backwards compatibility, but it is a no-op.
  • added more copy for the help message of bosh-env
  • fix documentation for vm-extensions usage
Assets 5

@pcf-platform-automation pcf-platform-automation released this Dec 31, 2018 · 134 commits to master since this release

Features

  • Increased the default connect-timeout from 5 seconds to 10. This should alleviate reliability issues some have seen in CI.

  • Adds several commands (delete-ssl-certificate, ssl-certificate, update-ssl-certificate) around managing the Ops Manager VM's TLS cert. These new commands are courtesy of a PR, and we're still tinkering a bit (especially in terms of how they communicate in the case of a default cert, given that the Ops Manager API doesn't even bother returning a cert in that case).
    There should be a fast-to-follow release with these commands more polished; if we'd planned better we might have marked these as experimental until we were done tinkering with them, but we don't see any reason to delay releasing this time.

Assets 5

@pcf-platform-automation pcf-platform-automation released this Nov 30, 2018 · 159 commits to master since this release

Breaking changes

  • stage-product & configure-product & configure-director: Now errors if apply-changes is running. [a3ebd52]

Features

  • configure-ldap-authentication: add the command to configure ldap auth during initial setup

Bug Fixes

  • assign-stemcell: fix a message format
Assets 5

@pcf-platform-automation pcf-platform-automation released this Nov 26, 2018 · 170 commits to master since this release

Breaking changes

  • download-product now outputs product_path, product_slug, stemcell_path, and stemcell_version instead
    of just product and stemcell. This will help compatability with assign-stemcell.
Assets 5

@pcf-platform-automation pcf-platform-automation released this Nov 26, 2018 · 172 commits to master since this release

Breaking changes

  • removed individual configuration flags for configure-director [commit]
  • removed individual configuration flags for configure-product [commit]

Features

  • add more intelligent timeouts for commands
  • fail fast if a key is not defined in configuration files for configure-product and configure-director
  • add assign-stemcell command to associate a specified stemcell to the product

Bug Fixes

  • fix stemcell version check logic in download-product command -- stemcells can now be downloaded even if they
    don't have a minor version (e.g. version 97)
Assets 5

@pcf-platform-automation pcf-platform-automation released this Nov 5, 2018 · 191 commits to master since this release

Breaking changes

None

Features

None

Bug fixes

  • The decryption passphrase check was returning dial timeout errors more frequently. Three HTTP retries were added if dial timeout occurs. [Fixes #283]
Assets 5