File tree Expand file tree Collapse file tree 17 files changed +86
-17
lines changed
inventory/group_vars/overcloud Expand file tree Collapse file tree 17 files changed +86
-17
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ if [ ! -z ${KAYOBE_ENVIRONMENT:+x} ]; then
24
24
# SMSLab is currently running with 1G switches. This causes tests using volumes and images to fail if
25
25
# the concurrency is set too high.
26
26
export TEMPEST_CONCURRENCY=1
27
+ export KAYOBE_AUTOMATION_TEMPEST_SKIPLIST=" ci-multinode-platform.2022.11"
27
28
# Uncomment this to perform a full tempest test
28
29
# export KAYOBE_AUTOMATION_TEMPEST_LOADLIST=tempest-full
29
30
# export KAYOBE_AUTOMATION_TEMPEST_SKIPLIST=ci-multinode-tempest-full
Original file line number Diff line number Diff line change
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"
Original file line number Diff line number Diff line change
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"
1
3
tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_subnet_details.*: "Cirros image doesn't have '/var/run/udhcpc.eth0.pid"
Original file line number Diff line number Diff line change 10
10
state : present
11
11
when : ansible_facts.distribution == 'Ubuntu'
12
12
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
+
13
24
- include_role :
14
25
name : ansible-lockdown.rhel9_cis
15
26
when : ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '9'
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ collections:
9
9
- name : stackhpc.pulp
10
10
version : 0.5.5
11
11
- name : stackhpc.hashicorp
12
- version : 2.4 .0
12
+ version : 2.5 .0
13
13
- name : stackhpc.kayobe_workflows
14
14
version : 1.0.3
15
15
roles :
Original file line number Diff line number Diff line change 5
5
hosts : overcloud:infra-vms:seed:seed-hypervisor
6
6
vars :
7
7
ansible_python_interpreter : /usr/bin/python3
8
+ reboot_timeout_s : " {{ 20 * 60 }}"
8
9
tasks :
9
10
- name : Assert that hosts are running Ubuntu Focal
10
11
assert :
37
38
38
39
- name : Reboot to apply updates
39
40
reboot :
40
- reboot_timeout : 1200
41
+ reboot_timeout : " {{ reboot_timeout_s }} "
41
42
connect_timeout : 600
42
43
become : true
43
44
when : file_status.stat.exists
81
82
hosts : overcloud:infra-vms:seed:seed-hypervisor
82
83
vars :
83
84
ansible_python_interpreter : /usr/bin/python3
85
+ reboot_timeout_s : " {{ 20 * 60 }}"
84
86
tasks :
85
87
- name : Ensure Jammy repo definitions do not exist in sources.list
86
88
blockinfile :
87
89
path : /etc/apt/sources.list
88
90
state : absent
89
91
become : true
90
92
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
+
91
100
- name : Reboot and wait
92
101
reboot :
93
- reboot_timeout : 1200
102
+ reboot_timeout : " {{ reboot_timeout_s }} "
94
103
connect_timeout : 600
95
104
become : true
96
105
Original file line number Diff line number Diff line change @@ -52,25 +52,29 @@ stackhpc_apt_repositories:
52
52
suites : " {{ ansible_facts.distribution_release }} {{ ansible_facts.distribution_release }}-updates {{ ansible_facts.distribution_release }}-backports"
53
53
components : main restricted universe multiverse
54
54
architecture : amd64
55
+ required : true
55
56
- url : " {{ stackhpc_repo_ubuntu_jammy_security_url }}"
56
57
suites : " {{ ansible_facts.distribution_release }}-security"
57
58
components : main restricted universe multiverse
58
59
architecture : amd64
60
+ required : true
59
61
- url : " {{ stackhpc_repo_ubuntu_jammy_cve_2024_6387_url }}"
60
62
suites : " pulp"
61
63
components : upload
62
64
architecture : amd64
63
65
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 }}"
66
69
components : stable
67
70
signed_by : docker.asc
68
71
architecture : amd64
72
+ required : true
69
73
70
74
# Do not replace apt configuration for non-overcloud hosts. This can result in
71
75
# errors if apt reconfiguration is performed before local repository mirrors
72
76
# 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 [] }}"
74
78
75
79
# Whether to disable repositories in /etc/apt/sources.list. This may be used
76
80
# when replacing the distribution repositories via apt_repositories.
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ stackhpc_repo_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_version
32
32
stackhpc_repo_ubuntu_jammy_security_version : " {{ stackhpc_pulp_repo_ubuntu_jammy_security_version }}"
33
33
stackhpc_repo_ubuntu_jammy_cve_2024_6387_version : " "
34
34
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 }}"
36
36
stackhpc_repo_centos_stream_9_nfv_openvswitch_version : " {{ stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version }}"
37
37
stackhpc_repo_centos_stream_9_openstack_zed_version : " {{ stackhpc_pulp_repo_centos_stream_9_openstack_zed_version }}"
38
38
stackhpc_repo_centos_stream_9_opstools_version : " {{ stackhpc_pulp_repo_centos_stream_9_opstools_version }}"
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ stackhpc_repo_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_version
52
52
stackhpc_repo_ubuntu_jammy_security_version : " {{ stackhpc_pulp_repo_ubuntu_jammy_security_version }}"
53
53
stackhpc_repo_ubuntu_jammy_cve_2024_6387_version : " "
54
54
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 }}"
56
56
stackhpc_repo_centos_stream_9_nfv_openvswitch_version : " {{ stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version }}"
57
57
stackhpc_repo_centos_stream_9_openstack_zed_version : " {{ stackhpc_pulp_repo_centos_stream_9_openstack_zed_version }}"
58
58
stackhpc_repo_centos_stream_9_opstools_version : " {{ stackhpc_pulp_repo_centos_stream_9_opstools_version }}"
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ stackhpc_repo_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_version
29
29
stackhpc_repo_ubuntu_jammy_security_version : " {{ stackhpc_pulp_repo_ubuntu_jammy_security_version }}"
30
30
stackhpc_repo_ubuntu_jammy_cve_2024_6387_version : " "
31
31
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 }}"
33
33
stackhpc_repo_centos_stream_9_nfv_openvswitch_version : " {{ stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version }}"
34
34
stackhpc_repo_centos_stream_9_openstack_zed_version : " {{ stackhpc_pulp_repo_centos_stream_9_openstack_zed_version }}"
35
35
stackhpc_repo_centos_stream_9_opstools_version : " {{ stackhpc_pulp_repo_centos_stream_9_opstools_version }}"
Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ rhel9cis_max_log_file_size: 1024
49
49
# `rhel9cis_bootloader_password_hash`
50
50
rhel9cis_set_boot_pass: false
51
51
52
+ # NOTICE: rule disabled otherwise rule will prevent access to accounts
53
+ # as it will expire passwords older than one year.
54
+ rhel9cis_rule_5_6_1_1: false
55
+
52
56
##############################################################################
53
57
# Ubuntu Jammy CIS Hardening Configuration
54
58
@@ -133,4 +137,17 @@ ubtu22cis_max_log_file_size: 1024
133
137
# ubtu22cis_bootloader_password_hash
134
138
ubtu22cis_rule_1_4_1: false
135
139
ubtu22cis_rule_1_4_3: false
140
+
141
+ # Disable: Ensure minimum days between password changes is configured
142
+ ubtu22cis_rule_5_5_1_1: false
143
+
144
+ # Disable: Ensure password expiration is 365 days or less
145
+ ubtu22cis_rule_5_5_1_2: false
146
+
147
+ # Disable: Ensure inactive password lock is 30 days or less
148
+ ubtu22cis_rule_5_5_1_4: false
149
+
150
+ # Disable: Ensure all users last password change date is in the past
151
+ ubtu22cis_rule_5_5_1_5: false
152
+
136
153
##############################################################################
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version: 20230929T005202
5
5
stackhpc_pulp_repo_centos_stream_9_openstack_zed_version : 20230919T015626
6
6
stackhpc_pulp_repo_centos_stream_9_opstools_version : 20230615T071742
7
7
stackhpc_pulp_repo_centos_stream_9_storage_ceph_quincy_version : 20230712T025152
8
- stackhpc_pulp_repo_docker_ce_ubuntu_version : 20231020T014922
8
+ stackhpc_pulp_repo_docker_ce_ubuntu_jammy_version : 20240122T172142
9
9
stackhpc_pulp_repo_elrepo_9_version : 20230907T075311
10
10
stackhpc_pulp_repo_epel_9_version : 20231020T014922
11
11
stackhpc_pulp_repo_grafana_version : 20231020T014922
Original file line number Diff line number Diff line change @@ -114,10 +114,10 @@ stackhpc_pulp_deb_repos:
114
114
required : " {{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
115
115
116
116
# Third-party repositories
117
- - name : " Docker CE for Ubuntu"
118
- url : " {{ stackhpc_release_pulp_content_url }}/docker-ce/ubuntu/{{ stackhpc_pulp_repo_docker_ce_ubuntu_version }}"
119
- distribution_name : " docker-ce-for-ubuntu-"
120
- base_path : " docker-ce/ubuntu/"
117
+ - name : " Docker CE for Ubuntu Jammy "
118
+ url : " {{ stackhpc_release_pulp_content_url }}/docker-ce/ubuntu-jammy /{{ stackhpc_pulp_repo_docker_ce_ubuntu_jammy_version }}"
119
+ distribution_name : " docker-ce-for-ubuntu-jammy- "
120
+ base_path : " docker-ce/ubuntu-jammy /"
121
121
distributions : " jammy"
122
122
components : " stable"
123
123
required : " {{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ stackhpc_repo_ubuntu_jammy_cve_2024_6387_version: "{{ stackhpc_repo_distribution
45
45
stackhpc_repo_ubuntu_cloud_archive_url : " {{ stackhpc_repo_mirror_url }}/pulp/content/ubuntu-cloud-archive/{{ stackhpc_repo_ubuntu_cloud_archive_version }}"
46
46
stackhpc_repo_ubuntu_cloud_archive_version : " {{ stackhpc_repo_distribution }}"
47
47
48
- # Docker CE for Ubuntu
49
- stackhpc_repo_docker_ce_ubuntu_url : " {{ stackhpc_repo_mirror_url }}/pulp/content/docker-ce/ubuntu/{{ stackhpc_repo_docker_ce_ubuntu_version }}"
50
- stackhpc_repo_docker_ce_ubuntu_version : " {{ stackhpc_repo_distribution }}"
48
+ # Docker CE for Ubuntu Jammy
49
+ stackhpc_repo_docker_ce_ubuntu_jammy_url : " {{ stackhpc_repo_mirror_url }}/pulp/content/docker-ce/ubuntu-jammy /{{ stackhpc_repo_docker_ce_ubuntu_jammy_version }}"
50
+ stackhpc_repo_docker_ce_ubuntu_jammy_version : " {{ stackhpc_repo_distribution }}"
51
51
52
52
# ##############################################################################
53
53
# RPMs
Original file line number Diff line number Diff line change
1
+ ---
2
+ critical :
3
+ - |
4
+ Disables password expiration and inactivity policies. This caused the kayobe
5
+ and kolla service accounts to be locked out of the system. You should re-apply
6
+ the CIS benchmark hardening playbook as soon as possible to avoid being locked
7
+ out of your system.
Original file line number Diff line number Diff line change
1
+ ---
2
+ features :
3
+ - |
4
+ The Docker CE package for Ubuntu has been bumped from ``5:24.0.6-1`` to
5
+ ``5:25.0.0-1`` This is a side effect of separating out the repos for Docker
6
+ CE for Ubuntu Jammy/Focal.
7
+ fixes :
8
+ - |
9
+ Separated out repos for Docker CE for Ubuntu Jammy/Focal. This fixes a Pulp
10
+ sync issue where two "identical" repository versions existed with different
11
+ checksums.
Original file line number Diff line number Diff line change
1
+ ---
2
+ fixes :
3
+ - |
4
+ Updates the ``stackhpc.hashicorp`` Ansible collection to 2.5.0. This brings
5
+ in an idempotency fix for generating certificates.
You can’t perform that action at this time.
0 commit comments