Skip to content

Commit 2fdda6e

Browse files
committed
Add Tenks config for baremetal compute nodes
1 parent 3287901 commit 2fdda6e

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

tenks-compute.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
node_types:
3+
baremetal-compute:
4+
memory_mb: 4096
5+
vcpus: 1
6+
volumes:
7+
# There is a minimum disk space capacity requirement of 4GiB when using Ironic Python Agent:
8+
# https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/utils.py#L290
9+
- capacity: 10GiB
10+
physical_networks:
11+
- physnet1
12+
console_log_enabled: true
13+
14+
specs:
15+
- type: baremetal-compute
16+
count: 2
17+
node_name_prefix: bm
18+
ironic_config:
19+
resource_class: test-rc
20+
network_interface: flat
21+
22+
ipmi_address: 192.168.33.4
23+
24+
ipmi_port_range_start: 6238
25+
26+
nova_flavors:
27+
- resource_class: test-rc
28+
node_type: baremetal-compute
29+
30+
physnet_mappings:
31+
physnet1: braio
32+
33+
bridge_type: linuxbridge
34+
35+
deploy_kernel: ipa.kernel
36+
deploy_ramdisk: ipa.initramfs
37+
38+
# NOTE(priteau): Disable libvirt_vm_trust_guest_rx_filters, which when enabled
39+
# triggers the following errors when booting baremetal instances with Tenks on
40+
# Libvirt 9: Cannot set interface flags on 'macvtap1': Value too large for
41+
# defined data type
42+
libvirt_vm_trust_guest_rx_filters: false
43+
44+
# Use a different state file, to avoid deleting the overcloud VMs.
45+
state_file_path: >-
46+
{{ '/'.join([(playbook_dir | dirname), 'state-compute.yml']) }}

0 commit comments

Comments
 (0)