Skip to content

Commit 9be32e9

Browse files
authored
Merge pull request #170 from stackhpc/tenks-storage-compute
Tenks config for storage & compute
2 parents 9839c99 + 2fdda6e commit 9be32e9

File tree

2 files changed

+94
-0
lines changed

2 files changed

+94
-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: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
# This file holds the config given to Tenks when running `tenks-deploy.sh`. It
3+
# assumes the existence of the bridge `braio`.
4+
5+
node_types:
6+
storage:
7+
memory_mb: 8192
8+
vcpus: 1
9+
volumes:
10+
# There is a minimum disk space capacity requirement of 4GiB when using Ironic Python Agent:
11+
# https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/utils.py#L290
12+
- capacity: 20GiB
13+
- capacity: 20GiB
14+
physical_networks:
15+
- physnet1
16+
console_log_enabled: true
17+
18+
specs:
19+
- type: storage
20+
count: 3
21+
node_name_prefix: storage
22+
ironic_config:
23+
resource_class: test-rc
24+
network_interface: noop
25+
26+
ipmi_address: 192.168.33.4
27+
28+
nova_flavors: []
29+
30+
physnet_mappings:
31+
physnet1: braio
32+
33+
ipmi_port_range_start: 6235
34+
35+
bridge_type: linuxbridge
36+
37+
# No placement service.
38+
wait_for_placement: false
39+
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+
46+
# Use a different state file, to avoid deleting the overcloud VMs.
47+
state_file_path: >-
48+
{{ '/'.join([(playbook_dir | dirname), 'state-storage.yml']) }}

0 commit comments

Comments
 (0)