The salt master version is 3002.6
The salt minion version is 3002.9
Salt key is getting generated successfully in master. But while running salt state.apply
, I am getting the below error.
[DEBUG ] Trying to connect to: tcp://XX.XX.XX.XX:4506
[DEBUG ] salt.crypt.get_rsa_pub_key: Loading public key
[ERROR ] Sign-in attempt failed: {'enc': 'pub', 'pub_key': '-----BEGIN PUBLIC KEY-----\n<public key>\n-----END PUBLIC KEY-----\n', 'publish_port': 4505, 'aes':[DEBUG ] Closing AsyncZeroMQReqChannel instance
I checked the network as well as firewall. I checked as per the link below.
Troubleshooting the Salt Minion (saltproject.io) Everything is fine from servers' end. Direct ssh between the salt and the master is also working.
The salt master is running in RHEL7 whereas salt minion is running in RHEL8.