commit | 568d04ef46e75fda692c5eba9ac079366bdb50f1 | [log] [tgz] |
---|---|---|
author | Denis V. Meltsaykin <dmeltsaykin@mirantis.com> | Wed Jun 03 21:58:32 2020 +0200 |
committer | Denis Meltsaykin <dmeltsaykin@mirantis.com> | Thu Jun 04 09:27:49 2020 +0000 |
tree | 10ac3dbaa53ef598ddf5f9af689c16fd1ebe6010 | |
parent | 4badf83f9faecf97d29c5e52df92a4bca008b5ee [diff] |
Retry dist-upgrades If the 'apt-get dist-upgrade' operations running long on the minions in batch salt master may return an empty string for some minions. The pipelines do not expectd this and threat it as an error. This patch adds a retry which one one hand will succeed on the second run since the operation will be much shorter, on the other hand it will not hide the real issue if it happens. Closes-Bug: PROD-35355 Change-Id: I95d4c33bf7e28b369f5dc3f468944be15a5d5d6a