Skip to content

Commit 735c266

Browse files
committed
Merge stackhpc/yoga into stackhpc/zed
2 parents d63623b + 66b75bf commit 735c266

File tree

17 files changed

+86
-17
lines changed

17 files changed

+86
-17
lines changed

.automation.conf/config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ if [ ! -z ${KAYOBE_ENVIRONMENT:+x} ]; then
2424
# SMSLab is currently running with 1G switches. This causes tests using volumes and images to fail if
2525
# the concurrency is set too high.
2626
export TEMPEST_CONCURRENCY=1
27+
export KAYOBE_AUTOMATION_TEMPEST_SKIPLIST="ci-multinode-platform.2022.11"
2728
# Uncomment this to perform a full tempest test
2829
# export KAYOBE_AUTOMATION_TEMPEST_LOADLIST=tempest-full
2930
# export KAYOBE_AUTOMATION_TEMPEST_SKIPLIST=ci-multinode-tempest-full
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination: "Fails without public TLS"
2+
tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination: "Fails without public TLS"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination: "Fails without public TLS"
2+
tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination: "Fails without public TLS"
13
tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_subnet_details.*: "Cirros image doesn't have '/var/run/udhcpc.eth0.pid"

etc/kayobe/ansible/cis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@
1010
state: present
1111
when: ansible_facts.distribution == 'Ubuntu'
1212

13+
- name: Ensure service accounts have no expiry options set
14+
# This is to workaround an issue where we set the expiry to 365 days on kayobe
15+
# service accounts in a previous iteration of the CIS benchmark hardening
16+
# defaults. This should restore the defaults and can eventually be removed.
17+
command: chage -m 0 -M 99999 -W 7 -I -1 {{ item }}
18+
become: true
19+
changed_when: false
20+
with_items:
21+
- "{{ kayobe_ansible_user }}"
22+
- "{{ kolla_ansible_user }}"
23+
1324
- include_role:
1425
name: ansible-lockdown.rhel9_cis
1526
when: ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '9'

etc/kayobe/ansible/requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ collections:
99
- name: stackhpc.pulp
1010
version: 0.5.5
1111
- name: stackhpc.hashicorp
12-
version: 2.4.0
12+
version: 2.5.0
1313
- name: stackhpc.kayobe_workflows
1414
version: 1.0.3
1515
roles:

etc/kayobe/ansible/ubuntu-upgrade.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
hosts: overcloud:infra-vms:seed:seed-hypervisor
66
vars:
77
ansible_python_interpreter: /usr/bin/python3
8+
reboot_timeout_s: "{{ 20 * 60 }}"
89
tasks:
910
- name: Assert that hosts are running Ubuntu Focal
1011
assert:
@@ -37,7 +38,7 @@
3738

3839
- name: Reboot to apply updates
3940
reboot:
40-
reboot_timeout: 1200
41+
reboot_timeout: "{{ reboot_timeout_s }}"
4142
connect_timeout: 600
4243
become: true
4344
when: file_status.stat.exists
@@ -81,16 +82,24 @@
8182
hosts: overcloud:infra-vms:seed:seed-hypervisor
8283
vars:
8384
ansible_python_interpreter: /usr/bin/python3
85+
reboot_timeout_s: "{{ 20 * 60 }}"
8486
tasks:
8587
- name: Ensure Jammy repo definitions do not exist in sources.list
8688
blockinfile:
8789
path: /etc/apt/sources.list
8890
state: absent
8991
become: true
9092

93+
- name: Ensure Kolla Ansible Docker repo definition does not exist
94+
file:
95+
path: /etc/apt/sources.list.d/docker.list
96+
state: absent
97+
become: true
98+
when: apt_repositories | selectattr('url', 'match', '.*docker-ce.*') | list | length > 0
99+
91100
- name: Reboot and wait
92101
reboot:
93-
reboot_timeout: 1200
102+
reboot_timeout: "{{ reboot_timeout_s }}"
94103
connect_timeout: 600
95104
become: true
96105

