Skip to content

Commit 7091862

Browse files
authored
Merge pull request #88 from stackhpc/wallaby-config-sync
Sync downstream config file changes from Kayobe stackhpc/wallaby
2 parents a5029fb + 7a928d8 commit 7091862

18 files changed

+535
-9
lines changed

etc/kayobe/apt.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
# Apt cache TTL in seconds. Default is 3600.
66
#apt_cache_valid_time:
77

8+
# Apt proxy URL for HTTP. Default is empty (no proxy).
9+
#apt_proxy_http:
10+
11+
# Apt proxy URL for HTTPS. Default is {{ apt_proxy_http }}.
12+
#apt_proxy_https:
13+
814
###############################################################################
915
# Dummy variable to allow Ansible to accept this file.
1016
workaround_ansible_issue_8743: yes

etc/kayobe/bifrost.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ kolla_bifrost_source_url: "{{ stackhpc_bifrost_source_url }}"
1111
# {{ openstack_branch }}.
1212
kolla_bifrost_source_version: "{{ stackhpc_bifrost_source_version }}"
1313

14+
# Whether Bifrost uses firewalld. Default value is false to avoid conflicting
15+
# with iptables rules configured on the seed host by Kayobe.
16+
#kolla_bifrost_use_firewalld:
17+
1418
# Firewalld zone used by Bifrost. Default is "trusted", to avoid blocking other
1519
# services running on the seed host.
1620
#kolla_bifrost_firewalld_internal_zone:
@@ -53,6 +57,18 @@ kolla_bifrost_source_version: "{{ stackhpc_bifrost_source_version }}"
5357
# List of DIB packages to install. Default is to install no extra packages.
5458
#kolla_bifrost_dib_packages:
5559

60+
###############################################################################
61+
# Disk image deployment configuration.
62+
63+
# Name of disk image file to deploy. Default is "deployment_image.qcow2".
64+
#kolla_bifrost_deploy_image_filename:
65+
66+
# UUID of the root filesystem contained within the deployment image.
67+
# See below URL for instructions on how to extract it:
68+
# https://docs.openstack.org/ironic/latest/admin/raid.html#image-requirements
69+
# Default is none.
70+
#kolla_bifrost_deploy_image_rootfs:
71+
5672
###############################################################################
5773
# Ironic configuration.
5874

@@ -74,6 +90,9 @@ kolla_bifrost_source_version: "{{ stackhpc_bifrost_source_version }}"
7490
#kolla_bifrost_inspector_port_addition:
7591

7692
# List of extra kernel parameters for the inspector default PXE configuration.
93+
# Default is {{ inspector_extra_kernel_options }}, defined in inspector.yml.
94+
# When customising this variable, the default extra kernel parameters should be
95+
# kept to retain full node inspection capabilities.
7796
#kolla_bifrost_inspector_extra_kernel_options:
7897

7998
# List of introspection rules for Bifrost's Ironic Inspector service.

etc/kayobe/compute.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,74 @@
115115
# singleplatform-eng.users role.
116116
#compute_users:
117117

