-
Notifications
You must be signed in to change notification settings - Fork 26
/
tenks-compute.yml
46 lines (37 loc) · 1.21 KB
/
tenks-compute.yml
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
---
node_types:
baremetal-compute:
memory_mb: 4096
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: 10GiB
physical_networks:
- physnet1
console_log_enabled: true
specs:
- type: baremetal-compute
count: 2
node_name_prefix: bm
ironic_config:
resource_class: test-rc
network_interface: flat
ipmi_address: 192.168.33.4
ipmi_port_range_start: 6238
nova_flavors:
- resource_class: test-rc
node_type: baremetal-compute
physnet_mappings:
physnet1: braio
bridge_type: linuxbridge
deploy_kernel: ipa.kernel
deploy_ramdisk: ipa.initramfs
# 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
# Use a different state file, to avoid deleting the overcloud VMs.
state_file_path: >-
{{ '/'.join([(playbook_dir | dirname), 'state-compute.yml']) }}