Skip to content

Commit 76e865e

Browse files
committed
Merge remote-tracking branch 'origin/stackhpc/2024.1' into 2024.1-ansible-lint-alex
2 parents 0a22977 + 479792c commit 76e865e

File tree

10 files changed

+150
-58
lines changed

10 files changed

+150
-58
lines changed

.github/auto-label.yaml

Lines changed: 46 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,55 @@
11
---
22
path:
33
pullrequest: true
4-
paths:
5-
doc: 'documentation'
6-
.github: 'workflows'
7-
terraform: 'workflows'
8-
etc:
9-
kayobe:
10-
enviromnents:
11-
ci-aio: 'workflows'
12-
ci-builder: 'workflows'
13-
ci-multinode: 'workflows'
14-
trivy: 'workflows'
15-
ansible: 'ansible'
16-
kolla:
17-
config:
18-
grafana: "monitoring"
19-
prometheus: "monitoring"
20-
fluentd: "monitoring"
4+
multipleLabelPaths:
5+
- paths:
6+
.automation: 'kayobe-automation'
7+
.automation.conf: 'kayobe-automation'
8+
- paths:
9+
doc: 'documentation'
10+
- paths:
11+
.github: 'workflows'
12+
etc:
13+
kayobe:
14+
enviromnents:
15+
ci-aio: 'workflows'
16+
ci-builder: 'workflows'
17+
ci-multinode: 'workflows'
18+
trivy: 'workflows'
19+
terraform: 'workflows'
20+
tools:
21+
scan-images.sh: "workflows"
22+
tox.ini: 'workflows'
23+
- paths:
24+
etc:
25+
kayobe:
26+
ansible: 'ansible'
27+
ansible.cfg: 'ansible'
28+
- paths:
29+
etc:
30+
kayobe:
31+
kolla:
32+
config:
33+
fluentd: "monitoring"
34+
grafana: "monitoring"
35+
prometheus: "monitoring"
36+
inventory:
37+
group_vars:
38+
prometheus-blackbox-exporter: "monitoring"
39+
- paths:
40+
etc:
41+
kayobe:
42+
kolla:
43+
kolla-build.conf: "kolla"
44+
kolla-image-tags.yml: "kolla"
45+
kolla.yml: "kolla"
46+
tools:
47+
kolla-images.py: "kolla"
2148

2249
staleness:
2350
pullrequest: true
51+
old: 30
52+
extraold: 90
2453

2554
requestsize:
2655
enabled: true

doc/source/configuration/vault.rst

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,63 @@ Setup Vault HA on the overcloud hosts
105105
106106
ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/vault/overcloud-vault-keys.json
107107
108+
Rotating Vault certificate on the overcloud hosts
109+
-------------------------------------------------
110+
111+
The certificate for the overcloud vaults has an expiry time of one year. While
112+
the cloud won't break if this expires, it will need rotating before new
113+
certificates can be generated for internal PKI. If a vault becomes sealed, it
114+
cannot be unsealed with an expired certificate.
115+
116+
1. Delete the old certificate:
117+
118+
.. code-block::
119+
120+
rm $KAYOBE_CONFIG_PATH/vault/overcloud.crt
121+
122+
Or if environments are being used
123+
124+
.. code-block::
125+
126+
rm $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/vault/overcloud.crt
127+
128+
2. Generate a new certificate (and key):
129+
130+
.. code-block::
131+
132+
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/vault-deploy-seed.yml
133+
134+
3. Encrypt generated key with ansible-vault (use proper location of vault password file)
135+
136+
.. code-block::
137+
138+
ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/vault/overcloud.key
139+
140+
Or if environments are being used
141+
142+
.. code-block::
143+
144+
ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/vault/overcloud.key
145+
146+
4. Copy the new certificate to the overcloud hosts. Note, if the old
147+
certificate has expired this will fail on the unseal step.
148+
149+
.. code-block::
150+
151+
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/vault-deploy-overcloud.yml
152+
153+
5. Restart the containers to use the new certificate:
154+
155+
.. code-block::
156+
157+
kayobe overcloud host command run --command "docker restart vault" -l controllers
158+
159+
6. If sealed, unseal the vault:
160+
161+
.. code-block::
162+
163+
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/vault-unseal-overcloud.yml
164+
108165
Certificates generation
109166
=======================
110167