118+
###############################################################################
119+
# Compute node firewalld configuration.
120+
121+
# Whether to install and enable firewalld.
122+
#compute_firewalld_enabled:
123+
124+
# A list of zones to create. Each item is a dict containing a 'zone' item.
125+
#compute_firewalld_zones:
126+
127+
# A firewalld zone to set as the default. Default is unset, in which case the
128+
# default zone will not be changed.
129+
#compute_firewalld_default_zone:
130+
131+
# A list of firewall rules to apply. Each item is a dict containing arguments
132+
# to pass to the firewalld module. Arguments are omitted if not provided, with
133+
# the following exceptions:
134+
# - offline: true
135+
# - permanent: true
136+
# - state: enabled
137+
#compute_firewalld_rules:
138+
139+
###############################################################################
140+
# Compute node host libvirt configuration.
141+
142+
# Whether to enable a host libvirt daemon. Default is true if kolla_enable_nova
143+
# is true and kolla_enable_nova_libvirt_container is false.
144+
#compute_libvirt_enabled:
145+
146+
# A dict of default configuration options to write to
147+
# /etc/libvirt/libvirtd.conf.
148+
#compute_libvirt_conf_default:
149+
150+
# A dict of additional configuration options to write to
151+
# /etc/libvirt/libvirtd.conf.
152+
#compute_libvirt_conf_extra:
153+
154+
# A dict of configuration options to write to /etc/libvirt/libvirtd.conf.
155+
# Default is a combination of compute_libvirt_conf_default and
156+
# compute_libvirt_conf_extra.
157+
#compute_libvirt_conf:
158+
159+
# Numerical log level for libvirtd. Default is 3.
160+
#compute_libvirtd_log_level:
161+
162+
# A dict of default configuration options to write to
163+
# /etc/libvirt/qemu.conf.
164+
#compute_qemu_conf_default:
165+
166+
# A dict of additional configuration options to write to
167+
# /etc/libvirt/qemu.conf.
168+
#compute_qemu_conf_extra:
169+
170+
# A dict of configuration options to write to /etc/libvirt/qemu.conf.
171+
# Default is a combination of compute_qemu_conf_default and
172+
# compute_qemu_conf_extra.
173+
#compute_qemu_conf:
174+
175+
# Whether to enable a libvirt TLS listener. Default is false.
176+
#compute_libvirt_enable_tls:
177+
178+
# Whether to install a Ceph package repository on CentOS and Rocky hosts.
179+
# Default is true.
180+
#compute_libvirt_ceph_repo_install:
181+
182+
# Ceph package repository release to install on CentOS and Rocky hosts when
183+
# compute_libvirt_ceph_repo_install is true. Default is 'pacific'.
184+
#compute_libvirt_ceph_repo_release:
185+
118186
###############################################################################
119187
# Dummy variable to allow Ansible to accept this file.
120188
workaround_ansible_issue_8743: yes

etc/kayobe/controllers.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,27 @@
124124
# singleplatform-eng.users role.
125125
#controller_users:
126126

127+
###############################################################################
128+
# Controller node firewalld configuration.
129+
130+
# Whether to install and enable firewalld.
131+
#controller_firewalld_enabled:
132+
133+
# A list of zones to create. Each item is a dict containing a 'zone' item.
134+
#controller_firewalld_zones:
135+
136+
# A firewalld zone to set as the default. Default is unset, in which case the
137+
# default zone will not be changed.
138+
#controller_firewalld_default_zone:
139+
140+
# A list of firewall rules to apply. Each item is a dict containing arguments
141+
# to pass to the firewalld module. Arguments are omitted if not provided, with
142+
# the following exceptions:
143+
# - offline: true
144+
# - permanent: true
145+
# - state: enabled
146+
#controller_firewalld_rules:
147+
127148
###############################################################################
128149
# Dummy variable to allow Ansible to accept this file.
129150
workaround_ansible_issue_8743: yes

etc/kayobe/dnf.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,18 @@
1212
# Whether or not to use a local Yum mirror. Default value is 'false'.
1313
#dnf_use_local_mirror:
1414

15-
# Mirror FQDN for Yum repos. Default value is 'mirror.centos.org'.
15+
# Mirror FQDN for Yum CentOS repos. Default value is 'mirror.centos.org'.
1616
#dnf_centos_mirror_host:
1717

1818
# Mirror directory for Yum CentOS repos. Default value is 'centos'.
1919
#dnf_centos_mirror_directory:
2020

21+
# Mirror FQDN for Yum Rocky repos. Default value is 'dl.rockylinux.org'.
22+
#dnf_rocky_mirror_host:
23+
24+
# Mirror directory for Yum Rocky repos. Default value is 'pub/rocky'.
25+
#dnf_rocky_mirror_directory:
26+
2127
# Mirror FQDN for Yum EPEL repos. Default value is
2228
# 'download.fedoraproject.org'.
2329
#dnf_epel_mirror_host:

etc/kayobe/globals.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,26 @@
4545
###############################################################################
4646
# OS distribution.
4747

