Skip to content

Commit 4aa71a1

Browse files
committed
Merge branch 'stackhpc/2024.1' into 2024.1-ansible-lint-alex
2 parents adcbe22 + 76433b6 commit 4aa71a1

9 files changed

+45
-47
lines changed

.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/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: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,19 +107,23 @@
107107
when:
108108
- custom_sca_policies_folder.stat.exists
109109
- custom_sca_policies.files | length > 0
110-
- name: Set http/s_proxy vars in ossec-init.conf for vulnerability detector
110+
111+
- name: Add JVM proxy settings to wazuh-indexer
111112
ansible.builtin.blockinfile:
112-
path: /var/ossec/etc/ossec.conf
113+
path: /etc/wazuh-indexer/jvm.options
113114
state: present
114115
owner: root
115-
group: ossec
116+
group: wazuh
117+
marker: "# {mark} ANSIBLE MANAGED BLOCK JVM PROXY SETTINGS"
116118
block: |
117-
HTTPS_PROXY={{ http_proxy_url }}
118-
HTTP_PROXY={{ http_proxy_url }}
119+
-Dhttp.proxyHost={{ http_proxy_url | urlsplit('hostname') }}
120+
-Dhttp.proxyPort={{ http_proxy_url | urlsplit('port') }}
121+
-Dhttps.proxyHost={{ http_proxy_url | urlsplit('hostname') }}
122+
-Dhttps.proxyPort={{ http_proxy_url | urlsplit('port') }}
119123
backup: true
120124
when: http_proxy_url is defined
121125
notify:
122-
- Restart wazuh
126+
- Restart wazuh-indexer
123127

124128
- name: Perform health check against filebeat
125129
ansible.builtin.command: filebeat test output
@@ -131,3 +135,8 @@
131135
ansible.builtin.service:
132136
name: wazuh-manager
133137
state: restarted
138+
139+
- name: Restart wazuh-indexer
140+
service:
141+
name: wazuh-indexer
142+
state: restarted

etc/kayobe/kolla-image-tags.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,4 @@
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
13-
nova:
14-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241004T094540
15-
neutron:
16-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241203T232519
17-
octavia:
18-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241004T094540
19-
horizon:
20-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241202T210927
21-
bifrost:
22-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241128T162336
23-
ironic:
24-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241023T143407
25-
ironic_dnsmasq:
26-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241023T143407
27-
ironic_neutron_agent:
28-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241023T143407
29-
letsencrypt:
30-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241206T090120
31-
grafana:
32-
ubuntu-jammy: 2024.1-ubuntu-jammy-20241128T123708
8+
ubuntu-jammy: 2024.1-ubuntu-jammy-20241218T141809

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)