Changelog¶
Contents
2020.08.14.0¶
Updated
google-api-python-clienttov1.7.12.Added support for CentOS 8 and Flatcar when using Docker.
2020.05.26.0¶
Changed the default version of
dcos-vagrant-boxto0.10.Updated dependencies.
Drop support for RHEL in
minidcos aws.
2019.10.11.0¶
Update vendored
dcos-test-utilsdependency.
2019.10.10.0¶
Bump
dcos-test-utilsdependency.
2019.08.28.0¶
Fix issue which prevented CoreOS nodes starting on Docker.
2019.06.19.0¶
Renamed
Cluster.run_integration_tests’stest_hostparameter tonode.Renamed
Cluster.run_integration_tests’spytest_commandparameter toargs.Renamed
Cluster.run_integration_teststoCluster.run_with_test_environment.Split
ClusterandNodeupgradeandinstall_dcosfunctions into*_dcos_from_[path|url]functions.Enable larger log sizes and lower memory uses by moving
Dockerbackend logs to the host disk.
2019.06.15.0¶
Add
minidcos aws destroyandminidcos aws destroy-listcommands.
2019.06.10.0¶
Fix error “No module named ‘keyring.util.escape’”.
Added
Cluster.upgrade_dcosandminidcosupgradecommands.Replaced
Cluster.install_dcos_from_urlandCluster.install_dcos_from_pathwithCluster.install_dcoswhich takes a URL or Path.Replaced
Node.install_dcos_from_urlandNode.install_dcos_from_pathwithNode.install_dcoswhich takes a URL or Path.Fix
minidcosinspectcommands for legacy versions of DC/OS.Add options to enable or disable spinner animations in
minidcos.
2019.06.07.0¶
Get DC/OS build information from a
Nodeobject after installation.Added option to
minidcos aws createandminidcos aws provisionto choose the AWS instance type.Changed the default version of Docker installed on
minidcos dockerclusters to18.06.3-ce.Added
Node.upgrade_dcos_from_path.Added
minidcos docker upgrade.
2019.06.03.0¶
Added options to choose the amount of memory given to each VM.
Fixed a bug which prevented
minidcos vagrantfrom working when a VM existed with a space in the name.Fixed a bug which prevented
minidcos vagrantfrom working in some situations when the$HOMEenvironment variable is not set.
2019.05.24.1¶
Add a
minidcos docker doctorcheck which fails when usingBoot2Docker.
2019.05.23.1¶
Fix issue with
minidcos vagrantwhich prevented node access via SSH.Change
minidcosdefault credentials for DC/OS Enterprise clusters fromadmin/admintobootstrapuser/deleteme.
2019.05.23.0¶
Download a file or directory from a
Node.Improve efficiency of installing DC/OS with
createonminidcos dockerandminidcos aws.Allow the use of a
MINIDCOS_NODE_DOCKER_VERSIONenvironment variable to set the version of Docker insideminidcos dockernodes.
2019.04.29.0¶
Remove use of
selectwhich is not supported on Windows.minidcos docker cleanwill no longer clean up containers which are started from now on by the tooling to create a custom macOS network.
2019.04.23.1¶
The
wait_for_dcos_ossandwait_for_dcos_eemethods no longer log output of node poststart check command run.The
Node.runmethod logs the command that is going to execute withdebuglevel ifoutputis configured toLOG_AND_CAPTURE.The
Node.runmethod no longer logsstderrwhenOutput.CAPTUREis used.The
Node.runmethod no longer mergesstderrintostdoutwhenOutput.LOG_AND_CAPTUREis used.
2019.04.23.0¶
The library no longer configures logger handler. Applications using
dcos_e2elibrary that were relying on logging being printed to stdout should configureloggingon its own.
2019.04.18.1¶
Add new commands to
minidcos vagrantandminidcos awsto provision a bare cluster (provision) and install DC/OS on a bare cluster (install).
2019.04.18.0¶
Improve the spinner while waiting for
minidcoscommands.Add
send-filecommands tominidcossubcommands.Remove
--envoption onminidcos docker inspect.Custom backends must now specify the base config in the
ClusterBackendrather than theClusterManager.Add new commands to
minidcos dockerto provision a bare cluster (provision) and install DC/OS on a bare cluster (install).
2019.04.08.1¶
Add
minidcos vagrant cleancommand to clean up left over VMs.
2019.04.08.0¶
Allow multiple
--nodeoptions onruncommands to run a command on multiple nodes.minidcos vagrant listwill now not show clusters with aborted VMs. A VM is aborted for example if the host is shut down.
2019.04.02.1¶
Make various
minidcoscommands faster by using caching.
2019.04.02.0¶
Remove warnings about YAML when running
minidcos vagrant.
2019.03.28.0¶
Change names of install functions for custom backends to remove
_with_bootstrap_node.
2019.03.27.0¶
Allow login after
minidcos docker waiton DC/OS OSS 1.13.
2019.02.16.0¶
Mount
/sys/fs/cgroupinto Docker agents by default.Add options to the CLI and library to disable mounting
/sys/fs/cgroup.
2019.01.27.1¶
Stop mounting
/sys/fs/cgroupinto Docker agents.
2019.01.27.0¶
Add more
minidcos docker doctorchecks.
2019.01.10.0¶
Fix issue where “RuntimeError: cannot join current thread” was shown.
2019.01.05.0¶
Backwards incompatible change: Move
ClusterBackendandClusterManagertodcos_e2e.base_classes.
2018.12.05.0¶
Limit UUID in the cluster ID to 5 characters to avoid problems with Docker.
2018.12.01.0¶
Ship type hints for other packages to use.
2018.11.22.0¶
Allow
-hinstead of--helpon all CLI commands.
2018.11.20.1¶
Allow multiple
--sync-diroptions to be given toruncommands.
2018.11.20.0¶
Rename
build_artifactand related variables to “installer”.If syncing a DC/OS OSS repository to a DC/OS Enterprise cluster, only Open Source tests are synced.
2018.11.16.1¶
Backwards incompatible change: Changed CLI commands from
dcos-dockertominidcos dockerand alike.
2018.11.16.0¶
Add a
dcos-docker doctorcheck for systemd.Add a progress bar for
doctorcommands.Log subprocess output unicode characters where possible.
2018.11.09.1¶
Backwards incompatible change: Change
--no-test-envto--test-envonruncommands, with the opposite default.
2018.11.09.0¶
Fix an issue which caused incompatible version errors between
keyringandSecretStoredependencies.
2018.11.07.0¶
Add
dcos-docker create-loopback-sidecaranddcos-docker destroy-loopback-sidecarcommands to provide unformatted block devices to DC/OS.Add
dcos-docker cleancommand to clean left over artifacts.Backwards incompatible change: Changed names of VPN containers on macOS.
2018.10.17.0¶
Fix an issue which stopped the SSH transport from working on CLIs.
2018.10.16.0¶
Remove
log_output_liveparameters on various functions in favor of newoutputoptions.Node.__init__’sssh_key_pathparameter now expects a path to an SSH key file with specific permissions.See the documentation for this class for details.
2018.10.12.0¶
The
docker-exectransport uses interactive mode only when running in a terminal.
2018.10.11.0¶
Show full path on
download-artifactdownloads.Default to downloading to the current directory for
download-artifactdownloads.Use a TTY on CLI run commands only if Stdin is a TTY.
2018.10.10.0¶
Fix issues which stopped pre-built Linux binaries from working.
2018.09.25.0¶
wait_for_dcos_ossandwait_for_dcos_eenow raise a customDCOSTimeoutErrorif DC/OS has not started within one hour.
2018.09.06.0¶
The
--variantoption is now required for thedcos-awsCLI.Added the ability to install on Linux from a pre-built binary.
Add the ability to do a release to a fork.
2018.08.31.0¶
Fix using macOS with no custom network.
2018.08.28.0¶
Support for CoreOS on the AWS backend.
Fix an issue which prevented the Vagrant backend from working.
2018.08.22.0¶
Improve diagnostics when creating a Docker-backed cluster with no running Docker daemon.
2018.08.13.0¶
Add instructions for uninstalling DC/OS E2E.
2018.08.03.0¶
Pin
msrestazurepip dependency to specific version to avoid dependency conflict.
2018.07.31.0¶
Add a
dcos-docker doctorcheck that relevant Docker images can be built.
2018.07.30.0¶
Add Red Hat Enterprise Linux 7.4 support to the AWS backend.
2018.07.27.0¶
Fix bug which meant that a user could not log in after
dcos-docker waiton DC/OS Open Source clusters.Backwards incompatible change: Remove
files_to_copy_to_installerfromCluster.__init__and addfiles_to_copy_to_genconf_diras an argument toCluster.install_dcos_from_pathas well asCluster.install_dcos_from_url.Add
files_to_copy_to_genconf_diras an argument toNode.install_dcos_from_pathandNode.install_dcos_from_url.
2018.07.25.0¶
Add the capability of sending a directory to a
NodeviaNode.send_file.Add
ip_detect_pathto the eachClusterBackendas a property and to each install DC/OS function as a parameter.
2018.07.23.0¶
Add an initial
dcos-awsCLI.
2018.07.22.1¶
Add
dcos-docker download-artifactanddcos-vagrant download-artifact.
2018.07.22.0¶
Add
verboseoption to multiple commands.
2018.07.16.0¶
Add
virtualbox_descriptionparameter to theVagrantbackend.Change the default transport for the Docker backend to
DOCKER_EXEC.
2018.07.15.0¶
Add a
--one-master-host-port-mapoption todcos-docker create.
2018.07.10.0¶
Execute
node-poststartchecks inCluster.wait_for_dcosandCluster.wait_for_dcos_ee.Add
dcos-vagrant doctorchecks.
2018.07.03.5¶
Add a
--networkoption to thedcos-dockerCLI.
2018.07.03.0¶
Add a
dcos-vagrantCLI.
2018.07.01.0¶
Renamed Homebrew formula. To upgrade from a previous version, follow Homebrew’s linking instructions after upgrade instructions.
2018.06.30.0¶
Add a
Vagrantbackend.
2018.06.28.2¶
Add a
aws_instance_typeparameter to theAWSbackend.
2018.06.28.0¶
Compare
Nodeobjects based on thepublic_ip_addressandprivate_ip_address.
2018.06.26.0¶
Add a
networkparameter to theDockerbackend.
2018.06.20.0¶
Add platform-independent DC/OS installation method from
Pathand URL onNode.
2018.06.18.0¶
Add
dcos-docker doctorcheck for a version conflict between systemd and Docker.Allow installing DC/OS by a URL on the Docker backend, and a cluster
from_nodes.
2018.06.14.1¶
Add
Cluster.remove_node.
2018.06.14.0¶
Add Ubuntu support to the Docker backend.
Add
aws_key_pairparameter to the AWS backend.Fix Linuxbrew installation on Ubuntu.
2018.06.12.1¶
Add a
--waitflag todcos-docker createto also wait for the cluster.
2018.06.12.0¶
dcos-docker createnow creates clusters with the--cluster-id“default” by default.
2018.06.05.0¶
Change
Node.default_ssh_usertoNode.default_user.Add a
docker exectransport toNodeoperations.Add a
--transportoptions to multipledcos-dockercommands.
2018.05.29.0¶
Do not pin
setuptoolsto an exact version.
2018.05.24.2¶
Add
--envoption todcos-docker run.
2018.05.24.1¶
Make
xfs_infoavailable on nodes, meaning that preflight checks can be run on nodes with XFS.Fix
dcos-docker doctorfor cases wheredfproduces very long results.
2018.05.21.0¶
Show a formatted error rather than a traceback if Docker cannot be connected to.
Custom backends’ must now implement a
base_configmethod.Custom backends’ installation methods must now take
dcos_configrather thanextra_config.Cluster.install_dcos_from_urlandCluster.install_dcos_from_pathnow takedcos_configrather thanextra_config.
2018.05.17.0¶
Add a
--variantoption todcos-docker createto speed up cluster creation.
2018.05.15.0¶
Add a
test_hostparameter toCluster.run_integration_tests.Add the ability to specify a node to use for
dcos-docker run.
2018.05.14.0¶
Show IP address in
dcos-docker inspect.
2018.05.10.0¶
Expose the SSH key location in
dcos-docker inspect.Make network created by
setup-mac-networknow survives restarts.
2018.05.02.0¶
Previously not all volumes were destroyed when destroying a cluster from the CLI or with the
Dockerbackend. This has been resolved. To remove dangling volumes from previous versions, usedocker volume prune.Backwards incompatible change:
mountparameters toDocker.__init__now take alistofdocker.types.Mounts.Docker version 17.06 or later is now required for the CLI and for the
Dockerbackend.
2018.04.30.2¶
Added
dcos-docker destroy-mac-networkcommand.Added a
--forceparameter todcos-docker setup-mac-networkto override files and containers.
2018.04.29.0¶
Added
dcos-docker setup-mac-networkcommand.
2018.04.25.0¶
Logs from dependencies are no longer emitted.
The
dcos-dockerCLI now gives more feedback to let you know that things are happening.
2018.04.19.0¶
The AWS backend now supports DC/OS 1.9.
The Docker backend now supports having custom mounts which apply to all nodes.
Add
custom-volumeparameter (and similar for each node type) todcos-docker create.
2018.04.11.0¶
Add an AWS backend to the library.
Add ability to control which labels are added to particular node types on the
Dockerbackend.Add support for Ubuntu on the
Dockerbackend.
2018.04.02.1¶
Add a new
dcos-docker doctorcheck for suitablesedfor DC/OS 1.9.Support
cluster.run_integration_testson DC/OS 1.9.
2018.04.02.0¶
Add support for DC/OS 1.9 on Linux hosts.
dcos-docker doctorreturns a status code of1if there are any errors.Add a new
dcos-docker doctorcheck for free space in the Docker root directory.
2018.03.26.0¶
Add a
dcos-docker doctorcheck that a supported storage driver is available.Fix error with using Docker version v17.12.1-ce inside Docker nodes.
Fix race condition between installing DC/OS and SSH starting.
Remove support for Ubuntu on the Docker backend.
2018.03.07.0¶
Fix public agents on DC/OS 1.10.
Remove options to use Fedora and Debian in the
Dockerbackend nodes.Fix the Ubuntu distribution on the
Dockerbackend.Add support for Docker
17.12.1-ceon nodes in theDockerbackend.Exceptions in
createin the CLI point towards thedoctorcommand.Removed a race condition in the
doctorcommand.dcos-docker runnow exits with the return code of the command run.dcos-docker destroy-listis a new command anddcos-docker destroynow adheres to the common semantics of the CLI.
2018.02.28.0¶
Add
Vagrantfileto run DC/OS E2E in a virtual machine.Add instructions for running DC/OS E2E on Windows.
Allow relative paths for the build artifact.
2018.02.27.0¶
Backwards incompatible change: Move
default_ssh_userparameter fromClustertoNode. Thedefault_ssh_useris now used forNode.run,Node.popenandNode.send_fileifuseris not supplied.
2018.02.23.0¶
Add
linux_distributionparameter to theDockerbackend.Add support for CoreOS in the
Dockerbackend.Add
docker_versionparameter to theDockerbackend.The fallback Docker storage driver for the
Dockerbackend is nowaufs.Add
storage_driverparameter to theDockerbackend.Add
docker_container_labelsparameter to theDockerbackend.Logs are now less cluttered with escape characters.
Documentation is now on Read The Docs.
Add a Command Line Interface.
Vendor
dcos_test_utilsso--process-dependency-linksis not needed.Backwards incompatible change:
Cluter’sfiles_to_copy_to_installerargument is now aListofTuples rather than aDict.Add a
ttyoption toNode.runandCluster.run_integration_tests.
2018.01.25.0¶
Backwards incompatible change: Change the default behavior of
Node.runandNode.popento quote arguments, unless a newshellparameter isTrue. These methods now behave similarly tosubprocess.run.Add custom string representation for
Nodeobject.Bump
dcos-test-utilsfor better diagnostics reports.
2018.01.22.0¶
Expose the
public_ip_addressof the SSH connection and theprivate_ip_addressof its DC/OS component onNodeobjects.Bump
dcos-test-utilsfor better diagnostics reports.
2017.12.11.0¶
Replace the extended
wait_for_dcos_eetimeout with a precedingdcos-diagnosticscheck.
2017.12.08.0¶
Extend
wait_for_dcos_eetimeout for waiting until the DC/OS CA cert can be fetched.
2017.11.29.0¶
Backwards incompatible change: Introduce separate
wait_for_dcos_ossandwait_for_dcos_eemethods. Both methods improve the boot process waiting time for the corresponding DC/OS version.Backwards incompatible change:
run_integration_testsnow requires users to callwait_for_dcos_ossorwait_for_dcos_eebeforehand.
2017.11.21.0¶
Remove
ExistingClusterbackend and replaced it with simplerCluster.from_nodesmethod.Simplified the default configuration for the Docker backend. Notably this no longer contains a default
superuser_usernameorsuperuser_password_hash.Support
custom_agent_mountsandcustom_public_agent_mountson the Docker backend.
2017.11.15.0¶
Remove
destroy_on_erroranddestroy_on_successfromCluster. Instead, avoid usingClusteras a context manager to keep the cluster alive.
2017.11.14.0¶
Backwards incompatible change: Rename
DCOS_Dockerbackend toDockerbackend.Backwards incompatible change: Replace
generate_config_pathwithbuild_artifactthat can either be aPathor a HTTP(S) URL string. This allows for supporting installation methods that require build artifacts to be downloaded from a HTTP server.Backwards incompatible change: Remove
run_as_root. Instead require adefault_ssh_userfor backends toruncommands over SSH on any clusterNodecreated with this backend.Backwards incompatible change: Split the DC/OS installation from the ClusterManager
__init__procedure. This allows for installing DC/OS afterClustercreation, and therefore enables decoupling of transferring files ahead of the installation process.Backwards incompatible change: Explicit distinction of installation methods by providing separate methods for
install_dcos_from_pathandinstall_dcos_from_urlinstead of inspecting the type ofbuild_artifact.Backwards incompatible change:
log_output_liveis no longer an attribute of theClusterclass. It may now be passed separately as a parameter for each output-generating operation.
2017.11.02.0¶
Added
Node.send_fileto allow files to be copied to nodes.Added
custom_master_mountsto the DC/OS Docker backend.Backwards incompatible change: Removed
files_to_copy_to_masters. Instead, usecustom_master_mountsorNode.send_file.
2017.10.04.0¶
Added Apache2 license.
Repository moved to
https://github.com/dcos/dcos-e2e.Added
run, which is similar torun_as_rootbut takes auserargument.Added
popen, which can be used for running commands asynchronously.
2017.08.11.0¶
Fix bug where
Nodereprs were put into environment variables rather than IP addresses. This prevented some integration tests from working.
2017.08.08.0¶
Fixed issue which prevented
files_to_copy_to_installerfrom working.
2017.08.05.0¶
The Enterprise DC/OS integration tests now require environment variables describing the IP addresses of the cluster. Now passes these environment variables.
2017.06.23.0¶
Wait for 5 minutes after diagnostics check.
2017.06.22.0¶
Account for the name of
3dthaving changed todcos-diagnostics.
2017.06.21.1¶
Support platforms where
$HOMEis set as/root.Cluster.wait_for_dcosnow waits for CA cert to be available.
2017.06.21.0¶
Add ability to specify a workspace.
Fixed issue with DC/OS Docker files not existing in the repository.
2017.06.20.0¶
Vendor DC/OS Docker so a path is not needed.
If
log_output_liveis set toTruefor aCluster, logs are shown inwait_for_dcos.
2017.06.19.0¶
More storage efficient.
Removed need to tell
Clusterwhether a cluster is an enterprise cluster.Removed need to tell
Clusterthesuperuser_password.Added ability to set environment variables on remote nodes when running commands.
2017.06.15.0¶
Initial release.