From 79eac267deee2142611062acfe51c36014ad2d6c Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Fri, 15 Nov 2024 10:58:08 +0100 Subject: [PATCH] Remove extra 30s sleep when rolling out revisions --- .../library-go/pkg/operator/staticpod/installerpod/cmd.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vendor/github.com/openshift/library-go/pkg/operator/staticpod/installerpod/cmd.go b/vendor/github.com/openshift/library-go/pkg/operator/staticpod/installerpod/cmd.go index 3cd843636..806ea63fb 100644 --- a/vendor/github.com/openshift/library-go/pkg/operator/staticpod/installerpod/cmd.go +++ b/vendor/github.com/openshift/library-go/pkg/operator/staticpod/installerpod/cmd.go @@ -511,12 +511,6 @@ func (o *InstallOptions) waitForOtherInstallerRevisionsToSettle(ctx context.Cont return err } - klog.Infof("Waiting additional period after revisions have settled for node %s", o.NodeName) - // once there are no other running revisions, wait Xs. - // In an extreme case, this can be grace period seconds+1. Trying 30s to start. Etcd has been the worst off since - // it requires 2 out 3 to be functioning. - time.Sleep(30 * time.Second) - klog.Infof("Getting installer pods for node %s", o.NodeName) installerPods, err := o.getInstallerPodsOnThisNode(ctx) if err != nil {