Skip to content

Commit 54c3f4f

Browse files
authored
Merge branch 'stackhpc/2024.1' into unpin_magnum
2 parents abe85b8 + 76433b6 commit 54c3f4f

13 files changed

+51
-82
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
pip install -r ../src/kayobe-config/requirements.txt
7777
7878
- name: Install terraform
79-
uses: hashicorp/setup-terraform@v3
79+
uses: hashicorp/setup-terraform@v2
8080

8181
- name: Initialise terraform
8282
run: terraform init
@@ -206,7 +206,8 @@ jobs:
206206
kayobe overcloud deployment image build --force-rebuild \
207207
-e os_distribution="ubuntu" \
208208
-e os_release="jammy" \
209-
-e ipa_ci_builder_distribution="ubuntu"
209+
-e ipa_ci_builder_distribution="ubuntu" \
210+
-e ipa_ci_builder_release="jammy"
210211
env:
211212
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
212213
if: inputs.ubuntu-jammy
@@ -264,7 +265,8 @@ jobs:
264265
kayobe overcloud deployment image build --force-rebuild \
265266
-e os_distribution="rocky" \
266267
-e os_release="9" \
267-
-e ipa_ci_builder_distribution="rocky"
268+
-e ipa_ci_builder_distribution="rocky" \
269+
-e ipa_ci_builder_release="9"
268270
env:
269271
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
270272
if: inputs.rocky9

.github/workflows/multinode-inputs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Scenario:
2626
openstack_release: OpenStackRelease
2727
os_release: OSRelease
2828
neutron_plugin: str
29-
upgrade: bool
29+
upgrade: str
3030

3131

3232
ROCKY_9 = OSRelease("rocky", "9", "cloud-user")
@@ -50,7 +50,7 @@ def random_scenario() -> Scenario:
5050
openstack_release = random.choice(OPENSTACK_RELEASES)
5151
os_release = random.choice(openstack_release.os_releases)
5252
neutron_plugin = random.choice(NEUTRON_PLUGINS)
53-
upgrade = random.random() > 0.6
53+
upgrade = 'major' if random.random() > 0.6 else 'none'
5454
return Scenario(openstack_release, os_release, neutron_plugin, upgrade)
5555

5656

@@ -62,7 +62,7 @@ def generate_inputs(scenario: Scenario) -> t.Dict[str, str]:
6262
"os_release": scenario.os_release.release,
6363
"ssh_username": scenario.os_release.ssh_username,
6464
"neutron_plugin": scenario.neutron_plugin,
65-
"upgrade": str(scenario.upgrade).lower(),
65+
"upgrade": scenario.upgrade,
6666
"stackhpc_kayobe_config_version": branch,
6767
"stackhpc_kayobe_config_previous_version": previous_branch,
6868
}

.github/workflows/stackhpc-multinode.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,12 @@ name: Multinode
2727
- ovs
2828
upgrade:
2929
description: Whether to perform an upgrade
30-
type: boolean
31-
default: false
30+
default: none
31+
type: choice
32+
options:
33+
- none
34+
- minor
35+
- major
3236
break_on:
3337
description: When to break execution for manual interaction
3438
type: choice
@@ -52,7 +56,7 @@ name: Multinode
5256
jobs:
5357
multinode:
5458
name: Multinode
55-
uses: stackhpc/stackhpc-openstack-gh-workflows/.github/workflows/multinode.yml@1.2.0
59+
uses: stackhpc/stackhpc-openstack-gh-workflows/.github/workflows/multinode.yml@1.4.0
5660
with:
5761
multinode_name: ${{ inputs.multinode_name }}
5862
os_distribution: ${{ inputs.os_distribution }}
@@ -66,6 +70,6 @@ jobs:
6670
ssh_key: ${{ inputs.ssh_key }}
6771
stackhpc_kayobe_config_version: ${{ github.ref_name }}
6872
# NOTE(upgrade): Reference the PREVIOUS release here.
69-
stackhpc_kayobe_config_previous_version: stackhpc/2023.1
73+
stackhpc_kayobe_config_previous_version: ${{ inputs.upgrade == 'major' && 'stackhpc/2023.1' || 'stackhpc/2024.1' }}
7074
terraform_kayobe_multinode_version: ${{ inputs.terraform_kayobe_multinode_version }}
7175
secrets: inherit

etc/kayobe/ansible/pulp-artifact-upload.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -142,21 +142,6 @@
142142
retries: 3
143143
delay: 5
144144

