[BUG] Latest update causing minions to throw Unable to sign_in to master: Invalid master key
despite master key being correct. Deleting minion_master.pub recreates it identically.
#66219
Labels
Description
Doing the rounds of updates for CentOS 7, Rocky 9.2 and two Archlinux salt-masters has resulted in the first two distros to throw the familiar
The master key has changed
paragraph saying it can be found at/etc/salt/pki/minion/minion_master.pub
. The pubkey in that file is accurate and deleting it before doing another test.ping on any of the minions simply causes it to get recreated.My initial thoughts leave me wondering if there's some crypto library difference or modern policy causing this.
Setup
(Please provide relevant configs and/or SLS files (be sure to remove sensitive info. There is no general set-up of Salt.)
Please be as specific as possible and give set-up details.
The environment is a mix of newer (replacement) and older (to be replaced) servers. We're moving from CentOS 7 (And older) to Rocky 9.2, though even the Rocky hosts are experiencing problems speaking to their master server.
There are two salt masters. One for test/dev and another for prod which reads the prod branch consisting of approved commits of the test/dev salt server's salt root.
The two salt masters run Archlinux and this has been flawless for their 8 or so months of operation.
The current salt-master version is:
3006.5 (Sulfur)
The current salt-minion version for Rocky is:
3007.0 (Chlorine)
(3006.7
also did not work resulting in this upgrade)The current salt-minion version for CentOS is:
3006.7 (Sulfur)
Prior to this months run of updates all was well but now these RedHat-based distros cannot speak to the salt-master despite having and re-generating the same
minion_master.pub
file.Steps to Reproduce the behavior
(Include debug logs if possible and relevant)
salt-call test.ping
on a minion already accepted on the master and known-working after the most recent updatesThe master key has changed
spiel.Expected behavior
A clear and concise description of what you expected to happen.
The module to return
True
.Screenshots
If applicable, add screenshots to help explain your problem.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)PASTE HERE
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: