Skip to content

Commit e8c8113

Browse files
authored
Merge pull request #87 from stackhpc/xena
Initial update for Xena
2 parents a5029fb + 84e6e9a commit e8c8113

37 files changed

+723
-101
lines changed

.github/workflows/container-image-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: actions/checkout@v3
3636
with:
3737
repository: stackhpc/kayobe
38-
ref: refs/heads/stackhpc/wallaby
38+
ref: refs/heads/stackhpc/xena
3939
path: src/kayobe
4040

4141
# FIXME: Failed in kolla-ansible : Ensure the latest version of pip is installed

.github/workflows/promote.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ name: Promote package repositories
33
on:
44
push:
55
branches:
6-
# NOTE(mgoddard): Keep this list tightly controlled, since we only want
7-
# to promote from release branches.
8-
- stackhpc/wallaby
6+
# NOTE(mgoddard): Reference only the current release branch here.
7+
- stackhpc/xena
98
jobs:
109
promote:
1110
name: Trigger package repository promotion

.gitreview

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
host=review.opendev.org
33
port=29418
44
project=openstack/kayobe-config.git
5-
defaultbranch=stable/wallaby
5+
defaultbranch=stable/xena

README.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
StackHPC Kayobe Configuration
33
=============================
44

5-
This repository provides a base Kayobe configuration for the Wallaby release
5+
This repository provides a base Kayobe configuration for the Xena release
66
of StackHPC OpenStack.
77

88
StackHPC release train
@@ -45,7 +45,7 @@ when used with Kayobe's `multiple environments
4545
feature.
4646

4747
This configuration should be consumed using the `StackHPC Kayobe fork
48-
<https://github.com/stackhpc/kayobe/tree/stackhpc/wallaby>`__, which includes
48+
<https://github.com/stackhpc/kayobe/tree/stackhpc/xena>`__, which includes
4949
backported support for Ansible collections.
5050

5151
New deployments
@@ -56,7 +56,7 @@ your configuration.
5656

5757
.. code-block:: console
5858
59-
git clone https://github.com/stackhpc/stackhpc-kayobe-config -b stackhpc/wallaby
59+
git clone https://github.com/stackhpc/stackhpc-kayobe-config -b stackhpc/xena
6060
6161
Existing deployments
6262
--------------------
@@ -68,7 +68,7 @@ need to merge the changes in this repository into your repository.
6868
6969
git remote add stackhpc https://github.com/stackhpc/stackhpc-kayobe-config
7070
git fetch stackhpc
71-
git merge stackhpc/stackhpc/wallaby
71+
git merge stackhpc/stackhpc/xena
7272
7373
Updating
7474
--------
@@ -80,7 +80,7 @@ consume these updates by merging in the changes with their local configuration.
8080
.. code-block:: console
8181
8282
git fetch stackhpc
83-
git merge stackhpc/stackhpc/wallaby
83+
git merge stackhpc/stackhpc/xena
8484
8585
The intention is to avoid merge conflicts where possible, but there may be
8686
cases where this is difficult. We are open to discussion on how best to
@@ -125,13 +125,13 @@ Usage
125125
=====
126126

127127
The local Pulp service will be deployed as a `Seed custom container
128-
<https://docs.openstack.org/kayobe/wallaby/configuration/reference/seed-custom-containers.html>`__
128+
<https://docs.openstack.org/kayobe/xena/configuration/reference/seed-custom-containers.html>`__
129129
on next ``kayobe seed service deploy`` or ``kayobe seed service upgrade``.
130130

131131
The following custom playbooks are provided in ``etc/kayobe/ansible/``:
132132

133133
See the Kayobe `custom playbook documentation
134-
<https://docs.openstack.org/kayobe/wallaby/custom-ansible-playbooks.html>`__
134+
<https://docs.openstack.org/kayobe/xena/custom-ansible-playbooks.html>`__
135135
for information on how to run them.
136136

