forked from stackhpc/a-universe-from-nothing
/
bifrost.yml
201 lines (161 loc) · 5.82 KB
/
bifrost.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
---
# Kayobe configuration for Bifrost.
###############################################################################
# Bifrost installation.
# URL of Bifrost source code repository.
#kolla_bifrost_source_url:
# Version (branch, tag, etc.) of Bifrost source code repository. Default is
# {{ openstack_branch }}.
#kolla_bifrost_source_version:
# Firewalld zone used by Bifrost. Default is "trusted", to avoid blocking other
# services running on the seed host.
#kolla_bifrost_firewalld_internal_zone:
###############################################################################
# Diskimage-builder configuration.
# DIB base OS element. Default is "centos".
#kolla_bifrost_dib_os_element:
# DIB image OS release. Default is "8".
#kolla_bifrost_dib_os_release:
# List of default DIB elements. Default is ["disable-selinux",
# "enable-serial-console", "vm"].
#kolla_bifrost_dib_elements_default:
# List of additional DIB elements. Default is none.
#kolla_bifrost_dib_elements_extra:
# List of DIB elements. Default is a combination of
# kolla_bifrost_dib_elements_default and kolla_bifrost_dib_elements_extra.
#kolla_bifrost_dib_elements:
# DIB init element. Default is "cloud-init-datasources".
#kolla_bifrost_dib_init_element:
# DIB default environment variables. Default is {"DIB_CLOUD_INIT_DATASOURCES":
# "ConfigDrive", "DIB_DISABLE_KERNEL_CLEANUP": 1}.
#kolla_bifrost_dib_env_vars_default:
# DIB additional environment variables. Default is none.
#kolla_bifrost_dib_env_vars_extra:
# DIB environment variables. Default is combination of
# kolla_bifrost_dib_env_vars_default and kolla_bifrost_dib_env_vars_extra.
#kolla_bifrost_dib_env_vars:
# List of DIB packages to install. Default is to install no extra packages.
#kolla_bifrost_dib_packages:
###############################################################################
# Ironic configuration.
# List of hardware types to enable for Bifrost's Ironic.
#kolla_bifrost_enabled_hardware_types: [direct, ramdisk]
# List of extra kernel parameters for Bifrost's Ironic PXE configuration.
# Default is empty.
#kolla_bifrost_extra_kernel_options:
###############################################################################
# Ironic Inspector configuration.
# List of of inspector processing plugins.
#kolla_bifrost_inspector_processing_hooks:
# Which MAC addresses to add as ports during introspection. One of 'all',
# 'active' or 'pxe'.
#kolla_bifrost_inspector_port_addition:
# List of extra kernel parameters for the inspector default PXE configuration.
#kolla_bifrost_inspector_extra_kernel_options:
# List of introspection rules for Bifrost's Ironic Inspector service.
#kolla_bifrost_inspector_rules:
# Ironic inspector IPMI username to set.
#kolla_bifrost_inspector_ipmi_username:
# Ironic inspector IPMI password to set.
#kolla_bifrost_inspector_ipmi_password:
# Ironic inspector network interface name on which to check for an LLDP switch
# port description to use as the node's name.
#kolla_bifrost_inspector_lldp_switch_port_interface:
# Ironic inspector deployment kernel location.
#kolla_bifrost_inspector_deploy_kernel:
# Ironic inspector deployment ramdisk location.
#kolla_bifrost_inspector_deploy_ramdisk:
# Timeout of hardware inspection on overcloud nodes, in seconds. Default is
# {{ inspector_inspection_timeout }}.
#kolla_bifrost_inspection_timeout:
###############################################################################
# Ironic Python Agent (IPA) configuration.
# URL of Ironic Python Agent (IPA) kernel image.
#kolla_bifrost_ipa_kernel_upstream_url:
# URL of checksum of Ironic Python Agent (IPA) kernel image.
#kolla_bifrost_ipa_kernel_checksum_url:
# Algorithm of checksum of Ironic Python Agent (IPA) kernel image.
#kolla_bifrost_ipa_kernel_checksum_algorithm:
# URL of Ironic Python Agent (IPA) ramdisk image.
#kolla_bifrost_ipa_ramdisk_upstream_url:
# URL of checksum of Ironic Python Agent (IPA) ramdisk image.
#kolla_bifrost_ipa_ramdisk_checksum_url:
# Algorithm of checksum of Ironic Python Agent (IPA) ramdisk image.
#kolla_bifrost_ipa_ramdisk_checksum_algorithm:
###############################################################################
# Inventory configuration.
# Server inventory for Bifrost.
kolla_bifrost_servers:
controller0:
driver_info:
power:
ipmi_username: admin
ipmi_address: 192.168.5.1
ipmi_password: password
driver: ipmi
nics:
- mac: 52:54:00:7e:c2:c7
name: controller1
controller1:
driver_info:
power:
ipmi_username: admin
ipmi_address: 192.168.5.2
ipmi_password: password
driver: ipmi
nics:
- mac: 52:54:00:cf:ff:8e
name: controller2
controller2:
driver_info:
power:
ipmi_username: admin
ipmi_address: 192.168.5.3
ipmi_password: password
driver: ipmi
nics:
- mac: 52:54:00:10:9e:e8
name: controller3
compute0:
driver_info:
power:
ipmi_username: admin
ipmi_address: 192.168.5.11
ipmi_password: password
driver: ipmi
nics:
- mac: 52:54:00:d2:2d:64
name: compute1
compute1:
driver_info:
power:
ipmi_username: admin
ipmi_address: 192.168.5.12
ipmi_password: password
driver: ipmi
nics:
- mac: 52:54:00:dc:7a:a0
name: compute2
compute2:
driver_info:
power:
ipmi_username: admin
ipmi_address: 192.168.5.13
ipmi_password: password
driver: ipmi
nics:
- mac: 52:54:00:b2:9f:87
name: compute3
storage1:
driver_info:
power:
ipmi_username: admin
ipmi_address: 192.168.5.21
ipmi_password: password
driver: ipmi
nics:
- mac: 52:54:00:f7:cb:62
name: storage1
###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes