feat(nut): include pi5-worker1 in nut_clients; SSH unblocked #20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/nut-include-worker1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The original NUT PR excluded pi5-worker1 from
nut_clientsbased on an inventory note claiming its SSH key auth was broken. Investigation while rolling out NUT to workers 2-5 found the diagnosis was actually wrong — ALL workers were rejecting the current workstation's ed25519 key because their authorized_keys held a stale ssh-rsa key from a prior workstation (kblack0610-cachy, dated Sep 30 2025).PXE kickstart's key seeding only applies to fresh installs; these hosts predated the current key. Fix path:
kubectl debug node/<k8s-name> --profile=sysadmin -- chroot /host sh -c 'echo $KEY >> /home/kblack0610/.ssh/authorized_keys'— no SSH needed because the privileged debug pod has host fs at /host. After that, all 5 workers SSH-reachable from this workstation.This PR:
pi5-worker1tonut_clientslinux_bare_metal(that diagnosis was wrong)The host-access pattern itself is documented in a follow-up doc PR.
Test plan
ansible nut_clients -m ping— all 5 OKok=8, changed=4, failed=0ansible-playbook --tags nut --limit pi5-worker1nut-monitoractive +upsc cyberpower@192.168.1.20returns metrics