doc/source/operations/upgrading-openstack.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ Then from the OpenStack CLI:
8282
openstack user delete heat
8383
openstack domain set --disable heat_user_domain
8484
openstack domain delete heat_user_domain
85+
openstack endpoint list --service heat -c ID -f value | xargs openstack endpoint delete
86+
openstack endpoint list --service heat-cfn -c ID -f value | xargs openstack endpoint delete
8587
8688
You can drop the ``heat`` database too, unless you want to keep historical content.
8789

etc/kayobe/ansible/stop-openstack-services.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929
executable: "/bin/bash"
3030
cmd: >-
3131
set -o pipefail &&
32-
systemctl -a | egrep '({{ stop_service_list | join('|') }})' | awk '{ print $1 }' | xargs systemctl stop
32+
systemctl -a | egrep 'kolla-({{ stop_service_list | join('|') }})' | awk '{ print $1 }' | xargs systemctl stop

etc/kayobe/containers/squid_proxy/squid.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,7 @@ refresh_pattern ^ftp: 1440 20% 10080
7777
refresh_pattern ^gopher: 1440 0% 1440
7878
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
7979
refresh_pattern . 0 20% 4320
80+
81+
# Disable connections over IPv6
82+
# https://ramesh-sahoo.medium.com/squid-proxy-server-has-stopped-handling-connection-resulting-in-none-503-0-connect-errors-55477316850a
83+
dns_v4_first on

etc/kayobe/kolla-image-tags.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,29 @@
44
# where the key is the OS distro and the value is the tag to deploy.
55
kolla_image_tags:
66
openstack:
7-
rocky-9: 2024.1-rocky-9-20240903T113235
7+
rocky-9: 2024.1-rocky-9-20241218T141751
88
ubuntu-jammy: 2024.1-ubuntu-jammy-20240917T091559
99
blazar:
10-
rocky-9: 2024.1-rocky-9-20241125T093138
1110
ubuntu-jammy: 2024.1-ubuntu-jammy-20241125T093138
1211
cinder:
13-
rocky-9: 2024.1-rocky-9-20241204T081836
1412
ubuntu-jammy: 2024.1-ubuntu-jammy-20241204T081836
15-
heat:
16-
rocky-9: 2024.1-rocky-9-20240805T142526
1713
nova:
18-
rocky-9: 2024.1-rocky-9-20241004T094540
1914
ubuntu-jammy: 2024.1-ubuntu-jammy-20241004T094540
2015
neutron:
21-
rocky-9: 2024.1-rocky-9-20241203T232519
2216
ubuntu-jammy: 2024.1-ubuntu-jammy-20241203T232519
2317
octavia:
24-
rocky-9: 2024.1-rocky-9-20241004T094540
2518
ubuntu-jammy: 2024.1-ubuntu-jammy-20241004T094540
2619
horizon:
27-
rocky-9: 2024.1-rocky-9-20241202T210927
2820
ubuntu-jammy: 2024.1-ubuntu-jammy-20241202T210927
2921
bifrost:
30-
rocky-9: 2024.1-rocky-9-20241128T162336
3122
ubuntu-jammy: 2024.1-ubuntu-jammy-20241128T162336
32-
prometheus:
33-
rocky-9: 2024.1-rocky-9-20240910T072617
34-
rabbitmq:
35-
rocky-9: 2024.1-rocky-9-20240927T152945
3623
ironic:
37-
rocky-9: 2024.1-rocky-9-20241023T143407
3824
ubuntu-jammy: 2024.1-ubuntu-jammy-20241023T143407
3925
ironic_dnsmasq:
40-
rocky-9: 2024.1-rocky-9-20241023T143407
4126
ubuntu-jammy: 2024.1-ubuntu-jammy-20241023T143407
4227
ironic_neutron_agent:
43-
rocky-9: 2024.1-rocky-9-20241023T143407
4428
ubuntu-jammy: 2024.1-ubuntu-jammy-20241023T143407
4529
letsencrypt:
46-
rocky-9: 2024.1-rocky-9-20241206T090120
4730
ubuntu-jammy: 2024.1-ubuntu-jammy-20241206T090120
4831
grafana:
49-
rocky-9: 2024.1-rocky-9-20241128T123708
5032
ubuntu-jammy: 2024.1-ubuntu-jammy-20241128T123708

