aboutsummaryrefslogtreecommitdiff
path: root/tests/templates/tenks-deploy-config.yml.j2
blob: 5fe3527a165333b9a6cf6a5d744988d7cf7dfd65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
# This file holds the config given to Tenks when running `deploy-tenks.sh`.

node_types:
  type0:
    memory_mb: 3072
    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
    # NOTE(bbezak): Force QEMU to expose x86-64‑v2 features, so the Centos Stream IPA
    # doesn’t fail with "Fatal glibc error: CPU does not support x86-64-v2".
    cpu_mode: maximum
  type1:
    memory_mb: 3072
    vcpus: 1
    volumes:
      - capacity: 4GiB
    physical_networks:
      - physnet1
    console_log_enabled: true
    cpu_mode: maximum
    ironic_driver: redfish
specs:
  - type: type0
    count: 1
    ironic_config:
      resource_class: test-rc
      network_interface: flat
  - type: type1
    count: 1
    ironic_config:
      resource_class: test-rc-red
      network_interface: flat

nova_flavors:
  - resource_class: test-rc
    node_type: type0
  - resource_class: test-rc-red
    node_type: type1

physnet_mappings:
  physnet1: {{ neutron_external_bridge_name }}

deploy_kernel: ipa.vmlinuz
deploy_ramdisk: ipa.initramfs

default_boot_mode: "bios"

# Use the libvirt daemon deployed by Kolla Ansible in the nova_libvirt
# container. Tenks will install libvirt client packages.
libvirt_host_install_daemon: false

# Nested virtualisation is not working well in CI currently. Force the use of
# QEMU.
libvirt_vm_engine: "qemu"

# QEMU may not be installed on the host, so set the path and avoid
# autodetection.
libvirt_vm_emulator: "{% if ansible_facts.os_family == 'RedHat' %}/usr/libexec/qemu-kvm{% else %}/usr/bin/qemu-system-x86_64{% endif %}"

# Specify a log path in the kolla_logs Docker volume. It is accessible on the
# host at the same path.
libvirt_vm_default_console_log_dir: "/var/log/kolla/tenks"

# Console logs are owned by the ID of the Nova user in the nova_libvirt
# container.
libvirt_vm_log_owner: 42436

# NOTE(priteau): Disable libvirt_vm_trust_guest_rx_filters, which when enabled
# triggers the following errors when booting baremetal instances with Tenks on
# Libvirt 9: Cannot set interface flags on 'macvtap1': Value too large for
# defined data type
libvirt_vm_trust_guest_rx_filters: false