Skip to content

Commit 0a88da0

Browse files
authored
Merge pull request stackhpc#171 from stackhpc/tenks-compute-2023.1
2023.1: Add Tenks compute config, disable libvirt guest RX filters for storage nodes
2 parents 9926b76 + f51ef41 commit 0a88da0

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-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']) }}

tenks-storage.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ bridge_type: linuxbridge
3737
# No placement service.
3838
wait_for_placement: false
3939

40+
# NOTE(priteau): Disable libvirt_vm_trust_guest_rx_filters, which when enabled
41+
# triggers the following errors when booting baremetal instances with Tenks on
42+
# Libvirt 9: Cannot set interface flags on 'macvtap1': Value too large for
43+
# defined data type
44+
libvirt_vm_trust_guest_rx_filters: false
45+
4046
# Use a different state file, to avoid deleting the overcloud VMs.
4147
state_file_path: >-
4248
{{ '/'.join([(playbook_dir | dirname), 'state-storage.yml']) }}

0 commit comments

Comments
 (0)