etc/kayobe/pulp-repo-versions.yml

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
---
2-
# Do not edit! This file is autogenerated by Ansible.
3-
stackhpc_pulp_repo_centos_stream_9_docker_version: 20240829T093746
4-
stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version: 20240829T093746
5-
stackhpc_pulp_repo_centos_stream_9_openstack_caracal_version: 20240902T080424
2+
# This file is autogenerated by Ansible using the following workflow:
3+
# https://github.com/stackhpc/stackhpc-release-train/actions/workflows/package-update-kayobe.yml
4+
stackhpc_pulp_repo_centos_stream_9_docker_version: 20241210T000909
5+
stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version: 20241214T012909
6+
stackhpc_pulp_repo_centos_stream_9_openstack_caracal_version: 20241212T022636
67
stackhpc_pulp_repo_centos_stream_9_opstools_version: 20231213T031318
7-
stackhpc_pulp_repo_centos_stream_9_storage_ceph_reef_version: 20240502T000614
8+
stackhpc_pulp_repo_centos_stream_9_storage_ceph_reef_version: 20240923T233036
9+
stackhpc_pulp_repo_ceph_reef_debian_version: 20240925T152022
810
stackhpc_pulp_repo_docker_ce_ubuntu_jammy_version: 20240910T001721
9-
stackhpc_pulp_repo_elrepo_9_version: 20240902T122220
10-
stackhpc_pulp_repo_epel_9_version: 20240902T080424
11-
stackhpc_pulp_repo_grafana_version: 20240902T080424
12-
stackhpc_pulp_repo_opensearch_2_x_version: 20240807T235120
13-
stackhpc_pulp_repo_opensearch_dashboards_2_x_version: 20240807T235120
14-
stackhpc_pulp_repo_rhel9_rabbitmq_erlang_version: 20240925T093206
15-
stackhpc_pulp_repo_rhel9_rabbitmq_server_version: 20240925T111913
16-
stackhpc_pulp_repo_rhel_9_influxdb_version: 20240817T001913
17-
stackhpc_pulp_repo_rhel_9_mariadb_10_11_version: 20240810T001640
11+
stackhpc_pulp_repo_elrepo_9_version: 20241129T235743
12+
stackhpc_pulp_repo_epel_9_version: 20241216T235733
13+
stackhpc_pulp_repo_grafana_version: 20241216T002739
14+
stackhpc_pulp_repo_opensearch_2_x_version: 20241106T010702
15+
stackhpc_pulp_repo_opensearch_dashboards_2_x_version: 20241106T010702
16+
stackhpc_pulp_repo_rhel9_rabbitmq_erlang_version: 20241217T002152
17+
stackhpc_pulp_repo_rhel9_rabbitmq_server_version: 20241217T002152
18+
stackhpc_pulp_repo_rhel_9_influxdb_version: 20241217T002152
19+
stackhpc_pulp_repo_rhel_9_mariadb_10_11_version: 20241102T004913
1820
stackhpc_pulp_repo_rhel_9_rabbitmq_erlang_version: 20240711T091318
1921
stackhpc_pulp_repo_rhel_9_rabbitmq_server_version: 20240711T091318
20-
stackhpc_pulp_repo_rhel_9_treasuredata_5_version: 20240711T091318
22+
stackhpc_pulp_repo_rhel_9_treasuredata_5_version: 20241115T002028
2123
stackhpc_pulp_repo_rocky_9_1_appstream_version: 20231207T013715
2224
stackhpc_pulp_repo_rocky_9_1_baseos_version: 20231206T014015
2325
stackhpc_pulp_repo_rocky_9_1_crb_version: 20231211T120328
@@ -38,8 +40,12 @@ stackhpc_pulp_repo_rocky_9_4_baseos_version: 20240816T002610
3840
stackhpc_pulp_repo_rocky_9_4_crb_version: 20240816T002610
3941
stackhpc_pulp_repo_rocky_9_4_extras_version: 20240816T002610
4042
stackhpc_pulp_repo_rocky_9_4_highavailability_version: 20240816T002610
41-
stackhpc_pulp_repo_rocky_9_sig_security_common_version: 20240718T001130
43+
stackhpc_pulp_repo_rocky_9_5_appstream_version: 20241217T005008
44+
stackhpc_pulp_repo_rocky_9_5_baseos_version: 20241216T013503
45+
stackhpc_pulp_repo_rocky_9_5_crb_version: 20241217T005008
46+
stackhpc_pulp_repo_rocky_9_5_extras_version: 20241216T004230
47+
stackhpc_pulp_repo_rocky_9_5_highavailability_version: 20241202T003154
48+
stackhpc_pulp_repo_rocky_9_sig_security_common_version: 20241127T003858
4249
stackhpc_pulp_repo_ubuntu_cloud_archive_version: 20240911T041957
4350
stackhpc_pulp_repo_ubuntu_jammy_security_version: 20240924T064114
4451
stackhpc_pulp_repo_ubuntu_jammy_version: 20240924T064114
45-
stackhpc_pulp_repo_ceph_reef_debian_version: 20240925T152022

