Configuration
The inventory may define these hosts to run:
hypervisors
: Set of hosts to launch virtual machines
Components of VM
Each components of VM should have a VirtIO interface (for example the network or the disk).
Some examples are available here.
Troubleshooting
Bootloader
If the VM is in UEFI mode, it's possible that it doesn't boot because the firmware is not the same. Follow this steps:
- Boot the machine on the cluster
- Re-install the bootloader
- Update the bootloader configuration
Deployment of VM with Ansible
The playbook ansible/playbooks/cluster_setup_deploy_vms.yaml
is used to deploy a virtual machine. There is an ansible library (ansible/library/cluster_vm.py
) to wrap vm_manager.
Configuration
The inventory must define these hosts to run this step:
VMs
: Sets of hosts to launch on hypervisors
Before starting, make sure there is enough space in /home
and /tmp
.