Files
Mohammed Naser 28a442e06f fix(nova,manila): derive SSH public key with a filter (#4485)
The Nova and Manila roles wrote the SSH private key to a temporary file
and ran community.crypto.openssh_keypair on it to get the public key.
That module copies the .pub file with preserved_copy(), which also
copies file attributes and fails with "Operation not supported" when
/tmp is a tmpfs (the default on Ubuntu 26.04).

Add a small ssh_public_key filter that derives the OpenSSH public key
from the private key in memory, and use it in both roles. This removes
the duplicated temporary file tasks and stops leaving a stray .pub file
behind in /tmp.

Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
2026-10-29 14:38:21 +00:00
..