From 0496e114fbf644eb168a3ab417619830f4f7a1a8 Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Wed, 22 Apr 2026 17:58:46 +0100 Subject: [PATCH] [stable-only] Fix key collection in luks role The luks role set bad permissions for the for key directory on the control host in versions < 0.4.3[1]. The symptom was that the synchronize module would fail with a permissions error. This issue has already fixed on master when the versions of all roles were bumped[2]. [1] https://github.com/stackhpc/ansible-role-luks/commit/b3d4cfbda3fa3b60defe1c5e0be705bf5a337d2c#diff-cceeaaa1206687d1775b9640dd0a6536f606e79c6305ebccfa1d01917463cb1cL34-L67 [2] https://review.opendev.org/c/openstack/kayobe/+/976059 Change-Id: Id882a49fd9bf30df0afbb31fe1c9ea11ffd57606 Signed-off-by: Will Szumski (cherry picked from commit c9179a6fd2a5ee874b498c90f111512d1cfc351e) --- .../fix-luks-directory-permissions-dcdcf81f7920306d.yaml | 7 +++++++ requirements.yml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/fix-luks-directory-permissions-dcdcf81f7920306d.yaml diff --git a/releasenotes/notes/fix-luks-directory-permissions-dcdcf81f7920306d.yaml b/releasenotes/notes/fix-luks-directory-permissions-dcdcf81f7920306d.yaml new file mode 100644 index 000000000..de29a3ea5 --- /dev/null +++ b/releasenotes/notes/fix-luks-directory-permissions-dcdcf81f7920306d.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + Fixes an issue in the ``stackhpc.luks`` role where the directory on the + control host was created with insufficent permissions causing the Ansible + ``synchronize`` module to fail when copying the keys to the control host. + diff --git a/requirements.yml b/requirements.yml index 611fc0959..fefc710f4 100644 --- a/requirements.yml +++ b/requirements.yml @@ -41,7 +41,7 @@ roles: - src: stackhpc.libvirt-vm version: v1.16.3 - src: stackhpc.luks - version: 0.4.2 + version: 0.4.4 - src: stackhpc.os-ironic-state version: v1.3.1 - src: stackhpc.timezone