Skip to content

Commit 2498700

Browse files
authored
Merge branch 'stackhpc/2023.1' into INFRA-629
2 parents 1979659 + d21fbb8 commit 2498700

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

.github/workflows/stackhpc-container-image-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ jobs:
231231
run: mv image-scan-output image-build-logs/image-scan-output
232232

233233
- name: Fail if no images have passed scanning
234-
run: if [ $(wc -l < image-build-logs/image-scan-output/clean-images.txt) -le 0 ]; then exit 1; fi
234+
run: if [ $(wc -l < image-build-logs/image-scan-output/critical-images.txt) -gt 0 ]; then exit 1; fi
235235
if: ${{ !inputs.push-dirty }}
236236

237237
- name: Copy clean images to push-attempt-images list

doc/source/operations/tempest.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Installing Docker on Rocky:
7070
.. code-block:: bash
7171
7272
sudo dnf install -y dnf-utils
73-
sudo dnf-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
73+
sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
7474
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
7575
7676
Ensure Docker is running & enabled:
@@ -101,7 +101,7 @@ Build a Kayobe automation image:
101101
git submodule update
102102
# If running on Ubuntu, the fact cache can confuse Kayobe in the Rocky-based container
103103
mv etc/kayobe/facts{,-old}
104-
sudo DOCKER_BUILDKIT=1 docker build --build-arg BASE_IMAGE=rockylinux:9 --file .automation/docker/kayobe/Dockerfile --tag kayobe:latest .
104+
sudo DOCKER_BUILDKIT=1 docker build --network host --build-arg BASE_IMAGE=rockylinux:9 --file .automation/docker/kayobe/Dockerfile --tag kayobe:latest .
105105
106106
Configuration
107107
=============

etc/kayobe/inventory/group_vars/overcloud/cis

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,10 @@ ubtu22cis_max_log_file_size: 1024
133133
# ubtu22cis_bootloader_password_hash
134134
ubtu22cis_rule_1_4_1: false
135135
ubtu22cis_rule_1_4_3: false
136+
137+
# The way this is disabled currently breaks kolla's IPV6 check, see:
138+
# https://bugs.launchpad.net/kolla-ansible/+bug/2071443
139+
# Also matches RHEL hardening behavior.
140+
ubtu22cis_ipv6_required: true
141+
136142
##############################################################################
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
fixes:
3+
- |
4+
IPV6 is no longer disabled by default in the Ubuntu CIS hardening. If
5+
using the old behaviour you may hit `2071443
6+
<https://bugs.launchpad.net/kolla-ansible/+bug/2071443>`.
7+
upgrade:
8+
- |
9+
To match the new CIS benchmark defaults on Ubuntu, you should remove
10+
the ``ipv6.disable=1`` kernel command line option. If you wish to carry
11+
on with the current settings, change ``ubtu22cis_ipv6_required`` to
12+
``false``.

0 commit comments

Comments
 (0)