Skip to content

Commit 947c373

Browse files
authored
Merge pull request #1218 from stackhpc/caracal-odds-and-ends
Caracal: various
2 parents 88a6397 + 8f4f930 commit 947c373

36 files changed

+63
-220
lines changed

.automation.conf/tempest/tempest-ci-multinode.overrides.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ v3_endpoint_type = publicURL
1010
[compute]
1111
min_compute_nodes = 2
1212
min_microversion = 2.1
13-
max_microversion = 2.95
13+
max_microversion = 2.96
1414

1515
[service-clients]
1616
http_timeout = 600
@@ -26,7 +26,7 @@ console_output = true
2626
storage_protocol = ceph
2727
build_timeout = 600
2828
min_microversion = 3.0
29-
max_microversion = 3.70
29+
max_microversion = 3.71
3030

3131
[image]
3232
build_timeout = 600

.github/workflows/overcloud-host-image-build.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,14 @@ jobs:
6767
run: |
6868
echo "${{ steps.host_image_tag.outputs.host_image_tag }}"
6969
70-
- name: Clone StackHPC Kayobe repository
71-
uses: actions/checkout@v4
72-
with:
73-
repository: stackhpc/kayobe
74-
ref: refs/heads/stackhpc/${{ steps.openstack_release.outputs.openstack_release }}
75-
path: src/kayobe
76-
7770
- name: Install Kayobe
7871
run: |
7972
mkdir -p venvs &&
8073
pushd venvs &&
8174
python3 -m venv kayobe &&
8275
source kayobe/bin/activate &&
8376
pip install -U pip &&
84-
pip install ../src/kayobe
77+
pip install ../src/kayobe-config/requirements.txt
8578
8679
- name: Install terraform
8780
uses: hashicorp/setup-terraform@v2

.github/workflows/overcloud-host-image-promote.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,6 @@ jobs:
3434
echo "openstack_release=${BRANCH}" | sed -E "s,(stable|unmaintained)/,," >> $GITHUB_OUTPUT
3535
working-directory: src/kayobe-config
3636

37-
- name: Clone StackHPC Kayobe repository
38-
uses: actions/checkout@v4
39-
with:
40-
repository: stackhpc/kayobe
41-
ref: refs/heads/stackhpc/${{ steps.openstack_release.outputs.openstack_release }}
42-
path: src/kayobe
43-
4437
- name: Setup networking
4538
run: |
4639
if ! ip l show breth1 >/dev/null 2>&1; then
@@ -63,7 +56,7 @@ jobs:
6356
python3 -m venv kayobe &&
6457
source kayobe/bin/activate &&
6558
pip install -U pip &&
66-
pip install ../src/kayobe
59+
pip install ../src/kayobe-config/requirements.txt
6760
6861
- name: Bootstrap the control host
6962
run: |

.github/workflows/overcloud-host-image-upload.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,14 @@ jobs:
4949
BRANCH=$(awk -F'=' '/defaultbranch/ {print $2}' src/kayobe-config/.gitreview)
5050
echo "openstack_release=${BRANCH}" | sed -E "s,(stable|unmaintained)/,," >> $GITHUB_OUTPUT
5151
52-
- name: Clone StackHPC Kayobe repository
53-
uses: actions/checkout@v4
54-
with:
55-
repository: stackhpc/kayobe
56-
ref: refs/heads/stackhpc/${{ steps.openstack_release.outputs.openstack_release }}
57-
path: src/kayobe
58-
5952
- name: Install Kayobe
6053
run: |
6154
mkdir -p venvs &&
6255
pushd venvs &&
6356
python3 -m venv kayobe &&
6457
source kayobe/bin/activate &&
6558
pip install -U pip &&
66-
pip install ../src/kayobe
59+
pip install ../src/kayobe-config/requirements.txt
6760
6861
- name: Bootstrap the control host
6962
run: |

.github/workflows/stackhpc-build-kayobe-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
build-kayobe-image:
4343
name: Build kayobe image
4444
if: inputs.if || github.repository == 'stackhpc/stackhpc-kayobe-config' && github.event_name == 'push'
45-
runs-on: ubuntu-20.04
45+
runs-on: ubuntu-22.04
4646
permissions:
4747
contents: read
4848
packages: write

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,6 @@ jobs:
120120
with:
121121
path: src/kayobe-config
122122

123-
- name: Clone StackHPC Kayobe repository
124-
uses: actions/checkout@v4
125-
with:
126-
repository: stackhpc/kayobe
127-
ref: refs/heads/stackhpc/${{ needs.generate-tag.outputs.openstack_release }}
128-
path: src/kayobe
129-
130123
- name: Make sure dockerd is running and test Docker
131124
run: |
132125
docker ps
@@ -146,7 +139,7 @@ jobs:
146139
python3 -m venv kayobe &&
147140
source kayobe/bin/activate &&
148141
pip install -U pip &&
149-
pip install ../src/kayobe
142+
pip install ../src/kayobe-config/requirements.txt
150143
151144
# Required for Pulp auth proxy deployment and Docker registry login.
152145
# Normally installed during host configure.

.github/workflows/stackhpc-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
# would skip the workflow entirely, and would prevent us from making the
1414
# aio jobs required to pass (a skip counts as a pass).
1515
check-changes:
16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-22.04
1717
permissions:
1818
pull-requests: read
1919
name: Check changed files

.yamllint

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ rules:
1414

1515
ignore: |
1616
*etc/kayobe/environments/ci-multinode/secrets.yml
17-
*etc/kayobe/environments/ci-multinode/kolla/globals-tls-config.yml
1817
.automation/
1918
releasenotes/
2019
.github/

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
================================================
2-
StackHPC Kayobe Configuration (Work in progress)
3-
================================================
1+
=============================
2+
StackHPC Kayobe Configuration
3+
=============================
44

55
This repository provides a base Kayobe configuration for the Caracal release
66
of StackHPC OpenStack.

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
current_series = "2024.1"
3333
previous_series = "2023.1"
3434
branch = f"stackhpc/{current_series}"
35-
ceph_series = "quincy"
35+
ceph_series = "reef"
3636