etc/kayobe/pulp.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ stackhpc_pulp_distribution_deb_production: >-
212212

213213
# Whether to sync Rocky Linux 9 packages.
214214
stackhpc_pulp_sync_rocky_9: "{{ os_distribution == 'rocky' }}"
215-
# Rocky 9 minor version number. Supported values: 1, 2, 3, 4. Default is 4
216-
stackhpc_pulp_repo_rocky_9_minor_version: 4
215+
# Rocky 9 minor version number. Supported values: 1, 2, 3, 4, 5. Default is 5
216+
stackhpc_pulp_repo_rocky_9_minor_version: 5
217217
# Rocky 9 Snapshot versions. The defaults use the appropriate version from
218218
# pulp-repo-versions.yml for the selected minor release.
219219
stackhpc_pulp_repo_rocky_9_appstream_version: "{{ lookup('vars', 'stackhpc_pulp_repo_rocky_9_%s_appstream_version' % stackhpc_pulp_repo_rocky_9_minor_version) }}"
@@ -252,7 +252,7 @@ stackhpc_pulp_rpm_repos:
252252
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
253253

254254
- name: RabbitMQ - Server - RHEL 9
255-
url: "{{ stackhpc_release_pulp_content_url }}/rabbitmq/rabbitmq-server/el/9/x86_64/{{ stackhpc_pulp_repo_rhel9_rabbitmq_server_version }}"
255+
url: "{{ stackhpc_release_pulp_content_url }}/rabbitmq/rabbitmq-server/el/9/noarch/{{ stackhpc_pulp_repo_rhel9_rabbitmq_server_version }}"
256256
distribution_name: "rhel9-rabbitmq-server-"
257257
base_path: "rabbitmq/rabbitmq-server/el/9/x86_64/"
258258
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
@@ -344,7 +344,7 @@ stackhpc_pulp_rpm_repos:
344344

345345
# Additional RHEL 9 repositories
346346
- name: TreasureData 5 for RHEL 9
347-
url: "{{ stackhpc_release_pulp_content_url }}/treasuredata/4/redhat/9/x86_64/{{ stackhpc_pulp_repo_rhel_9_treasuredata_5_version }}"
347+
url: "{{ stackhpc_release_pulp_content_url }}/treasuredata/lts/5/redhat/9/x86_64/{{ stackhpc_pulp_repo_rhel_9_treasuredata_5_version }}"
348348
distribution_name: "rhel-9-treasuredata-5-"
349349
base_path: "treasuredata/5/redhat/9/x86_64/"
350350
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes an issue where Squid proxy could be unable to reach external servers
5+
due to a preference of choosing IPv6 connectivity by default.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
features:
3+
- |
4+
Added support for Rocky Linux 9.5, including host packages and a full
5+
container image refresh.
6+
- |
7+
Made 9.5 the default release for Rocky Linux.

0 commit comments

Comments
 (0)