Skip to content

Commit 876a4b7

Browse files
committed
[release] Synchronise with kayobe changes for Yoga
Depends-On: https://review.opendev.org/c/openstack/kayobe/+/836040 Change-Id: Ie990e6f0dfa69863d76e58f13037bc3fb74f9230
1 parent 62f6118 commit 876a4b7

File tree

11 files changed

+156
-19
lines changed

11 files changed

+156
-19
lines changed

etc/kayobe/apt.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,41 @@
1111
# Apt proxy URL for HTTPS. Default is {{ apt_proxy_http }}.
1212
#apt_proxy_https:
1313

14+
# List of Apt configuration options. Each item is a dict with the following
15+
# keys:
16+
# * content: free-form configuration file content
17+
# * filename: name of a file in /etc/apt/apt.conf.d/ in which to write the
18+
# configuration
19+
# Default is an empty list.
20+
#apt_config:
21+
22+
# List of apt keys. Each item is a dict containing the following keys:
23+
# * url: URL of key
24+
# * filename: Name of a file in which to store the downloaded key. The
25+
# extension should be '.asc' for ASCII-armoured keys, or '.gpg' otherwise.
26+
# Default is an empty list.
27+
#apt_keys:
28+
29+
# A list of Apt repositories. Each item is a dict with the following keys:
30+
# * types: whitespace-separated list of repository types, e.g. deb or deb-src
31+
# (optional, default is 'deb')
32+
# * url: URL of the repository
33+
# * suites: whitespace-separated list of suites, e.g. focal (optional, default
34+
# is ansible_facts.distribution_release)
35+
# * components: whitespace-separated list of components, e.g. main (optional,
36+
# default is 'main')
37+
# * signed_by: whitespace-separated list of names of GPG keyring files in
38+
# apt_keys_path (optional, default is unset)
39+
# * architecture: whitespace-separated list of architectures that will be used
40+
# (optional, default is unset)
41+
# Default is an empty list.
42+
#apt_repositories:
43+
44+
# Whether to disable repositories in /etc/apt/sources.list. This may be used
45+
# when replacing the distribution repositories via apt_repositories.
46+
# Default is false.
47+
#apt_disable_sources_list:
48+
1449
###############################################################################
1550
# Dummy variable to allow Ansible to accept this file.
1651
workaround_ansible_issue_8743: yes

etc/kayobe/bifrost.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@
6565
# Name of disk image file to deploy. Default is "deployment_image.qcow2".
6666
#kolla_bifrost_deploy_image_filename:
6767

68+
# UUID of the root filesystem contained within the deployment image.
69+
# See below URL for instructions on how to extract it:
70+
# https://docs.openstack.org/ironic/latest/admin/raid.html#image-requirements
71+
# Default is none.
72+
#kolla_bifrost_deploy_image_rootfs:
73+
6874
###############################################################################
6975
# Ironic configuration.
7076

etc/kayobe/compute.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,53 @@
143143
# - state: enabled
144144
#compute_firewalld_rules:
145145

146+
###############################################################################
147+
# Compute node host libvirt configuration.
148+
149+
# Whether to enable a host libvirt daemon. Default is true if kolla_enable_nova
150+
# is true and kolla_enable_nova_libvirt_container is false.
151+
#compute_libvirt_enabled:
152+
153+
# A dict of default configuration options to write to
154+
# /etc/libvirt/libvirtd.conf.
155+
#compute_libvirt_conf_default:
156+
157+
# A dict of additional configuration options to write to
158+
# /etc/libvirt/libvirtd.conf.
159+
#compute_libvirt_conf_extra:
160+
161+
# A dict of configuration options to write to /etc/libvirt/libvirtd.conf.
162+
# Default is a combination of compute_libvirt_conf_default and
163+
# compute_libvirt_conf_extra.
164+
#compute_libvirt_conf:
165+
166+
# Numerical log level for libvirtd. Default is 3.
167+
#compute_libvirtd_log_level:
168+
169+
# A dict of default configuration options to write to
170+
# /etc/libvirt/qemu.conf.
171+
#compute_qemu_conf_default:
172+
173+
# A dict of additional configuration options to write to
174+
# /etc/libvirt/qemu.conf.
175+
#compute_qemu_conf_extra:
176+
177+
# A dict of configuration options to write to /etc/libvirt/qemu.conf.
178+
# Default is a combination of compute_qemu_conf_default and
179+
# compute_qemu_conf_extra.
180+
#compute_qemu_conf:
181+
182+
# Whether to enable a libvirt TLS listener. Default is false.
183+
#compute_libvirt_enable_tls:
184+
185+
# Whether to install a Ceph package repository on CentOS and Rocky hosts.
186+
# Default is true.
187+
#compute_libvirt_ceph_repo_install:
188+
189+
# Ceph package repository release to install on CentOS and Rocky hosts when
190+
# compute_libvirt_ceph_repo_install is true. Default is 'pacific'.
191+
#compute_libvirt_ceph_repo_release:
192+
146193
###############################################################################
147194
# Dummy variable to allow Ansible to accept this file.
148195
workaround_ansible_issue_8743: yes

