Skip to content

Onboarding: Timeout on active instance eventually#271

Draft
fwiesel wants to merge 1 commit intomainfrom
onboarding-timeout
Draft

Onboarding: Timeout on active instance eventually#271
fwiesel wants to merge 1 commit intomainfrom
onboarding-timeout

Conversation

@fwiesel
Copy link
Contributor

@fwiesel fwiesel commented Mar 17, 2026

The code currently assumes, that an instance would report the expected string eventually, which assumes that the metadata service lookup works.

The active state only reflects that the hypervisor could boot the VM.

As the instance usually boots within seconds,
a five minute timeout seems save enough to
catch this eventuality.

The code currently assumes, that an instance would
report the expected string eventually, which assumes
that the metadata service lookup works.

The active state only reflects that the hypervisor
could boot the VM.

As the instance usually boots within seconds,
a five minute timeout seems save enough to
catch this eventuality.
@coderabbitai
Copy link

coderabbitai bot commented Mar 17, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: df8b6ddf-5053-4d28-a7ce-b03f62de5fd8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch onboarding-timeout
📝 Coding Plan
  • Generate coding plan for human review comments

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

Tip

You can customize the high-level summary generated by CodeRabbit.

Configure the reviews.high_level_summary_instructions setting to provide custom instructions for generating the high-level summary.

@github-actions
Copy link

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/cobaltcore-dev/openstack-hypervisor-operator/internal/controller 63.19% (+0.10%) 👍

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/cobaltcore-dev/openstack-hypervisor-operator/internal/controller/onboarding_controller.go 55.29% (+0.64%) 255 (+8) 141 (+6) 114 (+2) 👍

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/cobaltcore-dev/openstack-hypervisor-operator/internal/controller/onboarding_controller_test.go

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant