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
14 changes: 11 additions & 3 deletions etc/kayobe/apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@
#apt_keys:

# A list of Apt repositories. Each item is a dict with the following keys:
# * name: the <name>.sources filename part. Optional. Default is 'kayobe' and
# the default filename is 'kayobe.sources'.
# * types: whitespace-separated list of repository types, e.g. deb or deb-src
# (optional, default is 'deb')
# * url: URL of the repository
# * suites: whitespace-separated list of suites, e.g. jammy (optional, default
# * suites: whitespace-separated list of suites, e.g. noble (optional, default
# is ansible_facts.distribution_release)
# * components: whitespace-separated list of components, e.g. main (optional,
# default is 'main')
Expand All @@ -41,6 +43,14 @@
# Default is an empty list.
#apt_repositories:

# List of Apt preferences options. Each item is a dict with the following
# keys:
# * content: free-form preferences file content
# * filename: name of a file in /etc/apt/preferences.d/ in which to write
# the configuration
# Default is an empty list.
#apt_preferences:

# Whether to disable repositories in /etc/apt/sources.list. This may be used
# when replacing the distribution repositories via apt_repositories.
# Default is false.
Expand All @@ -50,8 +60,6 @@
# * machine: 'machine' entry in the auth file
# * login: 'login' entry in the auth file
# * password: 'password' entry in the auth file
# * filename: Name of a file in which to store the auth configuration. The
# extension should be '.conf'.
# * filename: Name of a file in /etc/apt/auth.conf.d in which to store
# the auth configuration. The extension should be ``.conf``.
# Default is an empty list.
Expand Down
6 changes: 6 additions & 0 deletions etc/kayobe/bifrost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,12 @@
# Server inventory for Bifrost.
#kolla_bifrost_servers:

###############################################################################
# Node provisioning configuration
# Whether to use Ironic introspection data for admin interface MAC address
# Default is false.
#kolla_bifrost_use_introspection_mac:

###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes
3 changes: 3 additions & 0 deletions etc/kayobe/bmc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# Password to use to access a host's BMC via IPMI.
#ipmi_password:

# Address to use to access a host's BMC via Redfish.
#redfish_address:

###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes
19 changes: 18 additions & 1 deletion etc/kayobe/compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@
#compute_lvm_groups_extra:

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

Expand All @@ -88,18 +90,33 @@
# invalid value to require configuration.
#compute_lvm_group_data_disks:

# List of LVM logical volumes for the data volume group when using docker.
#compute_lvm_group_data_docker_lvs:

# List of LVM logical volumes for the data volume group when using podman.
#compute_lvm_group_data_podman_lvs:

# List of LVM logical volumes for the data volume group.
#compute_lvm_group_data_lvs:

# Docker volumes LVM backing volume.
#compute_lvm_group_data_lv_docker_volumes:

# Podman volumes LVM backing volume.
#compute_lvm_group_data_lv_podman_volumes:

# Size of docker volumes LVM backing volume.
#compute_lvm_group_data_lv_docker_volumes_size:

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

# Size of podman volumes LVM backing volume.
#compute_lvm_group_data_lv_podman_volumes_size:

# Filesystem for podman volumes LVM backing volume. ext4 allows for shrinking.
#compute_lvm_group_data_lv_podman_volumes_fs:

###############################################################################
# Compute node sysctl configuration.

Expand Down
80 changes: 80 additions & 0 deletions etc/kayobe/container-engine.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
###############################################################################
# Container engine configuration

# Configures the container engine. Default is 'docker'.
#container_engine:

# Path to container volumes. Default is '{{ podman_volumes_path }}' if
# 'container_engine' is set to podman, otherwise '{{ docker_volumes_path }}'.
#container_engine_volumes_path:

###############################################################################
# Docker configuration.

# Name of the docker storage driver. Default is 'overlay2'.
#docker_storage_driver:

# Name of the docker storage LVM volume group.
#docker_storage_volume_group:

# Name of the docker storage data LVM volume.
#docker_storage_volume_thinpool:

# Size of the docker storage data LVM volume (see lvol module size argument).
#docker_storage_volume_thinpool_size:

