Skip to content

Commit 82cc8fe

Browse files
committed
OCPBUGS-34900: Increase timeout for bootstrap complete
241ec4e introduced a new step that causes the `report-progress.sh` script to wait for the cluster to stabilize and have at least 2 API endpoint. On an observed OpenStack cluster, this added 8 minutes to the bootstrap phase, between when `bootkube.service` reported completion and when the `kube-system/bootstrap` config map was created. The wait for bootstrap to complete took 32 min, instead of 24 had it not waited for the cluster to have multiple API endpoints. This commit bumps the timeout inside the `waitForBootstrapComplete()` function from 30 min to 45 min to account for this new step.
1 parent d4aa1ca commit 82cc8fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/openshift-install/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ func waitForBootstrapComplete(ctx context.Context, config *rest.Config) *cluster
451451
}
452452
}
453453

454-
timeout := 30 * time.Minute
454+
timeout := 45 * time.Minute
455455

456456
// Wait longer for baremetal, VSphere due to length of time it takes to boot
457457
if platformName == baremetal.Name || platformName == vsphere.Name {

0 commit comments

Comments
 (0)