Skip to content

OCPBUGS-90534: openstack: Increate bootstrap timeout#10638

Open
stephenfin wants to merge 2 commits into
openshift:mainfrom
shiftstack:increase-bootstrap-timeout
Open

OCPBUGS-90534: openstack: Increate bootstrap timeout#10638
stephenfin wants to merge 2 commits into
openshift:mainfrom
shiftstack:increase-bootstrap-timeout

Conversation

@stephenfin

@stephenfin stephenfin commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

We frequently see build timeouts in CI. Many of these issues are due to slow infra, but if we are seeing these issues then it is likely customers see the same issues. Increase the timeout for OpenStack like we have already done for VMWare and baremetal.

Summary by CodeRabbit

  • Bug Fixes
    • Fixed bootstrap timeout handling for OpenStack platform installations. OpenStack deployments now receive extended wait durations during bootstrap, consistent with baremetal and vSphere platforms, improving installation reliability.

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Jun 19, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@stephenfin: This pull request references Jira Issue OCPBUGS-90534, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (5.0.0) matches configured target version for branch (5.0.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

We frequently see build timeouts in CI. Many of these issues are due to slow infra, but if we are seeing these issues then it is likely customers see the same issues. Increase the timeout for OpenStack like we have already done for VMWare and baremetal.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 5babfe7a-6aec-4811-84f2-30c4fe7551be

📥 Commits

Reviewing files that changed from the base of the PR and between 7243b77 and ddf83ac.

📒 Files selected for processing (1)
  • cmd/openshift-install/waitfor.go
🚧 Files skipped from review as they are similar to previous changes (1)
  • cmd/openshift-install/waitfor.go

📝 Walkthrough

Walkthrough

Two files extend the bootstrap waiting logic to include the OpenStack platform. waitfor.go updates the wait options configuration to enable extended timeout for openstack, and create.go extends the bootstrap completion timeout condition to include openstack alongside baremetal and vSphere. The openstack package is imported in both files accordingly.

Changes

OpenStack Bootstrap Timeout Extension

Layer / File(s) Summary
Wait options configuration for OpenStack
cmd/openshift-install/waitfor.go
openstack package is imported and the platform switch in getWaitOptionsFromInstallConfig is updated to set ExtendTimeoutForBaremetal = true for baremetal, openstack, and vsphere.
Bootstrap timeout condition for OpenStack
cmd/openshift-install/create.go
openstack package is imported and the timeout condition in waitForBootstrapComplete is extended to include openstack.Name alongside baremetal and vSphere checks.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 11

❌ Failed checks (1 warning, 10 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Stable And Deterministic Test Names ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
Test Structure And Quality ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
Microshift Test Compatibility ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
Single Node Openshift (Sno) Test Compatibility ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
Topology-Aware Scheduling Compatibility ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
Ote Binary Stdout Contract ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
Ipv6 And Disconnected Network Test Compatibility ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
No-Weak-Crypto ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
Container-Privileges ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
No-Sensitive-Data-In-Logs ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: increasing bootstrap timeout for OpenStack platform in the OpenShift installer.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 golangci-lint (2.12.2)

Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions
The command is terminated due to an error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions


Comment @coderabbitai help to get the list of available commands and usage tips.

We frequently see build timeouts in CI. Many of these issues are due to
slow infra, but if we are seeing these issues then it is likely
customers see the same issues. Increase the timeout for OpenStack like
we have already done for VMWare and baremetal.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-ci

openshift-ci Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign bfournie for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@stephenfin stephenfin force-pushed the increase-bootstrap-timeout branch from 7dd6fd4 to 7243b77 Compare June 19, 2026 15:40
@openshift-ci openshift-ci Bot requested review from rwsu and sadasu June 19, 2026 15:40
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@stephenfin: This pull request references Jira Issue OCPBUGS-90534, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (5.0.0) matches configured target version for branch (5.0.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)
Details

In response to this:

We frequently see build timeouts in CI. Many of these issues are due to slow infra, but if we are seeing these issues then it is likely customers see the same issues. Increase the timeout for OpenStack like we have already done for VMWare and baremetal.

Summary by CodeRabbit

  • Bug Fixes
  • Fixed bootstrap timeout handling for OpenStack platform installations. OpenStack deployments now receive extended wait durations during bootstrap, consistent with baremetal and vSphere platforms, improving installation reliability.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

While working on extending the OpenStack timeout, it was noted the
bootstrap timeout in create.go was extended to 60 minutes for vSphere
(alongside baremetal) but the cluster initialization timeout in
waitfor.go was not updated to match. This meant vSphere got 60 minutes
for bootstrap but only the default 40 minutes for cluster
initialization, which is inconsistent. Fix it.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Assisted-By: Claude Opus 4.6 <noreply@anthropic.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@cmd/openshift-install/waitfor.go`:
- Around line 30-31: The field `ExtendTimeoutForBaremetal` is set to true for
multiple platforms (baremetal, openstack, and vsphere), not just baremetal,
making its name and documentation inaccurate. Rename the field to a more generic
name that reflects it controls timeout extension for multiple platforms
requiring extended initialization time, and update its documentation comment to
accurately describe its purpose across all platforms that use it. Ensure all
references to the field are updated, including in the
`waitForInitializedCluster()` function where it is consumed.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 47cd89ac-e574-496d-a817-cf63484af1c4

📥 Commits

Reviewing files that changed from the base of the PR and between 8014c32 and 7243b77.

📒 Files selected for processing (2)
  • cmd/openshift-install/create.go
  • cmd/openshift-install/waitfor.go

Comment thread cmd/openshift-install/waitfor.go Outdated
Comment on lines 30 to 31
case baremetal.Name, openstack.Name:
options.ExtendTimeoutForBaremetal = true

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Read-only verification: inspect all uses of ExtendTimeoutForBaremetal.
rg -n -C3 '\bExtendTimeoutForBaremetal\b'

Repository: openshift/installer

Length of output: 2053


Update field name and documentation; timeout-only usage is correct.

The field is correctly used as a generic boolean timeout extension across waitForInitializedCluster() (line 119 in cmd/openshift-install/command/waitfor.go). However, the field name ExtendTimeoutForBaremetal and its documentation comment ("extends the initialization timeout for baremetal platforms") are now inaccurate—the field is set to true for baremetal, openstack, and vsphere (line 31). Rename the field and update its documentation to reflect that it controls timeout extension for multiple platforms that require extended initialization time.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@cmd/openshift-install/waitfor.go` around lines 30 - 31, The field
`ExtendTimeoutForBaremetal` is set to true for multiple platforms (baremetal,
openstack, and vsphere), not just baremetal, making its name and documentation
inaccurate. Rename the field to a more generic name that reflects it controls
timeout extension for multiple platforms requiring extended initialization time,
and update its documentation comment to accurately describe its purpose across
all platforms that use it. Ensure all references to the field are updated,
including in the `waitForInitializedCluster()` function where it is consumed.

@openshift-ci

openshift-ci Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

@stephenfin: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants