Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions tenks-compute.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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']) }}
48 changes: 48 additions & 0 deletions tenks-storage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
# This file holds the config given to Tenks when running `tenks-deploy.sh`. It
# assumes the existence of the bridge `braio`.

node_types:
storage:
memory_mb: 8192
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: 20GiB
- capacity: 20GiB
physical_networks:
- physnet1
console_log_enabled: true

specs:
- type: storage
count: 3
node_name_prefix: storage
ironic_config:
resource_class: test-rc
network_interface: noop

ipmi_address: 192.168.33.4

nova_flavors: []

physnet_mappings:
physnet1: braio

ipmi_port_range_start: 6235

bridge_type: linuxbridge

# No placement service.
wait_for_placement: false

# 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-storage.yml']) }}