Vagrant Backend¶
The Vagrant backend is used to spin up clusters on Vagrant virtual machines, where each virtual machine is a DC/OS node.
Requirements¶
Hardware¶
A minimum of 2 GB of free memory is required per DC/OS node.
VirtualBox¶
VirtualBox must be installed. This has been tested with VirtualBox 5.1.18.
vagrant-vbguest
¶
vagrant-vbguest must be installed.
dcos-vagrant doctor
¶
DC/OS E2E comes with the dcos-vagrant doctor command. Run this command to check your system for common causes of problems.
Reference¶
-
class
dcos_e2e.backends.
Vagrant
(virtualbox_description='', workspace_dir=None)¶ Create a configuration for a Vagrant cluster backend.
Parameters: - workspace_dir (
Optional
[Path
]) – The directory in which large temporary files will be created. These files will be deleted at the end of a test run. This is equivalent to dir intempfile.mkstemp()
. - virtualbox_description (
str
) – A description string to add to VirtualBox VMs.
-
workspace_dir
¶ The directory in which large temporary files will be created. These files will be deleted at the end of a test run.
-
virtualbox_description
¶ A description string to add to VirtualBox VMs.
- workspace_dir (