etc/kayobe/apt.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,25 +52,29 @@ stackhpc_apt_repositories:
5252
suites: "{{ ansible_facts.distribution_release }} {{ ansible_facts.distribution_release }}-updates {{ ansible_facts.distribution_release }}-backports"
5353
components: main restricted universe multiverse
5454
architecture: amd64
55+
required: true
5556
- url: "{{ stackhpc_repo_ubuntu_jammy_security_url }}"
5657
suites: "{{ ansible_facts.distribution_release }}-security"
5758
components: main restricted universe multiverse
5859
architecture: amd64
60+
required: true
5961
- url: "{{ stackhpc_repo_ubuntu_jammy_cve_2024_6387_url }}"
6062
suites: "pulp"
6163
components: upload
6264
architecture: amd64
6365
trusted: yes
64-
- url: "{{ stackhpc_repo_docker_ce_ubuntu_url }}"
65-
suites: "{{ ansible_facts.distribution_release }}"
66+
required: true
67+
- url: "{{ stackhpc_repo_docker_ce_ubuntu_jammy_url }}"
68+
suites: "{{ ansible_facts.distribution_release }}"
6669
components: stable
6770
signed_by: docker.asc
6871
architecture: amd64
72+
required: true
6973

7074
# Do not replace apt configuration for non-overcloud hosts. This can result in
7175
# errors if apt reconfiguration is performed before local repository mirrors
7276
# are deployed.
73-
apt_repositories: "{{ stackhpc_apt_repositories if 'overcloud' in group_names else [] }}"
77+
apt_repositories: "{{ stackhpc_apt_repositories | selectattr('required') | list if 'overcloud' in group_names else [] }}"
7478

7579
# Whether to disable repositories in /etc/apt/sources.list. This may be used
7680
# when replacing the distribution repositories via apt_repositories.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ stackhpc_repo_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_version
3232
stackhpc_repo_ubuntu_jammy_security_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_security_version }}"
3333
stackhpc_repo_ubuntu_jammy_cve_2024_6387_version: ""
3434
stackhpc_repo_ubuntu_cloud_archive_version: "{{ stackhpc_pulp_repo_ubuntu_cloud_archive_version }}"
35-
stackhpc_repo_docker_ce_ubuntu_version: "{{ stackhpc_pulp_repo_docker_ce_ubuntu_version }}"
35+
stackhpc_repo_docker_ce_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_docker_ce_ubuntu_jammy_version }}"
3636
stackhpc_repo_centos_stream_9_nfv_openvswitch_version: "{{ stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version }}"
3737
stackhpc_repo_centos_stream_9_openstack_zed_version: "{{ stackhpc_pulp_repo_centos_stream_9_openstack_zed_version }}"
3838
stackhpc_repo_centos_stream_9_opstools_version: "{{ stackhpc_pulp_repo_centos_stream_9_opstools_version }}"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ stackhpc_repo_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_version
5252
stackhpc_repo_ubuntu_jammy_security_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_security_version }}"
5353
stackhpc_repo_ubuntu_jammy_cve_2024_6387_version: ""
5454
stackhpc_repo_ubuntu_cloud_archive_version: "{{ stackhpc_pulp_repo_ubuntu_cloud_archive_version }}"
55-
stackhpc_repo_docker_ce_ubuntu_version: "{{ stackhpc_pulp_repo_docker_ce_ubuntu_version }}"
55+
stackhpc_repo_docker_ce_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_docker_ce_ubuntu_jammy_version }}"
5656
stackhpc_repo_centos_stream_9_nfv_openvswitch_version: "{{ stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version }}"
5757
stackhpc_repo_centos_stream_9_openstack_zed_version: "{{ stackhpc_pulp_repo_centos_stream_9_openstack_zed_version }}"
5858
stackhpc_repo_centos_stream_9_opstools_version: "{{ stackhpc_pulp_repo_centos_stream_9_opstools_version }}"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ stackhpc_repo_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_version
2929
stackhpc_repo_ubuntu_jammy_security_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_security_version }}"
3030
stackhpc_repo_ubuntu_jammy_cve_2024_6387_version: ""
3131
stackhpc_repo_ubuntu_cloud_archive_version: "{{ stackhpc_pulp_repo_ubuntu_cloud_archive_version }}"
32-
stackhpc_repo_docker_ce_ubuntu_version: "{{ stackhpc_pulp_repo_docker_ce_ubuntu_version }}"
32+
stackhpc_repo_docker_ce_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_docker_ce_ubuntu_jammy_version }}"
3333
stackhpc_repo_centos_stream_9_nfv_openvswitch_version: "{{ stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version }}"
3434
stackhpc_repo_centos_stream_9_openstack_zed_version: "{{ stackhpc_pulp_repo_centos_stream_9_openstack_zed_version }}"
3535
stackhpc_repo_centos_stream_9_opstools_version: "{{ stackhpc_pulp_repo_centos_stream_9_opstools_version }}"

0 commit comments

Comments
 (0)