Skip to content

Releases: Mirantis/launchpad

1.1.0-rc5

26 Nov 11:54
adac5d6
Compare
Choose a tag to compare
1.1.0-rc5 Pre-release
Pre-release

Changelog

(vs 1.1.0-rc4)

  • Fix admin UI URLs in "launchpad describe" output
  • UCP/DTR product renaming, UCP to MKE, DTR to MSR.
  • API version updated to launchpad.mirantis.com/mke/v1.1
  • Separate configuration kinds for MKE-only and MKE+MSR installations
  • Fix private interface resolving in RHEL and others where /usr/sbin is not in PATH
  • Fix MSR sequential replica ID generation potentially creating conflicting IDs
  • Changed the replicaConfig: sequential configuration key to replicaIDs: sequential

Configuration syntax changes are migrated automatically when using a launchpad.yaml from an older apiVersion.

Sample configuration with the recent changes:

apiVersion: launchpad.mirantis.com/mke/v1.1 # was "launchpad.mirantis.com/v1"
kind: mke+msr # was "DockerEnterprise"
spec:
  hosts:
    - address: "10.0.0.1"
      role: manager
    - address: "10.0.0.2"
      role: msr # was "dtr"
  mke: # was "ucp:"
    adminUsername: admin
    adminPassword: password
  msr: # was "dtr:"
    version: 2.3.4

1.1.0-rc4

13 Nov 12:06
adac5d6
Compare
Choose a tag to compare
1.1.0-rc4 Pre-release
Pre-release

Changelog

