1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-18 16:36:41 +00:00

Added retry for snapshot and s3 upload, verify etcd running on host (#2952)

Added retry for snapshot and s3 upload, verify etcd running on host

Added option to quiet noisy container logs
This commit is contained in:
Jake Hyde
2022-06-23 18:30:58 -04:00
committed by GitHub
parent 51a850a1d0
commit 8aa6283dcd
8 changed files with 135 additions and 58 deletions

View File

@@ -131,7 +131,7 @@ func SaveBackupBundleOnHost(ctx context.Context, host *hosts.Host, alpineSystemI
if err := docker.DoRunContainer(ctx, host.DClient, imageCfg, hostCfg, BundleCertContainer, host.Address, "certificates", prsMap); err != nil {
return err
}
status, err := docker.WaitForContainer(ctx, host.DClient, host.Address, BundleCertContainer)
status, err := docker.WaitForContainer(ctx, host.DClient, host.Address, BundleCertContainer, true)
if err != nil {
return err
}