Hi Les,
no, there is not any reason, I only followed the advises that people told me in this group.
Current from cm-server (master) I run
salt 'zipcap-dev' test.ping
and I don't get any output result
>Normally the minion generates its own key and sends to the master, so
>the fact that you have a key to accept shows that the contact is
>working. And once you accept it, test.ping (etc.) should work.
So, if I remove in cm-server
/etc/salt/pki/minion/minion.pem
/etc/salt/pki/minion/minion.pub
-Then I restart minion service in zipcap-dev, that should re-generate minion.pem and minion.pub in cm-sever?
-In what folder into cm-server (master), zipcap-dev (minion) generates its onw keys?
-Before to create and accept the key in master using
salt-key --gen-keys=zipcap-dev
I have to get the minion keys into master, right?
root@cm-server:/etc/salt/pki/minion# sudo salt-call state.highstate -l debug
[INFO ] Loaded configuration file: /etc/salt/minion
[DEBUG ] loading grain in ['/var/cache/salt/minion/extmods/grains', '/usr/lib/pymodules/python2.7/salt/grains']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
Minion failed to authenticate with the master, has the minion key been accepted?
do you know why is loading /etc/salt/pki/minion/minion.pem from cm-server?
is it correct that salt master try to load minion key from that path?