137137
* ``pulp-repo-sync.yml``: Pull packages from Ark to the local Pulp. This will
@@ -245,8 +245,8 @@ Clone the Kayobe and Kayobe configuration repositories (this one):
245245
cd
246246
mkdir -p src
247247
pushd src
248-
git clone https://github.com/stackhpc/kayobe.git -b stackhpc/wallaby
249-
git clone https://github.com/stackhpc/stackhpc-kayobe-config -b stackhpc/wallaby
248+
git clone https://github.com/stackhpc/kayobe.git -b stackhpc/xena
249+
git clone https://github.com/stackhpc/stackhpc-kayobe-config -b stackhpc/xena
250250
popd
251251
252252
Create a virtual environment and install Kayobe:
@@ -344,8 +344,8 @@ Clone the Kayobe and Kayobe configuration repositories (this one):
344344
cd
345345
mkdir -p src
346346
pushd src
347-
git clone https://github.com/stackhpc/kayobe.git -b stackhpc/wallaby
348-
git clone https://github.com/stackhpc/stackhpc-kayobe-config -b stackhpc/wallaby
347+
git clone https://github.com/stackhpc/kayobe.git -b stackhpc/xena
348+
git clone https://github.com/stackhpc/stackhpc-kayobe-config -b stackhpc/xena
349349
popd
350350
351351
Create a virtual environment and install Kayobe:
@@ -410,7 +410,7 @@ At this point you are ready to build and push some container images.
410410
kayobe seed container image build --push
411411
kayobe overcloud container image build --push
412412
413-
The container images are tagged as ``wallaby-<datetime>``. This Kayobe
413+
The container images are tagged as ``xena-<datetime>``. This Kayobe
414414
configuration includes a hook that writes the tag to ``~/kolla_tag``, since
415415
it is not always simple to determine which tag was last applied to built
416416
images.
@@ -422,7 +422,7 @@ tag as the value of the ``kolla_openstack_release`` variable.
422422
Resources
423423
=========
424424

425-
* Kayobe documentation: https://docs.openstack.org/kayobe/wallaby/
425+
* Kayobe documentation: https://docs.openstack.org/kayobe/xena/
426426
* Kayobe source: https://opendev.org/openstack/kayobe
427427
* Kayobe bugs: https://storyboard.openstack.org/#!/project/openstack/kayobe-config
428428
* IRC: #openstack-kolla

etc/kayobe/apt.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,47 @@
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+
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+
849
###############################################################################
950
# Dummy variable to allow Ansible to accept this file.
1051
workaround_ansible_issue_8743: yes

etc/kayobe/bifrost.yml

Lines changed: 23 additions & 2 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:
@@ -39,8 +43,10 @@ kolla_bifrost_source_version: "{{ stackhpc_bifrost_source_version }}"
3943
# DIB init element. Default is "cloud-init-datasources".
4044
#kolla_bifrost_dib_init_element:
4145

42-
# DIB default environment variables. Default is {"DIB_CLOUD_INIT_DATASOURCES":
43-
# "ConfigDrive"}.
46+
# DIB default environment variables. Default is
47+
# {DIB_BOOTLOADER_DEFAULT_CMDLINE:
48+
# "nofb nomodeset gfxpayload=text net.ifnames=1",
49+
# "DIB_CLOUD_INIT_DATASOURCES": "ConfigDrive"}.
4450
#kolla_bifrost_dib_env_vars_default:
4551

4652
# DIB additional environment variables. Default is none.
@@ -53,6 +59,18 @@ kolla_bifrost_source_version: "{{ stackhpc_bifrost_source_version }}"
5359
# List of DIB packages to install. Default is to install no extra packages.
5460
#kolla_bifrost_dib_packages:
5561

62+
###############################################################################
63+
# Disk image deployment configuration.
64+
65+
# Name of disk image file to deploy. Default is "deployment_image.qcow2".
66+
#kolla_bifrost_deploy_image_filename:
67+
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+
5674
###############################################################################
5775
# Ironic configuration.
5876

@@ -74,6 +92,9 @@ kolla_bifrost_source_version: "{{ stackhpc_bifrost_source_version }}"
7492
#kolla_bifrost_inspector_port_addition:
7593

