From c0cf61dbbe62b9f0d9ba6edc8498a19566ea9aac Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Tue, 24 Sep 2024 12:17:00 +0200 Subject: [PATCH 1/4] Remove duplicate description of filename key Change-Id: Id597daad620d90d30187fa74f9d21d220cafacd5 (cherry picked from commit 3a7bff6ea1ccf40dd4a72e58f9ebe91224998896) --- etc/kayobe/apt.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/etc/kayobe/apt.yml b/etc/kayobe/apt.yml index e4bb5b179..4f6fe4892 100644 --- a/etc/kayobe/apt.yml +++ b/etc/kayobe/apt.yml @@ -50,8 +50,6 @@ # * machine: 'machine' entry in the auth file # * login: 'login' entry in the auth file # * password: 'password' entry in the auth file -# * filename: Name of a file in which to store the auth configuration. The -# extension should be '.conf'. # * filename: Name of a file in /etc/apt/auth.conf.d in which to store # the auth configuration. The extension should be ``.conf``. # Default is an empty list. From 27845067f5867e29e222c39318f6f802c2aff305 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Thu, 10 Oct 2024 22:39:42 +0200 Subject: [PATCH 2/4] Bump stackhpc.linux to v1.3.0 Release 1.3.0 of stackhpc.linux fixes configuration of kernel parameters for IOMMU when the GRUB_CMDLINE_LINUX_DEFAULT variable is absent from /etc/default/grub. Include a release note about a notable change in the sriov role. [1] https://github.com/stackhpc/ansible-collection-linux/releases/tag/v1.3.0 Change-Id: I43295cd21fc4947fa877aa242070e3c132532fab Closes-Bug: #2083874 (cherry picked from commit 4ed20774468395ed400caa9ed1126950197a079b) --- .../bump-stackhpc-linux-1.3.0-892bc5ae7574508b.yaml | 9 +++++++++ ...sing-grub-cmdline-linux-default-f4079def0b1357e7.yaml | 6 ++++++ requirements.yml | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/bump-stackhpc-linux-1.3.0-892bc5ae7574508b.yaml create mode 100644 releasenotes/notes/handle-missing-grub-cmdline-linux-default-f4079def0b1357e7.yaml diff --git a/releasenotes/notes/bump-stackhpc-linux-1.3.0-892bc5ae7574508b.yaml b/releasenotes/notes/bump-stackhpc-linux-1.3.0-892bc5ae7574508b.yaml new file mode 100644 index 000000000..6b33b14cb --- /dev/null +++ b/releasenotes/notes/bump-stackhpc-linux-1.3.0-892bc5ae7574508b.yaml @@ -0,0 +1,9 @@ +--- +upgrade: + - | + Bumps the ``stackhpc.linux`` collection to 1.3.0. Note this version `uses + systemd to activate virtual functions + `__. This + change is restricted to the ``stackhpc.linux.sriov`` role, which is not + used by Kayobe. If a custom playbook uses this role, you can retain + existing behaviour by setting ``sriov_numvfs_driver`` to ``udev``. diff --git a/releasenotes/notes/handle-missing-grub-cmdline-linux-default-f4079def0b1357e7.yaml b/releasenotes/notes/handle-missing-grub-cmdline-linux-default-f4079def0b1357e7.yaml new file mode 100644 index 000000000..bc7afc093 --- /dev/null +++ b/releasenotes/notes/handle-missing-grub-cmdline-linux-default-f4079def0b1357e7.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes generation of kernel parameters when the GRUB_CMDLINE_LINUX_DEFAULT + variable is absent from ``/etc/default/grub``. + `LP#2083874 `__. diff --git a/requirements.yml b/requirements.yml index 99b1a551f..0ffdad894 100644 --- a/requirements.yml +++ b/requirements.yml @@ -8,7 +8,7 @@ collections: - name: openstack.cloud version: '<3' - name: stackhpc.linux - version: 1.2.3 + version: 1.3.0 - name: stackhpc.network version: 1.0.0 - name: stackhpc.openstack From b3c03627c8ebc1bc0c8e8af833141a6e5e1eabb0 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Thu, 10 Oct 2024 16:50:13 +0200 Subject: [PATCH 3/4] Bump stackhpc.openstack collection to 0.2.2 This fixes IPA and host disk image build failures when Git was not installed on the build host. Change-Id: I057aefc45d1a8efe133fec9921e5c84cad556429 Closes-Bug: #2058922 (cherry picked from commit 74b9a13595b113dfe05045c4018b67d3316126f3) --- releasenotes/notes/bug-2058922-c16426f013ddf3ca.yaml | 5 +++++ requirements.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/bug-2058922-c16426f013ddf3ca.yaml diff --git a/releasenotes/notes/bug-2058922-c16426f013ddf3ca.yaml b/releasenotes/notes/bug-2058922-c16426f013ddf3ca.yaml new file mode 100644 index 000000000..1122890b5 --- /dev/null +++ b/releasenotes/notes/bug-2058922-c16426f013ddf3ca.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes IPA and host image build failures when Git was not installed on the + build host. `LP#2058922 `__ diff --git a/requirements.yml b/requirements.yml index 99b1a551f..aaecb28d0 100644 --- a/requirements.yml +++ b/requirements.yml @@ -12,7 +12,7 @@ collections: - name: stackhpc.network version: 1.0.0 - name: stackhpc.openstack - version: 0.2.1 + version: 0.2.2 roles: - src: ahuffman.resolv From bd47742c22742875fd86305804431537d4224501 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Wed, 2 Oct 2024 12:11:28 +0200 Subject: [PATCH 4/4] Fix group and mode of /var/log/journal This updates the group and mode set on the /var/log/journal directory to match default ownership and permissions used by systemd-journald. Closes-Bug: #2083494 Change-Id: I15323b95199b9ef19504c7408dd89720f9ba9c32 (cherry picked from commit 5ed077cba4d1c5f627c3d5a2d803105ef2416240) --- ansible/logging.yml | 4 ++-- .../fix-var-log-journal-group-mode-3e7c4c822d050c8f.yaml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/fix-var-log-journal-group-mode-3e7c4c822d050c8f.yaml diff --git a/ansible/logging.yml b/ansible/logging.yml index 326fe66d8..801ee3a72 100644 --- a/ansible/logging.yml +++ b/ansible/logging.yml @@ -18,8 +18,8 @@ file: path: /var/log/journal owner: "root" - group: "root" - mode: 0755 + group: "systemd-journal" + mode: 02755 state: directory notify: Flush journal to disk when: journald_storage == "persistent" diff --git a/releasenotes/notes/fix-var-log-journal-group-mode-3e7c4c822d050c8f.yaml b/releasenotes/notes/fix-var-log-journal-group-mode-3e7c4c822d050c8f.yaml new file mode 100644 index 000000000..1c9e1d444 --- /dev/null +++ b/releasenotes/notes/fix-var-log-journal-group-mode-3e7c4c822d050c8f.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Updates the group and mode set on the ``/var/log/journal`` directory to + match default ownership and permissions used by ``systemd-journald``. + `LP#2083494 `__