# Name of the docker storage metadata LVM volume.
#docker_storage_volume_thinpool_meta:

# Size of the docker storage metadata LVM volume (see lvol module size
# argument).
#docker_storage_volume_thinpool_meta_size:

# URL of docker registry
docker_registry: 192.168.33.5:4000

# Whether docker should be configured to use an insecure registry.
# Default is false, unless docker_registry_enabled is true and
# docker_registry_enable_tls is false.
#docker_registry_insecure:

# CA of docker registry
#docker_registry_ca:

# List of Docker registry mirrors.
#docker_registry_mirrors:

# Enable live-restore on docker daemon
#docker_daemon_live_restore:

# Path to docker runtime directory. Default is "", which means to use the
# default location: '/var/lib/docker'.
#docker_runtime_directory:

# Path to docker volumes. Default is '{{ docker_runtime_directory |
# default('/var/lib/docker', true) ~ '/volumes' }}"'.
#docker_volumes_path:

###############################################################################
# Podman configuration.

# URL of podman container registry
#podman_registry:

# Whether podman should be configured to use an insecure registry.
# Default is false, unless docker_registry_enabled is true and
# docker_registry_enable_tls is false.
#podman_registry_insecure:

# Path to podman runtime directory. Default is None, which means to use the
# default location: '/var/lib/containers/storage'.
#podman_runtime_directory:

# Path to podman volumes. Default is '{{ podman_runtime_directory |
# default('/var/lib/containers/storage', true) ~ '/volumes' }}"'.
#podman_volumes_path:

###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes
44 changes: 0 additions & 44 deletions etc/kayobe/docker.yml

This file was deleted.

7 changes: 6 additions & 1 deletion etc/kayobe/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
os_distribution: "{{ lookup('pipe', '. /etc/os-release && echo $ID') | trim }}"

# OS release. Valid options are "9-stream" when os_distribution is "centos", or
# "9" when os_distribution is "rocky", or "jammy" when os_distribution is
# "9" when os_distribution is "rocky", or "noble" when os_distribution is
# "ubuntu".
#os_release:

Expand All @@ -68,6 +68,11 @@ os_distribution: "{{ lookup('pipe', '. /etc/os-release && echo $ID') | trim }}"
# equivalent to a value of 100.
#kayobe_max_fail_percentage:

# Whether or not we should try and escalate privileges on the control host.
# This allows us to install packages and create arbitrary directories that our
# user would not normally have permission to create. Default is true.
#kayobe_control_host_become:

###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes
8 changes: 7 additions & 1 deletion etc/kayobe/infra-vms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#infra_vm_root_format:

# Base image for the infra VM root volume. Default is
# "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
# "https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img"
# when os_distribution is "ubuntu", or
# https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2
# when os_distribution is "rocky",
Expand Down Expand Up @@ -58,6 +58,12 @@
# OS family. Needed for config drive generation.
#infra_vm_os_family:

# Boot firmware. Possible values are 'bios' or 'efi'. Default is 'efi'.
#infra_vm_boot_firmware:

# Machine type. Libvirt default configuration is used.
#infra_vm_machine:

###############################################################################
# Infrastructure VM node configuration.

Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/inspector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
# data which may be useful in environments without Swift.

# Whether the inspection data store is enabled.
#inspector_store_enabled:
inspector_store_enabled: false

# Port on which the inspection data store should listen.
#inspector_store_port:
Expand Down
5 changes: 0 additions & 5 deletions etc/kayobe/inventory/groups
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ monitoring
storage
compute

# NOTE(wszumski): Remove once https://review.opendev.org/c/openstack/kayobe/+/909686 has
# merged. Added to get the group rename to pass CI.
[docker:children]
container-engine

[docker-registry:children]
# Hosts in this group will have a Docker Registry deployed. This group should
# generally contain only a single host, to avoid deploying multiple independent
Expand Down
5 changes: 3 additions & 2 deletions etc/kayobe/ipa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
#ipa_build_dib_host_packages_extra:

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