145-
- name: Update distribution for latest version
146-
pulp.squeezer.file_distribution:
147-
pulp_url: "{{ remote_pulp_url }}"
148-
username: "{{ remote_pulp_username }}"
149-
password: "{{ remote_pulp_password }}"
150-
name: "{{ repository_name }}_latest"
151-
base_path: "{{ pulp_base_path }}/latest"
152-
publication: "{{ publication_details.publication.pulp_href }}"
153-
content_guard: development
154-
state: present
155-
register: latest_distribution_details
156-
until: latest_distribution_details is success
157-
retries: 3
158-
delay: 5
159-
160145
- name: Create distribution for given version
161146
pulp.squeezer.file_distribution:
162147
pulp_url: "{{ remote_pulp_url }}"
@@ -167,7 +152,6 @@
167152
publication: "{{ publication_details.publication.pulp_href }}"
168153
content_guard: development
169154
state: present
170-
when: latest_distribution_details.changed
171155
register: distribution_result
172156
until: distribution_result is success
173157
retries: 3
@@ -180,26 +164,11 @@
180164
{{ artifact_tag }}/{{ found_files.files[0].path | basename }}"
181165
create: true
182166

183-
- name: Update new artifacts file with latest path
184-
lineinfile:
185-
path: /tmp/updated_artifacts.txt
186-
line: "{{ remote_pulp_url }}/pulp/content/{{ pulp_base_path }}/\
187-
latest/{{ found_files.files[0].path | basename }}"
188-
when: latest_distribution_details.changed
189-
190167
- name: Print versioned path
191168
debug:
192169
msg: "New versioned path: {{ remote_pulp_url }}/pulp/content/{{ pulp_base_path }}/\
193170
{{ artifact_tag }}/{{ found_files.files[0].path | basename }}"
194-
when: latest_distribution_details.changed
195-
196-
- name: Print latest path
197-
debug:
198-
msg: "New latest path: {{ remote_pulp_url }}/pulp/content/{{ pulp_base_path }}/\
199-
latest/{{ found_files.files[0].path | basename }}"
200-
when: latest_distribution_details.changed
201171

202172
- name: Print version tag
203173
debug:
204174
msg: "New tag: {{ artifact_tag }}"
205-
when: latest_distribution_details.changed

etc/kayobe/ansible/requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
collections:
33
- name: stackhpc.cephadm
4-
version: 1.18.0
4+
version: 1.19.1
55
# NOTE: Pinning pulp.squeezer to 0.0.13 because 0.0.14+ depends on the
66
# pulp_glue Python library being installed.
77
- name: pulp.squeezer

etc/kayobe/ansible/templates/wazuh-secrets.yml.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
# Store these securely and use lookups here
44
secrets_wazuh:
55
# Wazuh agent authd pass
6-
authd_pass: "{{ secrets_wazuh.authd_pass | default(lookup('password', '/dev/null'), true) }}"
6+
authd_pass: '{{ secrets_wazuh.authd_pass | default(lookup("password", "/dev/null"), true) }}'
77
# Strengthen default wazuh api user pass
88
wazuh_api_users:
99
- username: "wazuh"
10-
password: "{{ secrets_wazuh.wazuh_api_users[0].password | default(lookup('community.general.random_string', min_lower=1, min_upper=1, min_special=1, min_numeric=1, length=30, override_special=override_special_characters)) }}"
10+
password: '{{ secrets_wazuh.wazuh_api_users[0].password | default(lookup("community.general.random_string", min_lower=1, min_upper=1, min_special=1, min_numeric=1, length=30, override_special=override_special_characters)) }}'
1111
# OpenSearch 'admin' user pass
12-
opendistro_admin_password: "{{ secrets_wazuh.opendistro_admin_password | default(lookup('password', '/dev/null'), true) }}"
12+
opendistro_admin_password: '{{ secrets_wazuh.opendistro_admin_password | default(lookup("password", "/dev/null"), true) }}'
1313
# OpenSearch 'kibanaserver' user pass
14-
opendistro_kibana_password: "{{ secrets_wazuh.opendistro_kibana_password | default(lookup('password', '/dev/null'), true) }}"
14+
opendistro_kibana_password: '{{ secrets_wazuh.opendistro_kibana_password | default(lookup("password", "/dev/null"), true) }}'

etc/kayobe/ansible/wazuh-manager.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,22 @@
102102
notify:
103103
- Restart wazuh
104104

105-
- name: Set http/s_proxy vars in ossec-init.conf for vulnerability detector
105+
- name: Add JVM proxy settings to wazuh-indexer
106106
blockinfile:
107-
path: "/var/ossec/etc/ossec.conf"
107+
path: "/etc/wazuh-indexer/jvm.options"
108108
state: present
109109
owner: root
110-
group: ossec
110+
group: wazuh
111+
marker: "# {mark} ANSIBLE MANAGED BLOCK JVM PROXY SETTINGS"
111112
block: |
112-
HTTPS_PROXY={{ http_proxy_url }}
113-
HTTP_PROXY={{ http_proxy_url }}
113+
-Dhttp.proxyHost={{ http_proxy_url | urlsplit('hostname') }}
114+
-Dhttp.proxyPort={{ http_proxy_url | urlsplit('port') }}
115+
-Dhttps.proxyHost={{ http_proxy_url | urlsplit('hostname') }}
116+
-Dhttps.proxyPort={{ http_proxy_url | urlsplit('port') }}
114117
backup: yes
115118
when: http_proxy_url is defined
116119
notify:
117-
- Restart wazuh
120+
- Restart wazuh-indexer
118121