etc/kayobe/dnf.yml

Lines changed: 8 additions & 2 deletions
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:
@@ -38,7 +44,7 @@
3844
#dnf_custom_repos:
3945

4046
# Whether to install the epel-release package. This affects RedHat-based
41-
# systems only. Default value is 'true'.
47+
# systems only. Default value is 'false'.
4248
#dnf_install_epel:
4349

4450
###############################################################################

etc/kayobe/globals.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,13 @@
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

5657
###############################################################################

etc/kayobe/infra-vms.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
# Base image for the infra VM root volume. Default is
3333
# "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
3434
# 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
3538
# "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20210603.0.x86_64.qcow2"
3639
# otherwise.
3740
#infra_vm_root_image:

etc/kayobe/kolla.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@
5050
# Extra requirements to install inside the kolla-ansible virtualenv.
5151
#kolla_ansible_venv_extra_requirements:
5252

53+
# Pip requirement specifier for the ansible package. NOTE: This limits the
54+
# version of ansible used by kolla-ansible to avoid new releases from breaking
55+
# tested code. Changes to this limit should be tested.
56+
#kolla_ansible_venv_ansible:
57+
5358
# Path to Kolla-ansible configuration directory. Default is $KOLLA_CONFIG_PATH
5459
# or /etc/kolla if $KOLLA_CONFIG_PATH is not set.
5560
#kolla_config_path:
@@ -62,7 +67,8 @@
6267
# Kolla configuration.
6368

6469
# Kolla base container image distribution. Options are "centos", "debian",
65-
# "ubuntu". Default is {{ os_distribution }}.
70+
# "ubuntu". Default is
71+
# {{ 'centos' if os_distribution == 'rocky' else os_distribution }}.
6672
#kolla_base_distro:
6773

6874
# Kolla container image type: binary or source. Default is 'source'.
@@ -261,6 +267,7 @@
261267
#kolla_enable_ceilometer:
262268
#kolla_enable_ceilometer_horizon_policy_file:
263269
#kolla_enable_ceilometer_ipmi:
270+
#kolla_enable_ceilometer_prometheus_pushgateway:
264271
#kolla_enable_cells:
265272
#kolla_enable_central_logging:
266273
#kolla_enable_ceph_rgw:
@@ -368,6 +375,7 @@
368375
#kolla_enable_nova:
369376
#kolla_enable_nova_fake:
370377
#kolla_enable_nova_horizon_policy_file:
378+
#kolla_enable_nova_libvirt_container:
371379
#kolla_enable_nova_serialconsole_proxy:
372380
#kolla_enable_nova_ssh:
373381
#kolla_enable_octavia:
@@ -385,8 +393,10 @@
385393
#kolla_enable_prometheus_cadvisor:
386394
#kolla_enable_prometheus_ceph_mgr_exporter:
387395
#kolla_enable_prometheus_elasticsearch_exporter:
396+
#kolla_enable_prometheus_etcd_integration:
388397
#kolla_enable_prometheus_fluentd_integration:
389398
#kolla_enable_prometheus_haproxy_exporter:
399+
#kolla_enable_prometheus_libvirt_exporter:
390400
#kolla_enable_prometheus_memcached_exporter:
391401
#kolla_enable_prometheus_mysqld_exporter:
392402
#kolla_enable_prometheus_node_exporter:
@@ -408,9 +418,9 @@
408418
#kolla_enable_telegraf:
409419
#kolla_enable_trove:
410420
#kolla_enable_trove_singletenant:
421+
#kolla_enable_venus:
411422
#kolla_enable_vitrage:
412423
#kolla_enable_vitrage_prometheus_datasource:
413-
#kolla_enable_vmtp:
414424
#kolla_enable_watcher:
415425
#kolla_enable_zookeeper:
416426
#kolla_enable_zun:
@@ -456,9 +466,6 @@
456466
# certificate bundle for the external API.
457467
#
458468
# Note that this should be formatted as a literal style block scalar.
459-
#
460-
# NOTE: kolla_tls_cert has been renamed to kolla_external_tls_cert. Support for
461-
# the deprecated name kolla_tls_cert will be removed in a future release.
462469
#kolla_external_tls_cert:
463470

464471
# Path to a CA certificate file to use for the OS_CACERT environment variable

etc/kayobe/openstack.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
###############################################################################
33
# OpenStack release configuration.
44

5-
# Name of the current OpenStack release. Default is "master".
5+
# Name of the current OpenStack release. Default is "yoga".
66
#openstack_release:
77

