Hey,
I need some help with this. Since salt 2014.1 my vagrant network setup with pre-seeded keys fails with
"""
Minion failed to authenticate with the master, has the minion key been accepted?
[WARNING ] SaltReqTimeoutError: Waited 3 seconds
"""
In this case already the master box can't authenticate against itself. I'm running this on Debian wheezy with the salt distribution from
http://debian.saltstack.com/debian. The interesting part is that the key has actually been accepted. I.e:
"""
root@saltmaster:/etc/salt# salt-key
Accepted Keys:
saltmaster.test
Unaccepted Keys:
Rejected Keys:
"""
and
"""
root@saltmaster:/etc/salt# openssl rsa -pubin -noout -modulus -in /etc/salt/pki/master/minions/saltmaster.test | openssl md5
(stdin)= 5a59e647d449606efebc235f498ddaa8
root@saltmaster:/etc/salt# openssl rsa -noout -modulus -in /etc/salt/pki/minion/minion.pem | openssl md5
(stdin)= 5a59e647d449606efebc235f498ddaa8
"""
when I run salt-call manually, I get:
"""
[DEBUG ] Reading configuration from /etc/salt/minion
[INFO ] Using cached minion ID from /etc/salt/minion_id: saltmaster.test
[DEBUG ] Configuration file path: /etc/salt/minion
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[WARNING ] SaltReqTimeoutError: Waited 3 seconds
Minion failed to authenticate with the master, has the minion key been accepted?
"""
The /etc/hosts on this box contains:
"""
192.168.56.88 saltmaster.test
"""
and the interface is up and pingable:
"""
root@saltmaster:/etc/salt# ping saltmaster.test
PING saltmaster.test (127.0.1.1) 56(84) bytes of data.
64 bytes from saltmaster.test (127.0.1.1): icmp_req=1 ttl=64 time=0.022 ms
"""
Does anyone have an idea what can be wrong with this setup? or what I can check next?
Best regards,
jdelic