![Mark Goddard](/assets/img/avatar_default.png)
Currently nested virtualisation under KVM does not seem to be working in
CI. This breaks the 'bare metal' deployment testing using Tenks, which
lead us to disable it in 749ef8243e
.
This commit forces Tenks to use QEMU for its VMs, allowing us to revert
commit 749ef8243e9ae855cf8ceb54dc3f88c6c1b2fea0..
Change-Id: Id382c218f3b37979341f0d96718a6011a1d9da37
Story: 2005316
Task: 30223
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
---
|
|
# This file holds the config given to Tenks when running `tenks-deploy.sh`. It
|
|
# assumes the existence of the bridge `breth1`.
|
|
|
|
node_types:
|
|
type0:
|
|
memory_mb: 1024
|
|
vcpus: 1
|
|
volumes:
|
|
# There is a minimum disk space capacity requirement of 4GiB when using Ironic Python Agent:
|
|
# https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/utils.py#L290
|
|
- capacity: 4GiB
|
|
physical_networks:
|
|
- physnet1
|
|
console_log_enabled: true
|
|
|
|
specs:
|
|
- type: type0
|
|
count: 2
|
|
ironic_config:
|
|
resource_class: test-rc
|
|
network_interface: flat
|
|
|
|
nova_flavors:
|
|
- resource_class: test-rc
|
|
node_type: type0
|
|
|
|
physnet_mappings:
|
|
physnet1: breth1
|
|
|
|
deploy_kernel: ipa.vmlinuz
|
|
deploy_ramdisk: ipa.initramfs
|
|
|
|
# Use a custom socket path to avoid a conflict with the nova_libvirt kolla
|
|
# container which bind mounts /var/run/libvirt.
|
|
libvirt_custom_socket_path: /var/run/libvirt-tenks
|
|
|
|
# Nested virtualisation is not working well in CI currently. Force the use of
|
|
# QEMU.
|
|
libvirt_vm_engine: "qemu"
|