Skip to content

Commit 786523a

Browse files
authored
Merge pull request #1716 from stackhpc/upstream-2025.1-merge
Synchronise with upstream kayobe-config for 2025.1
2 parents 29a8b9d + 885d970 commit 786523a

File tree

8 files changed

+89
-4
lines changed

8 files changed

+89
-4
lines changed

etc/kayobe/apt.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ apt_keys:
3535
filename: docker.asc
3636

3737
# A list of Apt repositories. Each item is a dict with the following keys:
38+
# * name: the <name>.sources filename part. Optional. Default is 'kayobe' and
39+
# the default filename is 'kayobe.sources'.
3840
# * types: whitespace-separated list of repository types, e.g. deb or deb-src
3941
# (optional, default is 'deb')
4042
# * url: URL of the repository

etc/kayobe/compute.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@
7676
#compute_lvm_groups_extra:
7777

7878
# Whether a 'data' LVM volume group should exist on compute hosts. By default
79-
# this contains a 'docker-volumes' logical volume for Docker volume storage.
79+
# this contains a 'docker-volumes' logical volume for container volume storage
80+
# if using the docker container engine, or a 'podman-volumes' logical volume
81+
# for container volume storage if using the podman container engine.
8082
# Default is false.
8183
#compute_lvm_group_data_enabled:
8284

@@ -88,18 +90,33 @@
8890
# invalid value to require configuration.
8991
#compute_lvm_group_data_disks:
9092

93+
# List of LVM logical volumes for the data volume group when using docker.
94+
#compute_lvm_group_data_docker_lvs:
95+
96+
# List of LVM logical volumes for the data volume group when using podman.
97+
#compute_lvm_group_data_podman_lvs:
98+
9199
# List of LVM logical volumes for the data volume group.
92100
#compute_lvm_group_data_lvs:
93101

94102
# Docker volumes LVM backing volume.
95103
#compute_lvm_group_data_lv_docker_volumes:
96104

105+
# Podman volumes LVM backing volume.
106+
#compute_lvm_group_data_lv_podman_volumes:
107+
97108
# Size of docker volumes LVM backing volume.
98109
#compute_lvm_group_data_lv_docker_volumes_size:
99110

100111
# Filesystem for docker volumes LVM backing volume. ext4 allows for shrinking.
101112
#compute_lvm_group_data_lv_docker_volumes_fs:
102113

114+
# Size of podman volumes LVM backing volume.
115+
#compute_lvm_group_data_lv_podman_volumes_size:
116+
117+
# Filesystem for podman volumes LVM backing volume. ext4 allows for shrinking.
118+
#compute_lvm_group_data_lv_podman_volumes_fs:
119+
103120
###############################################################################
104121
# Compute node sysctl configuration.
105122

etc/kayobe/docker.yml renamed to etc/kayobe/container-engine.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
---
2+
###############################################################################
3+
# Container engine configuration
4+
5+
# Configures the container engine. Default is 'docker'.
6+
#container_engine:
7+
8+
# Path to container volumes. Default is '{{ podman_volumes_path }}' if
9+
# 'container_engine' is set to podman, otherwise '{{ docker_volumes_path }}'.
10+
#container_engine_volumes_path:
11+
212
###############################################################################
313
# Docker configuration.
414

@@ -38,6 +48,33 @@ docker_registry_insecure: "{{ 'https' not in stackhpc_repo_mirror_url }}"
3848
# Enable live-restore on docker daemon
3949
docker_daemon_live_restore: true
4050

51+
# Path to docker runtime directory. Default is "", which means to use the
52+
# default location: '/var/lib/docker'.
53+
#docker_runtime_directory:
54+
55+
# Path to docker volumes. Default is '{{ docker_runtime_directory |
56+
# default('/var/lib/docker', true) ~ '/volumes' }}"'.
57+
#docker_volumes_path:
58+
59+
###############################################################################
60+
# Podman configuration.
61+
62+
# URL of podman container registry
63+
#podman_registry:
64+
65+
# Whether podman should be configured to use an insecure registry.
66+
# Default is false, unless docker_registry_enabled is true and
67+
# docker_registry_enable_tls is false.
68+
#podman_registry_insecure:
69+
70+
# Path to podman runtime directory. Default is None, which means to use the
71+
# default location: '/var/lib/containers/storage'.
72+
#podman_runtime_directory:
73+
74+
# Path to podman volumes. Default is '{{ podman_runtime_directory |
75+
# default('/var/lib/containers/storage', true) ~ '/volumes' }}"'.
76+
#podman_volumes_path:
77+
4178
###############################################################################
4279
# Dummy variable to allow Ansible to accept this file.
4380
workaround_ansible_issue_8743: yes

etc/kayobe/globals.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@
6868
# equivalent to a value of 100.
6969
#kayobe_max_fail_percentage:
7070