48-
# OS distribution name. Valid options are "centos", "ubuntu". Default is
49-
# "centos".
48+
# OS distribution name. Valid options are "centos", "rocky", "ubuntu". Default
49+
# is "centos".
5050
#os_distribution:
5151

5252
# OS release. Valid options are "8-stream" when os_distribution is "centos", or
53-
# "focal" when os_distribution is "ubuntu".
53+
# "8" when os_distribution is "rocky", or "focal" when os_distribution is
54+
# "ubuntu".
5455
#os_release:
5556

57+
###############################################################################
58+
# Ansible configuration.
59+
60+
# Filter to apply to the setup module when gathering facts. Default is to not
61+
# specify a filter.
62+
#kayobe_ansible_setup_filter:
63+
64+
# Gather subset to apply to the setup module when gathering facts. Default is
65+
# to not specify a gather subset.
66+
#kayobe_ansible_setup_gather_subset:
67+
5668
###############################################################################
5769
# Dummy variable to allow Ansible to accept this file.
5870
workaround_ansible_issue_8743: yes

etc/kayobe/infra-vms.yml

Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
---
2+
###############################################################################
3+
# Infrastructure VM configuration.
4+
5+
# Name of the infra VM.
6+
#infra_vm_name:
7+
8+
# Memory in MB.
9+
#infra_vm_memory_mb:
10+
11+
# Number of vCPUs.
12+
#infra_vm_vcpus:
13+
14+
# List of volumes.
15+
#infra_vm_volumes:
16+
17+
# Root volume.
18+
#infra_vm_root_volume:
19+
20+
# Data volume.
21+
#infra_vm_data_volume:
22+
23+
# Name of the storage pool for the infra VM volumes.
24+
#infra_vm_pool:
25+
26+
# Capacity of the infra VM root volume.
27+
#infra_vm_root_capacity:
28+
29+
# Format of the infra VM root volume.
30+
#infra_vm_root_format:
31+
32+
# Base image for the infra VM root volume. Default is
33+
# "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
34+
# when os_distribution is "ubuntu", or
35+
# http://dl.rockylinux.org/pub/rocky/8.5/images/Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2
36+
# when os_distribution is "rocky",
37+
# or
38+
# "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20210603.0.x86_64.qcow2"
39+
# otherwise.
40+
#infra_vm_root_image:
41+
42+
# Capacity of the infra VM data volume.
43+
#infra_vm_data_capacity:
44+
45+
# Format of the infra VM data volume.
46+
#infra_vm_data_format:
47+
48+
# List of network interfaces to attach to the infra VM.
49+
#infra_vm_interfaces:
50+
51+
# Hypervisor that the VM runs on.
52+
#infra_vm_hypervisor:
53+
54+
# Customise ansible_ssh_extra_args for the test that checks SSH connectivity
55+
# after provisioning. Defaults to disabling ssh host key checking.
56+
#infra_vm_wait_connection_ssh_extra_args:
57+
58+
# OS family. Needed for config drive generation.
59+
# infra_vm_os_family:
60+
61+
###############################################################################
62+
# Infrastructure VM node configuration.
63+
64+
# User with which to access the infrastructure vm via SSH during bootstrap, in
65+
# order to setup the Kayobe user account.
66+
#infra_vm_bootstrap_user:
67+
68+
###############################################################################
69+
# Infrastructure VM network interface configuration.
70+
71+
# List of networks to which infrastructure vm nodes are attached.
72+
#infra_vm_network_interfaces:
73+
74+
# List of default networks to which infrastructure vm nodes are attached.
75+
#infra_vm_default_network_interfaces:
76+
77+
# List of extra networks to which infrastructure vm nodes are attached.
78+
#infra_vm_extra_network_interfaces:
79+
80+
###############################################################################
81+
# Infrastructure VM node software RAID configuration.
82+
83+
# List of software RAID arrays. See mrlesmithjr.mdadm role for format.
84+
#infra_vm_mdadm_arrays:
85+
86+
###############################################################################
87+
# Infrastructure VM node encryption configuration.
88+
89+
# List of block devices to encrypt. See stackhpc.luks role for format.
90+
#infra_vm_luks_devices:
91+
92+
###############################################################################
93+
# Infrastructure VM node LVM configuration.
94+
95+
# List of infrastructure vm volume groups. See mrlesmithjr.manage-lvm role for
96+
# format.
97+
#infra_vm_lvm_groups:
98+
99+
# Default list of infrastructure vm volume groups. See mrlesmithjr.manage-lvm
100+
# role for format.
101+
#infra_vm_lvm_groups_default:
102+
103+
# Additional list of infrastructure vm volume groups. See mrlesmithjr.manage-lvm
104+
# role for format.
105+
#infra_vm_lvm_groups_extra:
106+
107+
# Whether a 'data' LVM volume group should exist on the infrastructure vm. By
108+
# default this contains a 'docker-volumes' logical volume for Docker volume
109+
# storage. It will also be used for Docker container and image storage if
110+
# 'docker_storage_driver' is set to 'devicemapper'. Default is true if
111+
# 'docker_storage_driver' is set to 'devicemapper', or false otherwise.
112+
#infra_vm_lvm_group_data_enabled:
113+
114+
# Infrastructure VM LVM volume group for data. See mrlesmithjr.manage-lvm role
115+
# for format.
116+
#infra_vm_lvm_group_data:
117+
118+
# List of disks for use by infrastructure vm LVM data volume group. Default to
119+
# an invalid value to require configuration.
120+
#infra_vm_lvm_group_data_disks:
121+
122+
# List of LVM logical volumes for the data volume group.
123+
#infra_vm_lvm_group_data_lvs:
124+
125+
# Docker volumes LVM backing volume.
126+
#infra_vm_lvm_group_data_lv_docker_volumes:
127+
128+
# Size of docker volumes LVM backing volume.
129+
#infra_vm_lvm_group_data_lv_docker_volumes_size:
130+
131+
# Filesystem for docker volumes LVM backing volume. ext4 allows for shrinking.
132+
#infra_vm_lvm_group_data_lv_docker_volumes_fs:
133+
134+
###############################################################################
135+
# Infrastructure VM node sysctl configuration.
136+
137+
# Dict of sysctl parameters to set.
138+
#infra_vm_sysctl_parameters:
139+
140+
###############################################################################
141+
# Infrastructure VM node user configuration.
142+
143+
# List of users to create. This should be in a format accepted by the
144+
# singleplatform-eng.users role.
145+
#infra_vm_users:
146+
147+
###############################################################################
148+
# Infrastructure VM node firewalld configuration.
149+
150+
# Whether to install and enable firewalld.
151+
#infra_vm_firewalld_enabled:
152+
153+
# A list of zones to create. Each item is a dict containing a 'zone' item.
154+
#infra_vm_firewalld_zones:
155+
156+
# A firewalld zone to set as the default. Default is unset, in which case the
157+
# default zone will not be changed.
158+
#infra_vm_firewalld_default_zone:
159+
160+
# A list of firewall rules to apply. Each item is a dict containing arguments
161+
# to pass to the firewalld module. Arguments are omitted if not provided, with
162+
# the following exceptions:
163+
# - offline: true
164+
# - permanent: true
165+
# - state: enabled
166+
#infra_vm_firewalld_rules:
167+
168+
###############################################################################
169+
# Dummy variable to allow Ansible to accept this file.
170+
workaround_ansible_issue_8743: yes

etc/kayobe/inventory/groups

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@
1414
# Build container images on the seed by default.
1515
seed
1616

17+
###############################################################################
18+
# Infra VM groups.
19+
20+
[hypervisors:children]
21+
# Group that contains all hypervisors used for infra VMs
22+
seed-hypervisor
23+
24+
[infra-vms]
25+
# Empty group to provide declaration of infra-vms group.
26+
1727
###############################################################################
1828
# Overcloud groups.
1929

0 commit comments

Comments
 (0)