3737
# Substitutions loader
3838
rst_prolog = """

doc/source/configuration/cephadm.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ create or modify Ceph cluster deployments. Supported features are:
1919
Resources
2020
=========
2121

22-
- https://docs.ceph.com/en/quincy/cephadm/index.html
23-
- https://docs.ceph.com/en/quincy/
2422
- https://docs.ceph.com/en/reef/cephadm/index.html
2523
- https://docs.ceph.com/en/reef/
2624
- https://github.com/stackhpc/ansible-collection-cephadm

doc/source/configuration/cloudkitty.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,6 @@ following in ``kolla/globals.yml``:
3535
cloudkitty_fetcher_backend: prometheus
3636
cloudkitty_storage_backend: elasticsearch
3737
38-
If you have TLS enabled, you will also need to set the cafile for Prometheus
39-
and Elasticsearch. Set the following in ``kolla/globals.yml``.
40-
41-
.. code-block::
42-
43-
{% raw %}
44-
cloudkitty_prometheus_cafile: "{{ openstack_cacert }}"
45-
cloudkitty_elasticsearch_cafile: "{{ openstack_cacert }}"
46-
{% endraw %}
47-
4838
The default collection period is one hour, which is likely too long for most
4939
systems as CloudKitty charges by the **entire** collection period if any usage
5040
is seen within this timeframe. This is regardless of actual usage, meaning that

doc/source/configuration/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ the various features provided.
1212
release-train
1313
host-images
1414
lvm
15-
swap
1615
cephadm
1716
monitoring
1817
wazuh

doc/source/configuration/swap.rst

Lines changed: 0 additions & 28 deletions
This file was deleted.

doc/source/contributor/environments/aufn-ceph.rst

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@ Ubuntu:
4343
sudo apt -y install gcc libffi-dev python3-dev python-is-python3
4444
4545
46-
As a workaround for SMS lab's lack of DNS, add the following lines to ``/etc/hosts`` of the baremetal node:
47-
48-
.. parsed-literal::
49-
50-
10.0.0.34 pelican pelican.service.compute.sms-lab.cloud
51-
10.205.3.187 pulp-server pulp-server.internal.sms-cloud
52-
5346
Configure the system firewall and security settings:
5447

5548
.. parsed-literal::
@@ -124,14 +117,6 @@ Once the seed vm is provisioned, deploy a local pulp server on the seed and then
124117
kayobe seed service deploy --tags seed-deploy-containers --kolla-tags none
125118
$KAYOBE_CONFIG_PATH/environments/aufn-ceph/configure-local-networking.sh
126119
127-
Once the local pulp server is deployed, we need to add the address of SMS lab test pulp to the local pulp container:
128-
129-
.. parsed-literal::
130-
131-
132-
docker exec pulp sh -c 'echo "10.205.3.187 pulp-server pulp-server.internal.sms-cloud" | tee -a /etc/hosts'
133-
exit
134-
135120
We can now sync the contents of the local pulp server with that of SMS test pulp and then complete the seed VM setup:
136121

137122
.. parsed-literal::

doc/source/contributor/environments/ci-aio.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ following options:
5252

5353
* ``BASE_PATH`` (default: ``~``) - Directory to deploy from. The directory must
5454
exist before running the script.
55-
* ``KAYOBE_BRANCH`` (default: ``stackhpc/2023.1``) - The branch of Kayobe
55+
* ``KAYOBE_BRANCH`` (default: ``stackhpc/2024.1``) - The branch of Kayobe
5656
source code to use.
57-
* ``KAYOBE_CONFIG_BRANCH`` (default: ``stackhpc/2023.1``) - The branch of
57+
* ``KAYOBE_CONFIG_BRANCH`` (default: ``stackhpc/2024.1``) - The branch of
5858
``stackhpc-kayobe-config`` to use.
5959
* ``KAYOBE_AIO_LVM`` (default: ``true``) - Whether the image uses LVM.
6060
* ``KAYOBE_CONFIG_EDIT_PAUSE`` (default: ``false``) - Option to pause
@@ -102,7 +102,6 @@ Clone the Kayobe and Kayobe configuration repositories (this one):
102102
cd
103103
mkdir -p src
104104
pushd src
105-
git clone https://github.com/stackhpc/kayobe.git -b |current_release_git_branch_name|
106105
git clone https://github.com/stackhpc/stackhpc-kayobe-config -b |current_release_git_branch_name| kayobe-config
107106
popd
108107
@@ -116,7 +115,7 @@ Create a virtual environment and install Kayobe:
116115
python3 -m venv kayobe
117116
source kayobe/bin/activate
118117
pip install -U pip
119-
pip install ../src/kayobe
118+
pip install ../src/kayobe-config/requirements.txt
120119
popd
121120
122121
Add initial network configuration:

doc/source/contributor/environments/ci-builder.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ Clone the Kayobe and Kayobe configuration repositories (this one):
5757
cd
5858
mkdir -p src
5959
pushd src
60-
git clone https://github.com/stackhpc/kayobe.git -b |current_release_git_branch_name|
6160
git clone https://github.com/stackhpc/stackhpc-kayobe-config -b |current_release_git_branch_name| kayobe-config
6261
popd
6362
@@ -71,7 +70,7 @@ Create a virtual environment and install Kayobe:
7170
python3 -m venv kayobe
7271
source kayobe/bin/activate
7372
pip install -U pip
74-
pip install ../src/kayobe
73+
pip install ../src/kayobe-config/requirements.txt
7574
popd
7675
7776
Add initial network configuration:

doc/source/contributor/environments/ci-multinode.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ deployment.
3535

3636
To test it, you will need two virtual machines. Cirros does not support the Ceph
3737
kernel client, so you will need to use a different image. Any regular Linux
38-
distribution should work. As an example, this guide will use Ubuntu 20.04.
38+
distribution should work. As an example, this guide will use Ubuntu 22.04.
3939

4040
Download the image locally:
4141

4242
.. code-block:: bash
4343
44-
wget http://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
44+
wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
4545
4646
Upload the image to Glance:
4747

4848
.. code-block:: bash
4949
50-
openstack image create --container-format bare --disk-format qcow2 --file focal-server-cloudimg-amd64.img Ubuntu-20.04 --progress
50+
openstack image create --container-format bare --disk-format qcow2 --file jammy-server-cloudimg-amd64.img Ubuntu-22.04 --progress
5151
5252
Create a keypair:
5353

@@ -59,8 +59,8 @@ Create two virtual machines from the image:
5959

6060
.. code-block:: bash
6161
62-
openstack server create --flavor m1.small --image Ubuntu-20.04 --key-name id_rsa --network admin-tenant ubuntu-client-1
63-
openstack server create --flavor m1.small --image Ubuntu-20.04 --key-name id_rsa --network admin-tenant ubuntu-client-2
62+
openstack server create --flavor m1.small --image Ubuntu-22.04 --key-name id_rsa --network admin-tenant ubuntu-client-1
63+
openstack server create --flavor m1.small --image Ubuntu-22.04 --key-name id_rsa --network admin-tenant ubuntu-client-2
6464
6565
Wait until the instances are active. It is worth noting that this process can
6666
take a while, especially if the overcloud is deployed to virtual machines. You

doc/source/operations/secret-rotation.rst

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -34,34 +34,6 @@ this guide. Installation:
3434
3535
sudo apt/dnf install pwgen
3636
37-
38-
As of writing, there are three upstream patches in the works to make this
39-
process easier.
40-
41-
#. A change to Kolla, to automate :ref:`this<kolla-change>` step to change the
42-
extended start for the ``nova-api`` container.
43-
44-
The upstream patch can be found `here
45-
<https://review.opendev.org/c/openstack/kolla/+/902057>`__.
46-
47-
This was previously mitigated with a change to the StackHPC fork of
48-
Kolla-Ansible, which has since been reverted due to an unforeseen issue. See
49-
`here <https://github.com/stackhpc/kolla-ansible/pull/503>`__ for more
50-
details.
51-
52-
#. A change to Nova, to automate :ref:`this<nova-change>` step to change the
53-
nova cell0 database connection string.
54-
55-
The upstream patch can be found `here
56-
<https://review.opendev.org/c/openstack/nova/+/903140>`__.
57-
58-
#. A change to Kolla-Ansible, to automate :ref:`this<k-a-change>` step to
59-
update service keystone user passwords.
60-
61-
The upstream patch can be found `here
62-
<https://review.opendev.org/c/openstack/kolla-ansible/+/903178>`__.
63-
64-
6537
Full method
6638
===========
6739

doc/source/operations/tempest.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ you understand all the options before applying them.
176176
min_compute_nodes = 2
177177
# Required to test some API features
178178
min_microversion = 2.1
179-
max_microversion = 2.95
179+
max_microversion = 2.96
180180
# Flavors for creating test servers and server resize. The ``alt`` flavor should be larger.
181181
flavor_ref = <flavor UUID>
182182
flavor_ref_alt = <different flavor UUID>
@@ -197,7 +197,7 @@ you understand all the options before applying them.
197197
storage_protocol = ceph
198198
# Required to test some API features
199199
min_microversion = 3.0
200-
max_microversion = 3.70
200+
max_microversion = 3.71
201201
202202
Tempest configuration override files are stored in
203203
``.automation.conf/tempest/``. The default file used is

etc/kayobe/ansible/fix-networking.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
path: /etc/hosts
1919
marker: "# {mark} Kayobe entries"
2020
block: |
21-
10.0.0.34 pelican pelican.service.compute.sms-lab.cloud
22-
10.205.3.187 pulp-server pulp-server.internal.sms-cloud
2321
192.168.37.2 internal.infra.mos.{{ root_domain }}
2422
192.168.39.2 public.infra.mos.{{ root_domain }}
2523
become: true

0 commit comments

Comments
 (0)