Skip to content

Commit 3eeadec

Browse files
Initial skc baremetal commit
1 parent b0868db commit 3eeadec

File tree

4 files changed

+214
-0
lines changed

4 files changed

+214
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[baremetal-overcloud]
2+
3+
[baremetal:children]
4+
baremetal-compute
5+
baremetal-overcloud

etc/kayobe/environments/stackhpc-baremetal/inventory/hosts

Whitespace-only changes.
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
---
2+
###############################################################################
3+
# Ironic configuration.
4+
5+
# Specify the list of hardware types to load during service initialization.
6+
kolla_ironic_enabled_hardware_types:
7+
- redfish
8+
9+
# Specify the list of bios interfaces to load during service initialization.
10+
#kolla_ironic_enabled_bios_interfaces:
11+
12+
# Default bios interface to be used for nodes that do not have bios_interface
13+
# field set.
14+
#kolla_ironic_default_bios_interface:
15+
16+
# Specify the list of boot interfaces to load during service initialization.
17+
kolla_ironic_enabled_boot_interfaces:
18+
- redfish-virtual-media
19+
- redfish-https
20+
21+
# Default boot interface to be used for nodes that do not have boot_interface
22+
# field set.
23+
kolla_ironic_default_boot_interface: redfish-virtual-media
24+
25+
# Specify the list of console interfaces to load during service initialization.
26+
#kolla_ironic_enabled_console_interfaces:
27+
28+
# Default console interface to be used for nodes that do not have
29+
# console_interface field set.
30+
#kolla_ironic_default_console_interface:
31+
32+
# Specify the list of deploy interfaces to load during service initialization.
33+
#kolla_ironic_enabled_deploy_interfaces:
34+
35+
# Default deploy interface to be used for nodes that do not have
36+
# deploy_interface field set.
37+
#kolla_ironic_default_deploy_interface:
38+
39+
# Specify the list of inspect interfaces to load during service initialization.
40+
kolla_ironic_enabled_inspect_interfaces:
41+
- redfish
42+
- agent
43+
44+
# Default inspect interface to be used for nodes that do not have
45+
# inspect_interface field set.
46+
kolla_ironic_default_inspect_interface: redfish
47+
48+
# Specify the list of management interfaces to load during service
49+
# initialization.
50+
kolla_ironic_enabled_management_interfaces:
51+
- redfish
52+
53+
# Default management interface to be used for nodes that do not have
54+
# management_interface field set.
55+
#kolla_ironic_default_management_interface:
56+
57+
# Specify the list of network interfaces to load during service initialization.
58+
kolla_ironic_enabled_network_interfaces:
59+
- neutron
60+
- flat
61+
- noop
62+
63+
# Default network interface to be used for nodes that do not have
64+
# network_interface field set.
65+
kolla_ironic_default_network_interface: neutron
66+
67+
# Specify the list of power interfaces to load during service initialization.
68+
kolla_ironic_enabled_power_interfaces:
69+
- redfish
70+
71+
# Default power interface to be used for nodes that do not have power_interface
72+
# field set.
73+
#kolla_ironic_default_power_interface:
74+
75+
# Specify the list of raid interfaces to load during service initialization.
76+
#kolla_ironic_enabled_raid_interfaces:
77+
78+
# Default raid interface to be used for nodes that do not have
79+
# raid_interface field set.
80+
kolla_ironic_default_raid_interface: agent
81+
82+
# Specify the list of rescue interfaces to load during service initialization.
83+
#kolla_ironic_enabled_rescue_interfaces:
84+
85+
# Default rescue interface to be used for nodes that do not have
86+
# rescue_interface field set.
87+
#kolla_ironic_default_rescue_interface:
88+
89+
# Specify the list of storage interfaces to load during
90+
# service initialization.
91+
#kolla_ironic_enabled_storage_interfaces:
92+
93+
# Default storage interface to be used for nodes that do not
94+
# have storage_interface field set.
95+
#kolla_ironic_default_storage_interface:
96+
97+
# Specify the list of vendor interfaces to load during service initialization.
98+
#kolla_ironic_enabled_vendor_interfaces:
99+
100+
# Default vendor interface to be used for nodes that do not have
101+
# vendor_interface field set.
102+
#kolla_ironic_default_vendor_interface:
103+
104+
# Name of the Neutron network to use for cleaning.
105+
#kolla_ironic_cleaning_network:
106+
107+
# Name of the Neutron network to use for provisioning.
108+
#kolla_ironic_provisioning_network:
109+
110+
# List of default kernel parameters to append for baremetal PXE boot.
111+
#kolla_ironic_pxe_append_params_default:
112+
113+
# List of additional kernel parameters to append for baremetal PXE boot.
114+
#kolla_ironic_pxe_append_params_extra:
115+
116+
# List of kernel parameters to append for baremetal PXE boot.
117+
#kolla_ironic_pxe_append_params:
118+
119+
###############################################################################
120+
# Ironic Node Configuration
121+
122+
# Whether or not to enable the serial consoles on post configure
123+
#ironic_serial_console_autoenable:
124+
125+
# This defines the start of the range of TCP ports to used for the IPMI socat
126+
# serial consoles
127+
#ironic_serial_console_tcp_pool_start:
128+
129+
# This defines the end of the range of TCP ports to used for the IPMI socat
130+
# serial consoles
131+
#ironic_serial_console_tcp_pool_end:
132+
133+
###############################################################################
134+
# Dummy variable to allow Ansible to accept this file.
135+
workaround_ansible_issue_8743: yes
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{% raw %}
2+
{% set internal_net_ip = (internal_net_ips).get(inventory_hostname) %}
3+
4+
[DEFAULT]
5+
# avoid checksum issues, do convert on deploy node
6+
force_raw_images = false
7+
# Avoid some timeouts of heartbeats and vif deletes
8+
rpc_response_timeout = 360
9+
10+
[conductor]
11+
automated_clean = true
12+
bootloader = file:///var/lib/ironic/httpboot/esp.img
13+
deploy_kernel = file:///var/lib/ironic/httpboot/ironic-agent.kernel
14+
deploy_ramdisk = file:///var/lib/ironic/httpboot/ironic-agent.initramfs
15+
16+
# We have busy conductors failing to heartbeat
17+
# Default is 10 secs
18+
heartbeat_interval = 30
19+
# Default is 60 seconds
20+
heartbeat_timeout = 360
21+
sync_local_state_interval = 360
22+
23+
# Normally this is 100. We see eventlet threads
24+
# not making much progress, to for saftey reduce
25+
# this by half, should leave work on rabbit queu
26+
workers_pool_size = 50
27+
# Normally this is 8, keep it same
28+
period_max_workers = 8
29+
30+
# Increase power sync interval to reduce load
31+
sync_power_state_interval = 120
32+
power_failure_recovery_interval = 120
33+
# Stop checking for orphan allocations for now
34+
check_allocations_interval = 120
35+
36+
# Wait much longer before provision timeout check, to reduce background load
37+
# The default is 60 seconds
38+
check_provision_state_interval = 120
39+
check_rescue_state_interval = 120
40+
41+
[database]
42+
# Usually this is 50, reduce to stop DB connection timeouts
43+
# and instead just make eventlet threads wait a bit longer
44+
max_overflow = 5
45+
# By default this is 30 seconds, but as we reduce
46+
# the pool overflow, some people will need to wait longer
47+
pool_timeout = 60
48+
49+
[neutron]
50+
# Increase the neutron client timeout to allow for the slow management
51+
# switches.
52+
timeout = 300
53+
request_timeout = 300
54+
55+
[glance]
56+
# Retry image download at least once if failure
57+
num_retries = 1
58+
59+
[neutron]
60+
inspection_network = "{{ inspection_net_name | default('inspect-net' )}}"
61+
62+
[redfish]
63+
kernel_append_params = nofb nomodeset vga=normal console=tty0 console=ttyS0,115200n8 ipa-insecure=1 {% if internal_net_ip %}ipa-ntp-server={{ internal_net_ip }}{% endif %}
64+
65+
[inspector]
66+
extra_kernel_params = ipa-collect-lldp=1 ipa-inspection-collectors=default,logs,pci-devices ipa-insecure=1
67+
hooks = ramdisk-error,validate-interfaces,ports,local-link-connection,parse-lldp,root-device,cpu-capabilities,architecture
68+
add_ports = all
69+
70+
[pxe]
71+
# 100GB size 4 weeks ttl
72+
image_cache_size = 95367
73+
image_cache_ttl = 40320
74+
{% endraw %}

0 commit comments

Comments
 (0)