71+
# Whether or not we should try and escalate privileges on the control host.
72+
# This allows us to install packages and create arbitrary directories that our
73+
# user would not normally have permission to create. Default is true.
74+
#kayobe_control_host_become:
75+
7176
###############################################################################
7277
# Dummy variable to allow Ansible to accept this file.
7378
workaround_ansible_issue_8743: yes

etc/kayobe/inventory/groups

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ vgpu
8383
# Service groups.
8484

8585
[container-engine:children]
86-
# Hosts in this group will have Docker installed.
86+
# Hosts in this group will have Docker/Podman installed.
8787
seed
8888
controllers
8989
network

etc/kayobe/ipa.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
#ipa_build_dib_host_packages_extra:
2424

2525
# List of default Diskimage Builder (DIB) elements to use when building IPA
26-
# images. Default is ["centos", "enable-serial-console",
26+
# images. Default is ["centos", "dynamic-login", "enable-serial-console",
2727
# "ironic-python-agent-ramdisk"] when os_distribution is "rocky", and
28-
# ["ubuntu", "enable-serial-console", "ironic-python-agent-ramdisk"] otherwise.
28+
# ["ubuntu", "dynamic-login", "enable-serial-console",
29+
# "ironic-python-agent-ramdisk"] otherwise.
2930
#ipa_build_dib_elements_default:
3031

3132
# List of additional Diskimage Builder (DIB) elements to use when building IPA

etc/kayobe/kolla.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,10 @@ kolla_overcloud_inventory_pass_through_host_vars_extra:
573573
# Primary group of Kolla SSH user. Default is 'kolla'.
574574
#kolla_ansible_group:
575575

576+
# Whether to use privilege escalation for operations on the control host.
577+
# Default is {{ kayobe_control_host_become }}.
578+
#kolla_ansible_control_host_become:
579+
576580
# Whether to use privilege escalation for all operations performed via Kolla
577581
# Ansible. Default is 'false'.
578582
#kolla_ansible_become:
@@ -597,6 +601,7 @@ kolla_enable_central_logging: true
597601
#kolla_enable_ceph_rgw_loadbalancer:
598602
#kolla_enable_cinder:
599603
#kolla_enable_cinder_backend_iscsi:
604+
#kolla_enable_cinder_backend_lightbits:
600605
#kolla_enable_cinder_backend_lvm:
601606
#kolla_enable_cinder_backend_nfs:
602607
#kolla_enable_cinder_backend_pure_fc:
@@ -644,10 +649,13 @@ kolla_enable_heat: false
644649
#kolla_enable_horizon_octavia:
645650
#kolla_enable_horizon_tacker:
646651
#kolla_enable_horizon_trove:
652+
#kolla_enable_horizon_venus:
647653
#kolla_enable_horizon_watcher:
648654
#kolla_enable_horizon_zun:
649655
#kolla_enable_influxdb:
650656
#kolla_enable_ironic:
657+
#kolla_enable_ironic_dnsmasq:
658+
#kolla_enable_ironic_inspector:
651659
#kolla_enable_ironic_neutron_agent:
652660
kolla_enable_ironic_prometheus_exporter: false
653661
#kolla_enable_iscsid:
@@ -662,6 +670,7 @@ kolla_enable_ironic_prometheus_exporter: false
662670
#kolla_enable_manila:
663671
#kolla_enable_manila_backend_cephfs_native:
664672
#kolla_enable_manila_backend_cephfs_nfs:
673+
#kolla_enable_manila_backend_flashblade:
665674
#kolla_enable_manila_backend_generic:
666675
#kolla_enable_manila_backend_glusterfs_nfs:
667676
#kolla_enable_manila_backend_hnas:

etc/kayobe/time.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,20 @@
3333
# Synchronise hardware clock with system time. Default is true.
3434
#chrony_rtcsync_enabled:
3535

36+
# Force synchronisation from NTP sources. This methods may jump the clock by
37+
# large values which can cause issues with some software. Disabled by default.
38+
#ntp_force_sync:
39+
40+
# Maximum number of tries used by the `chronyc waitsync` command. Only used
41+
# when ntp_force_sync is true. Default is 60 which waits for a maximum of 10
42+
# minutes (60 times 10 seconds).
43+
#chrony_waitsync_max_tries:
44+
45+
# Maximum correction used by the `chronyc waitsync` command. Only used when
46+
# ntp_force_sync is true. Default is 0.01 which waits for the remaining
47+
# correction to be less than 10 milliseconds.
48+
#chrony_waitsync_max_correction:
49+
3650
###############################################################################
3751
# Dummy variable to allow Ansible to accept this file.
3852
workaround_ansible_issue_8743: yes

0 commit comments

Comments
 (0)