-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Supported forced reboot of preprovisioning images #1237
Conversation
Skipping CI for Draft Pull Request. |
aa1da0e
to
33e1c36
Compare
33e1c36
to
8d23977
Compare
Most of them were not testing what they are supposed to test. The exposed errors, for example, were due to a misconfigured Validate mock, not because of actual deployment failures. Clean it up.
Hosts can stay in the "available" state for a long time. If the underlying ramdisk image changes, their state may become invalid. This change allows an operator to request a host reboot that will also act in states where the ramdisk is waiting for something.
8d23977
to
d1e306b
Compare
25149aa
to
5e82fad
Compare
/test-centos-e2e-integration-main |
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments inline, but I'm happy with this approach to the problem.
Allows restarting a running inspection on image change. The "force" argument to InspectHardware has been renamed to restartOnFailure to avoid confusion. Change the error handling code to immediately retry aborted inspection.
The only way to do it is to go through cleaning.
5e82fad
to
550497a
Compare
/test-centos-e2e-integration-main |
The word "force" is too generic, the new name reflects better what the flag does: restart the process when it previously failed. Power actions are left intact since "force" has a more subtle dual meaning in PowerOff.
/test-centos-e2e-integration-main |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: honza The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This change adds a new reboot variant:
This reboot mode works in available, provisioning and inspecting states.
Includes: