Operations grimoire/Salt: Difference between revisions

From Nasqueron Agora
(Created page with "Salt is used for deployment. Configuration can be found in the rOPS repository. == Keys == === Master === <pre> master.pem: 43:e5:55:1a:52:85:59:43:f5:05:e6:56:94:73:a6:ba:8...")
 
(Troubleshoot)
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
=== Master ===
=== Master ===
<pre>
<pre>
master.pem:  43:e5:55:1a:52:85:59:43:f5:05:e6:56:94:73:a6:ba:85:13:e3:32:33:7e:68:b4:ef:a9:e0:99:9e:d7:1f:06
master.pub:  da:70:12:f8:a5:c9:55:f3:b2:d2:1f:84:16:df:32:09:7d:a1:60:3a:b4:4c:2d:34:64:b3:f6:72:3b:c2:e1:4f
master.pub:  da:70:12:f8:a5:c9:55:f3:b2:d2:1f:84:16:df:32:09:7d:a1:60:3a:b4:4c:2d:34:64:b3:f6:72:3b:c2:e1:4f
</pre>
</pre>
This fingerprint should be used by minions in the `master_finger` value in configuration file.
== Troubleshoot ==
=== Request timeout ===
;Symptoms on master
:The minion doesn't reply with job result
;Symptoms on minion
:When running through <code>salt-call</code>, output shows <code>SaltReqTimeoutError, retrying. (1/7)</code>.
;Possible cause and solutions
:The master key has expired on the minion: remove it on the minion with <code>rm /etc/salt/pki/minion/minion_master.pub</code>. If you can repro faithfully a scenario with this issue, add more details at https://github.com/saltstack/salt/issues/46923

Revision as of 16:38, 10 November 2018

Salt is used for deployment. Configuration can be found in the rOPS repository.

Keys

Master

master.pub:  da:70:12:f8:a5:c9:55:f3:b2:d2:1f:84:16:df:32:09:7d:a1:60:3a:b4:4c:2d:34:64:b3:f6:72:3b:c2:e1:4f

This fingerprint should be used by minions in the `master_finger` value in configuration file.

Troubleshoot

Request timeout

Symptoms on master
The minion doesn't reply with job result
Symptoms on minion
When running through salt-call, output shows SaltReqTimeoutError, retrying. (1/7).
Possible cause and solutions
The master key has expired on the minion: remove it on the minion with rm /etc/salt/pki/minion/minion_master.pub. If you can repro faithfully a scenario with this issue, add more details at https://github.com/saltstack/salt/issues/46923