119122
- name: Perform health check against filebeat
120123
command: filebeat test output
@@ -126,3 +129,8 @@
126129
service:
127130
name: wazuh-manager
128131
state: restarted
132+
133+
- name: Restart wazuh-indexer
134+
service:
135+
name: wazuh-indexer
136+
state: restarted

etc/kayobe/environments/ci-builder/stackhpc-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ stackhpc_release_pulp_password: "{{ stackhpc_docker_registry_password }}"
101101
ipa_build_images: true
102102
ipa_build_dib_env_extra:
103103
DISTRO_NAME: "{{ ipa_ci_builder_distribution | default('ubuntu') }}"
104+
DIB_RELEASE: "{{ ipa_ci_builder_release | default('jammy') }}"
104105

105106
# Ensure Ark repos are disabled during CI runs, this is due to
106107
# builder being a member of the 'overcloud' group for IPA builds.

etc/kayobe/kolla-image-tags.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,7 @@
55
kolla_image_tags:
66
openstack:
77
rocky-9: 2024.1-rocky-9-20241218T141751
8-
ubuntu-jammy: 2024.1-ubuntu-jammy-20240917T091559
9-
blazar:
10-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241125T093138
11-
cinder:
12-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241204T081836
8+
ubuntu-jammy: 2024.1-ubuntu-jammy-20241218T141809
139
magnum:
1410
rocky-9: 2024.1-rocky-9-20250102T094625
1511
ubuntu-jammy: 2024.1-ubuntu-jammy-20250102T094625
16-
nova:
17-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241004T094540
18-
neutron:
19-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241203T232519
20-
octavia:
21-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241004T094540
22-
horizon:
23-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241202T210927
24-
bifrost:
25-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241128T162336
26-
ironic:
27-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241023T143407
28-
ironic_dnsmasq:
29-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241023T143407
30-
ironic_neutron_agent:
31-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241023T143407
32-
letsencrypt:
33-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241206T090120
34-
grafana:
35-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241128T123708
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
# IPA image versioning tags
3-
stackhpc_rocky_9_ipa_image_version: "2024.1-20241206T160829"
3+
stackhpc_rocky_9_ipa_image_version: "2024.1-20241231T102920"
44
stackhpc_ubuntu_jammy_ipa_image_version: "2024.1-20241206T160829"

etc/kayobe/pulp-repo-versions.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ stackhpc_pulp_repo_centos_stream_9_openstack_caracal_version: 20241212T022636
77
stackhpc_pulp_repo_centos_stream_9_opstools_version: 20231213T031318
88
stackhpc_pulp_repo_centos_stream_9_storage_ceph_reef_version: 20240923T233036
99
stackhpc_pulp_repo_ceph_reef_debian_version: 20240925T152022
10-
stackhpc_pulp_repo_docker_ce_ubuntu_jammy_version: 20240910T001721
10+
stackhpc_pulp_repo_docker_ce_ubuntu_jammy_version: 20241218T154614
1111
stackhpc_pulp_repo_elrepo_9_version: 20241129T235743
1212
stackhpc_pulp_repo_epel_9_version: 20241216T235733
1313
stackhpc_pulp_repo_grafana_version: 20241216T002739
@@ -46,6 +46,6 @@ stackhpc_pulp_repo_rocky_9_5_crb_version: 20241217T005008
4646
stackhpc_pulp_repo_rocky_9_5_extras_version: 20241216T004230
4747
stackhpc_pulp_repo_rocky_9_5_highavailability_version: 20241202T003154
4848
stackhpc_pulp_repo_rocky_9_sig_security_common_version: 20241127T003858
49-
stackhpc_pulp_repo_ubuntu_cloud_archive_version: 20240911T041957
50-
stackhpc_pulp_repo_ubuntu_jammy_security_version: 20240924T064114
51-
stackhpc_pulp_repo_ubuntu_jammy_version: 20240924T064114
49+
stackhpc_pulp_repo_ubuntu_cloud_archive_version: 20241217T045049
50+
stackhpc_pulp_repo_ubuntu_jammy_security_version: 20241217T071258
51+
stackhpc_pulp_repo_ubuntu_jammy_version: 20241217T071258
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
features:
3+
- |
4+
Updates the StackHPC Cephadm Ansible collection from 1.18.0 to 1.19.1.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
features:
3+
- |
4+
Refreshed all Ubuntu host package versions and contianer images for
5+
December 2024.

0 commit comments

Comments
 (0)