Skip to content

Commit

Permalink
salt: Increase timeout for Reconfigure salt-minion
Browse files Browse the repository at this point in the history
In `deploy_node` orchestrate during `Reconfigure salt-minion` salt state
we may upgrade, downgrade salt-minion package and restart salt-minion
service so salt-minion may miss some of the salt-master job query,
increase timeout so that minion have time to upgrade, downgrade and
restart if needed

Fixes: #2524
  • Loading branch information
TeddyAndrieux committed May 6, 2020
1 parent 52b73d2 commit 282e0d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions salt/metalk8s/orchestrate/deploy_node.sls
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ Reconfigure salt-minion:
- saltenv: metalk8s-{{ version }}
- sls:
- metalk8s.salt.minion.configured
# NOTE: This state may upgrade/downgrade salt-minion package and also
# restart salt-minion service, so it may take time to answer salt-master
# job query, so increase timeout for this specific state
- timeout: 200
- require:
- salt: Set grains
- salt: Refresh the mine
Expand Down

0 comments on commit 282e0d9

Please sign in to comment.