7694
# List of extra kernel parameters for the inspector default PXE configuration.
95+
# Default is {{ inspector_extra_kernel_options }}, defined in inspector.yml.
96+
# When customising this variable, the default extra kernel parameters should be
97+
# kept to retain full node inspection capabilities.
7798
#kolla_bifrost_inspector_extra_kernel_options:
7899

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

etc/kayobe/compute.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,88 @@
108108
# Dict of sysctl parameters to set.
109109
#compute_sysctl_parameters:
110110

111+
###############################################################################
112+
# Compute node tuned configuration.
113+
114+
# Builtin tuned profile to use. Format is same as that used by giovtorres.tuned
115+
# role. Default is virtual-host.
116+
#compute_tuned_active_builtin_profile:
117+
111118
###############################################################################
112119
# Compute node user configuration.
113120

114121
# List of users to create. This should be in a format accepted by the
115122
# singleplatform-eng.users role.
116123
#compute_users:
117124

125+
###############################################################################
126+
# Compute node firewalld configuration.
127+
128+
# Whether to install and enable firewalld.
129+
#compute_firewalld_enabled:
130+
131+
# A list of zones to create. Each item is a dict containing a 'zone' item.
132+
#compute_firewalld_zones:
133+
134+
# A firewalld zone to set as the default. Default is unset, in which case the
135+
# default zone will not be changed.
136+
#compute_firewalld_default_zone:
137+
138+
# A list of firewall rules to apply. Each item is a dict containing arguments
139+
# to pass to the firewalld module. Arguments are omitted if not provided, with
140+
# the following exceptions:
141+
# - offline: true
142+
# - permanent: true
143+
# - state: enabled
144+
#compute_firewalld_rules:
145+
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+
118193
###############################################################################
119194
# Dummy variable to allow Ansible to accept this file.
120195
workaround_ansible_issue_8743: yes

etc/kayobe/controllers.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,41 @@
117117
# Dict of sysctl parameters to set.
118118
#controller_sysctl_parameters:
119119

120+
###############################################################################
121+
# Controller node tuned configuration.
122+
123+
# Builtin tuned profile to use. Format is same as that used by giovtorres.tuned
124+
# role. Default is throughput-performance.
125+
#controller_tuned_active_builtin_profile:
126+
120127
###############################################################################
121128
# Controller node user configuration.
122129

123130
# List of users to create. This should be in a format accepted by the
124131
# singleplatform-eng.users role.
125132
#controller_users:
126133

134+
###############################################################################
135+
# Controller node firewalld configuration.
136+
137+
# Whether to install and enable firewalld.
138+
#controller_firewalld_enabled:
139+
140+
# A list of zones to create. Each item is a dict containing a 'zone' item.
141+
#controller_firewalld_zones:
142+
143+
# A firewalld zone to set as the default. Default is unset, in which case the
144+
# default zone will not be changed.
145+
#controller_firewalld_default_zone:
146+
147+
# A list of firewall rules to apply. Each item is a dict containing arguments
148+
# to pass to the firewalld module. Arguments are omitted if not provided, with
149+
# the following exceptions:
150+
# - offline: true
151+
# - permanent: true
152+
# - state: enabled
153+
#controller_firewalld_rules:
154+
127155
###############################################################################
128156
# Dummy variable to allow Ansible to accept this file.
129157
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/environments/ci-aio/inventory/group_vars/controllers/network-interfaces

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Controller interface on all-in-one network.
66
aio_interface: breth1
77
# Use dummy1 if it exists, otherwise the bridge will have no ports.
8-
aio_bridge_ports: "{{ ['dummy1'] if 'ansible_dummy1' in hostvars[inventory_hostname] else [] }}"
8+
aio_bridge_ports: "{{ ['dummy1'] if 'dummy1' in hostvars[inventory_hostname].ansible_facts else [] }}"
99

1010
###############################################################################
1111
# Dummy variable to allow Ansible to accept this file.

0 commit comments

Comments
 (0)