Skip to content

1.1.0

Compare
Choose a tag to compare
@docker-ee-ucp docker-ee-ucp released this 30 Nov 13:41
· 25 commits to master since this release
adac5d6

Version 1.1.0 Highlights

Renamed Products

This is also reflected in the configuration syntax.

launchpad exec

Run commands or interactive remote terminals on a remote hosts:

$ launchpad exec --role manager --interactive
root@manager0 # ls -al

launchpad describe

The describe subcommand can be used to show a simple report of the current status of the cluster:

$ launchpad describe mke

Environment Variable Substitution in launchpad.yaml

You can now use variables in the configuration. The values will be read from the local environment variables.

Example:

spec:
  mke:
    adminPassword: $MKE_ADMIN_PASSWORD

Read Configuration From STDIN

Instead of redirecting to a file, you can now do this:

$ terraform output mke_cluster | launchpad apply --config -

Configuration Syntax Changes

The latest API version is launchpad.mirantis.com/mke/v1.1.

Changes in a nutshell:

  • kind: DockerEnterprise is now kind: mke
  • ucp: is now mke:
  • dtr: is now msr:
  • role: dtr is now role: msr
  • replicaConfig is now replicaIDs
  • The administrator credentials can be set via spec.mke.adminUsername and .adminPassword instead of having to use the --admin-username/-password install flags.

A configuration for any previous launchpad apiVersion can still be used without changes and it will be migrated on the fly while loading. To output a migrated version of your launchpad.yaml, you can use:

$ launchpad describe config

Breaking Changes

  • NOTE: The Terraform examples have been updated to reflect the renamed products. If you use the new ones for updating any existing clusters deployed using the old ones, some new objects such as security groups, load balancers, etc may be created.
  • The launchpad download-bundle subcommand is now launchpad client-config. The subcommand no longer accepts --username and --password, you must specify those in the configuration YAML.
  • The --prune flag has been removed from launchpad apply, to enable pruning, set configuration spec.cluster.prune: true
  • Due to it's destructive nature, on an interactive terminal, launchpad reset will now ask for confirmation. When running non-interactively, you must supply the --force flag.

Changelog

  • Validate "localhost" resolves to an address on the host
  • Detect host's privateInterface automatically
  • Add launchpad download-launchpad subcommand to download the latest launchpad version
  • Make launchpad reset require --force or confirmation
  • Populate UCP SANs with manager addresses unless given
  • Add launchpad describe subcommand to show cluster status
  • Add bash, zsh and fish auto-completions
  • Validate MSR hosts can access the MKE cluster through the --ucp-url
  • Don't re-pull images that already exist
  • Make commands on windows hosts consider any output to STDERR to be a sign of failure
  • Use a more robust way to upload large files to hosts
  • Validate the resolved internal IP address is an IP address and not for example an error message
  • Setting UseNTLM: true now actually enables NTLM on WinRM
  • Improve how self upgrade check resolves the latest version
  • The self upgrade check can now be disabled using --disable-upgrade-check/-u/DISABLE_UPGRADE_CHECK
  • Perform self upgrade check in the background during normal command execution to reduce delay
  • The launchpad apply --prune option has been removed and can now be set via config spec.cluster.prune: true
  • Fix pulling and running MKE/MSR images from custom repositories
  • Add launchpad exec that can be used to run commands or interactive terminals on hosts
  • Reboot (mostly windows) hosts after engine installation has completed if necessary
  • Detect and adapt to windows private interface name change after engine install (Ethernet 2 => vEthernet (Ethernet 2))
  • The MKE administrator credentials can now be supplied via spec.mke.adminUsername and adminPassword
  • Perform environment variable substitution when parsing launchpad.yaml
  • Add spec.host.imageDir for uploading .tar/.tar.gz images from docker save to hosts
  • Removed the timestamp from log output and added a host role identifier and connection port (INFO M 127.0.0.1:22)
  • Removed unnecessary extra image pulls to worker hosts when installing MSR
  • Use the automatically generated MKE administrator password when installing MSR when none given
  • Renamed the launchpad download-bundle to launchpad client-config and removed the --username/--password options in favor of config spec.mke.adminUsername/adminPassword.
  • Read launchpad.yaml from STDIN when using --config -
  • Fix panic when running apply without any MKE configuration
  • Use admin as the default MKE administrator username when not given
  • Update the configuration API version to launchpad.mirantis.com/mke/v1.1
  • Error out when the YAML contains unknown keys
  • Increase the initial connect retry time to 4 minutes to allow deployed hosts time to spin up
  • Add --disable-redact for disabling the hiding of sensitive information
  • Add --confirm to prompt for confirmation when running any commands on hosts
  • UCP/DTR product renaming, UCP to MKE, DTR to MSR.
  • Fix private interface resolving in RHEL and others where ip is in /usr/sbin but it is not in PATH
  • Fix MSR sequential replica ID generation potentially creating conflicting IDs
  • Changed the replicaConfig: sequential configuration key to replicaIDs: sequential

Documentation

The updated documentation can be browsed in the Launchpad GitHub repo