# List of additional Diskimage Builder (DIB) elements to use when building IPA
Expand Down
21 changes: 16 additions & 5 deletions etc/kayobe/kolla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@
###############################################################################
# Kolla configuration.

# Kolla base container image architecture. Options are "x86_64", "aarch64".
# Default is "{{ ansible_facts.architecture }}"
#kolla_base_arch:

# Kolla base container image distribution. Options are "centos", "debian",
# "rocky", "ubuntu". Default is {{ os_distribution }}.
#kolla_base_distro:
Expand Down Expand Up @@ -263,6 +267,10 @@
# Primary group of Kolla SSH user. Default is 'kolla'.
#kolla_ansible_group:

# Whether to use privilege escalation for operations on the control host.
# Default is {{ kayobe_control_host_become }}.
#kolla_ansible_control_host_become:

# Whether to use privilege escalation for all operations performed via Kolla
# Ansible. Default is 'false'.
#kolla_ansible_become:
Expand All @@ -286,12 +294,13 @@
#kolla_enable_ceph_rgw:
#kolla_enable_ceph_rgw_loadbalancer:
#kolla_enable_cinder:
#kolla_enable_cinder_backend_hnas_nfs:
#kolla_enable_cinder_backend_iscsi:
#kolla_enable_cinder_backend_lightbits:
#kolla_enable_cinder_backend_lvm:
#kolla_enable_cinder_backend_nfs:
#kolla_enable_cinder_backend_pure_fc:
#kolla_enable_cinder_backend_pure_iscsi:
#kolla_enable_cinder_backend_pure_nvme_tcp:
#kolla_enable_cinder_backend_pure_roce:
#kolla_enable_cinder_backend_quobyte:
#kolla_enable_cinder_backup:
Expand Down Expand Up @@ -334,10 +343,13 @@
#kolla_enable_horizon_octavia:
#kolla_enable_horizon_tacker:
#kolla_enable_horizon_trove:
#kolla_enable_horizon_venus:
#kolla_enable_horizon_watcher:
#kolla_enable_horizon_zun:
#kolla_enable_influxdb:
#kolla_enable_ironic:
#kolla_enable_ironic_dnsmasq:
#kolla_enable_ironic_inspector:
#kolla_enable_ironic_neutron_agent:
#kolla_enable_ironic_prometheus_exporter:
#kolla_enable_iscsid:
Expand All @@ -352,6 +364,7 @@
#kolla_enable_manila:
#kolla_enable_manila_backend_cephfs_native:
#kolla_enable_manila_backend_cephfs_nfs:
#kolla_enable_manila_backend_flashblade:
#kolla_enable_manila_backend_generic:
#kolla_enable_manila_backend_glusterfs_nfs:
#kolla_enable_manila_backend_hnas:
Expand Down Expand Up @@ -398,6 +411,7 @@
#kolla_enable_openvswitch:
#kolla_enable_osprofiler:
#kolla_enable_ovn:
#kolla_enable_ovn_sb_db_relay:
#kolla_enable_ovs_dpdk:
#kolla_enable_placement:
#kolla_enable_prometheus:
Expand All @@ -412,20 +426,17 @@
#kolla_enable_prometheus_haproxy_exporter:
#kolla_enable_prometheus_libvirt_exporter:
#kolla_enable_prometheus_memcached_exporter:
#kolla_enable_prometheus_msteams:
#kolla_enable_prometheus_mysqld_exporter:
#kolla_enable_prometheus_node_exporter:
#kolla_enable_prometheus_openstack_exporter:
#kolla_enable_prometheus_openstack_exporter_external:
#kolla_enable_prometheus_proxysql_exporter:
#kolla_enable_prometheus_rabbitmq_exporter:
#kolla_enable_prometheus_server:
#kolla_enable_proxysql:
#kolla_enable_rabbitmq:
#kolla_enable_redis:
#kolla_enable_skyline:
#kolla_enable_swift:
#kolla_enable_swift_recon:
#kolla_enable_swift_s3api:
#kolla_enable_tacker:
#kolla_enable_telegraf:
#kolla_enable_trove:
Expand Down
Loading