(vs 1.1.0-rc3)

  • Fix exec --target (#252)
  • Add --disable-redact for disabling the hiding of sensitive information
  • Add --confirm to prompt for confirmation when running any commands on hosts

1.1.0-rc3

12 Nov 13:31
adac5d6
Compare
Choose a tag to compare
1.1.0-rc3 Pre-release
Pre-release

Changelog

(vs 1.1.0-rc2)

  • Fix connection retry max period to approx 4 minutes, fail fast on an authentication error

1.1.0-rc2

11 Nov 13:23
adac5d6
Compare
Choose a tag to compare
1.1.0-rc2 Pre-release
Pre-release

Changelog

(since 1.1.0-rc1)

  • Error out when the YAML contains unknown keys
  • Add back docker auth if registry credential environment variables are set
  • Escape and warn about variables when migrating pre v1.1 configs
  • Increase the initial connect retry time

1.1.0-rc1

10 Nov 14:11
adac5d6
Compare
Choose a tag to compare
1.1.0-rc1 Pre-release
Pre-release

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
  • Fix UCP healthcheck not taking custom --controller-port into consideration and failing
  • Remove surrounding quotes when parsing InstallFlag values
  • Validate DTR hosts can access the UCP through the --ucp-url
  • Add hidden option --disable-cleanup to skip cleanup on failures
  • Add hidden option --trace/-dd for more verbose logging
  • Don't pull images that already exist
  • Make commands on windows hosts consider any output to STDERR to be a failure
  • Use a more robust way to upload large files to hosts
  • Validate the resolved internal IP address is an IP address and not 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 UCP/DTR images from custom repositories
  • Add launchpad exec that can be used to run commands or remote terminals on the hosts listed in the configuration
  • 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 UCP administrator credentials can now be supplied via spec.ucp.adminUsername and adminPassword
  • Perform environment variable substitution when reading launchpad.yaml (example: spec.ucp.adminPassword: ${UCP_ADMIN_PASSWORD})
  • Add spec.host.imageDir for uploading .tar/.tar.gz images from docker save to hosts
  • Removed the --dtr flag from launchpad init
  • 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 DTR
  • Use the automatically generated UCP administrator password when installing DTR when not specified
  • Renamed the launchpad download-bundle to launchpad client-config and removed the --username/--password options in favor of config spec.ucp.adminUsername/adminPassword.
  • Read launchpad.yaml from STDIN when using --config -
  • Fix panic when running apply without any UCP configuration
  • Use admin as the UCP administrator username when not given
  • Update the configuration API version to launchpad.mirantis.com/v1.1

Known issues

  • "Detect invalid/duplicate keys in launchpad.yaml" functionality was lost during refactoring and will again be present in 1.1.0-rc2.

Documentation

The updated documentation can be browsed in the branch release/1.1

1.1.0-beta5

09 Oct 13:10
fde8607
Compare
Choose a tag to compare
1.1.0-beta5 Pre-release
Pre-release

Changelog

  • Add hidden options --disable-cleanup to skip cleanup on failures and --trace/-dd for more verbose logging
  • Don't pull images that already exist
  • Make command executions on windows hosts treat any output to STDERR as an error
  • Use a more robust way to upload larger files to hosts
  • Validate internal IP resolving actually returned an IP address
  • Fix minor logging/output bugs during remote command execs
  • Setting UseNTLM: true now actually enables NTLM on WinRM
  • Improve how self upgrade check resolves the latest version. The check can be disabled using --disable-upgrade-check/-u/DISABLE_UPGRADE_CHECK.

1.1.0-beta4

25 Sep 12:35
fde8607
Compare
Choose a tag to compare
1.1.0-beta4 Pre-release
Pre-release

Changelog

  • Validate DTR hosts can access the UCP through the --ucp-url
  • Healthcheck UCP on leader using the configured controller-port

1.1.0-beta3

24 Sep 13:24
fde8607
Compare
Choose a tag to compare
1.1.0-beta3 Pre-release
Pre-release

Changelog

  • Fix DTR installer always overwriting --ucp-username / --ucp-password with UCP's --admin-username+--admin-password
  • Fix UCP healthcheck not taking custom --controller-port into consideration and failing
  • InstallFlag parsing would get the value with quotes, breaking DTR install/upgrade if --admin-password or username had quotes
  • Combined the two similar UCP health checks into one that is used in both situations

From 1.1.0-beta2:

  • Detect invalid/duplicate keys in launchpad.yaml
  • 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
  • Configure UCP installFlags SANs using manager addresses unless given
  • Add launchpad describe subcommand to show cluster status
  • Add bash, zsh and fish auto-completions

Known issues:

  • The describe subcommand usage / output will likely still have some changes
  • WinRM's useNTLM: true actually does nothing
  • The upgrade check never reports anything on mac
  • The upgrade check is using github API's /latest which would return 0.14.5 if it was the newest release, even if 1.1.0 was available. At this point it's highly unlikely though that there would be patch releases for older launchpad versions.

Installing shell auto-completions:

Bash:

$ launchpad completion -s bash > /etc/bash_completion.d/launchpad
$ source /etc/bash_completion.d/launchpad

Zsh:

$ launchpad completion -s zsh > /usr/local/share/zsh/site-functions/_launchpad
$ source /usr/local/share/zsh/site-functions/_launchpad

Fish:

$ launchpad completion -s fish > ~/.config/fish/completions/launchpad.fish
$ source ~/.config/fish/completions/launchpad.fish

1.1.0-beta2

23 Sep 11:55
fde8607
Compare
Choose a tag to compare
1.1.0-beta2 Pre-release
Pre-release

Changelog

  • Detect invalid/duplicate keys in launchpad.yaml
  • 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
  • Configure UCP installFlags SANs using manager addresses unless given
  • Add launchpad describe subcommand to show cluster status
  • Add bash, zsh and fish auto-completions

Known issues:

  • The describe subcommand usage / output will likely still have some changes
  • WinRM's useNTLM: true actually does nothing
  • The upgrade check never reports anything on mac
  • The upgrade check is using github API's /latest which would return 0.14.5 if it was the newest release, even if 1.1.0 was available. At this point it's highly unlikely though that there would be patch releases for older launchpad versions.

Installing shell auto-completions:

Bash:

$ launchpad completion -s bash > /etc/bash_completion.d/launchpad
$ source /etc/bash_completion.d/launchpad

Zsh:

$ launchpad completion -s zsh > /usr/local/share/zsh/site-functions/_launchpad
$ source /usr/local/share/zsh/site-functions/_launchpad

Fish:

$ launchpad completion -s fish > ~/.config/fish/completions/launchpad.fish
$ source ~/.config/fish/completions/launchpad.fish

1.0.3

30 Oct 11:11
fde8607
Compare
Choose a tag to compare

Changelog

  • Fixed running UCP/DTR bootstrap images from custom repositories