8-
# Name of the current OpenStack branch. Default is "master".
8+
# Name of the current OpenStack branch. Default is "stable/yoga".
99
#openstack_branch:
1010

1111
###############################################################################

etc/kayobe/overcloud-dib.yml

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,31 @@
77
# Whether to build host disk images with DIB directly instead of through
88
# Bifrost. Setting it to true disables Bifrost image build and allows images to
99
# be built with the `kayobe overcloud host image build` command. Default value
10-
# is False. This will change in a future release.
10+
# is {{ os_distribution == 'rocky' }}. This will change in a future release.
1111
#overcloud_dib_build_host_images:
1212

13-
# DIB base OS element. Default is {{ os_distribution }}.
13+
# List of overcloud host disk images to build. Each element is a dict defining
14+
# an image in a format accepted by the stackhpc.os-images role. Default is to
15+
# build an image named "deployment_image" configured with the overcloud_dib_*
16+
# variables defined below: {"name": "deployment_image", "elements": "{{
17+
# overcloud_dib_elements }}", "env": "{{ overcloud_dib_env_vars }}",
18+
# "packages": "{{ overcloud_dib_packages }}"}.
19+
#overcloud_dib_host_images:
20+
21+
# DIB base OS element. Default is {{ 'rocky-container' if os_distribution ==
22+
# 'rocky' else os_distribution }}.
1423
#overcloud_dib_os_element:
1524

1625
# DIB image OS release. Default is {{ os_release }}.
1726
#overcloud_dib_os_release:
1827

1928
# List of default DIB elements. Default is ["centos", "cloud-init-datasources",
2029
# "disable-selinux", "enable-serial-console", "vm"] when
21-
# overcloud_dib_os_element is "centos", or ["ubuntu", "cloud-init-datasources",
22-
# "enable-serial-console", "vm"] when overcloud_dib_os_element is "ubuntu".
30+
# overcloud_dib_os_element is "centos", or ["rocky-container",
31+
# "cloud-init-datasources", "disable-selinux", "enable-serial-console", "vm"]
32+
# when overcloud_dib_os_element is "rocky" or
33+
# ["ubuntu", "cloud-init-datasources", "enable-serial-console", "vm"]
34+
# when overcloud_dib_os_element is "ubuntu".
2335
#overcloud_dib_elements_default:
2436

2537
# List of additional DIB elements. Default is none.
@@ -31,8 +43,9 @@
3143

3244
# DIB default environment variables. Default is
3345
# {"DIB_BOOTLOADER_DEFAULT_CMDLINE": "nofb nomodeset gfxpayload=text
34-
# net.ifnames=1", "DIB_CLOUD_INIT_DATASOURCES": "ConfigDrive", "DIB_RELEASE":
35-
# "{{ overcloud_dib_os_release }}"}.
46+
# net.ifnames=1", "DIB_CLOUD_INIT_DATASOURCES": "ConfigDrive",
47+
# "DIB_CONTAINERFILE_RUNTIME": "docker", "DIB_CONTAINERFILE_NETWORK_DRIVER":
48+
# "host", "DIB_RELEASE": "{{ overcloud_dib_os_release }}"}.
3649
#overcloud_dib_env_vars_default:
3750

3851
# DIB additional environment variables. Default is none.
@@ -45,6 +58,19 @@
4558
# List of DIB packages to install. Default is to install no extra packages.
4659
#overcloud_dib_packages:
4760

61+
# List of default git repositories containing Diskimage Builder (DIB) elements.
62+
# See stackhpc.os-images role for usage. Default is empty.
63+
#overcloud_dib_git_elements_default:
64+
65+
# List of additional git repositories containing Diskimage Builder (DIB)
66+
# elements. See stackhpc.os-images role for usage. Default is empty.
67+
#overcloud_dib_git_elements_extra:
68+
69+
# List of git repositories containing Diskimage Builder (DIB) elements. See
70+
# stackhpc.os-images role for usage. Default is a combination of
71+
# overcloud_dib_git_elements_default and overcloud_dib_git_elements_extra.
72+
#overcloud_dib_git_elements:
73+
4874
# Upper constraints file for installing packages in the virtual environment
4975
# used for building overcloud host disk images. Default is {{
5076
# pip_upper_constraints_file }}.

etc/kayobe/seed-vm.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525

2626
# Base image for the seed VM root volume. Default is
2727
# "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
28-
# when os_distribution is "ubuntu", or
28+
# when os_distribution is "ubuntu",
29+
# http://dl.rockylinux.org/pub/rocky/8.5/images/Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2
30+
# when os_distribution is "rocky",
31+
# or
2932
# "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20210603.0.x86_64.qcow2"
3033
# otherwise.
3134
#seed_vm_root_image:

0 commit comments

Comments
 (0)