Skip to content

WIP e2e tests for forced detachment#3072

Open
dtantsur wants to merge 4 commits intometal3-io:mainfrom
dtantsur:force-detachment-e2e
Open

WIP e2e tests for forced detachment#3072
dtantsur wants to merge 4 commits intometal3-io:mainfrom
dtantsur:force-detachment-e2e

Conversation

@dtantsur
Copy link
Copy Markdown
Member

Follow-up to #2955

@metal3-io-bot metal3-io-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 12, 2026
@metal3-io-bot
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 honza 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

@metal3-io-bot metal3-io-bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Mar 12, 2026
@metal3-io-bot metal3-io-bot added the needs-rebase Indicates that a PR cannot be merged because it has merge conflicts with HEAD. label Apr 17, 2026
CrystalChun and others added 4 commits April 21, 2026 16:03
Adds Force as DetachedAnnotationArgument to API.
Detach in all states if force is set to true by aborting the currently
running process.

Co-Authored-By: Dmitry Tantsur <dtantsur@protonmail.com>
Signed-off-by: CrystalChun <cchun@redhat.com>
Signed-off-by: Dmitry Tantsur <dtantsur@protonmail.com>
The deletion logic does not need to be aware of which states are valid
for detachment. If the operationalStatus is detached, the host can be
deleted immediately.

Signed-off-by: Dmitry Tantsur <dtantsur@protonmail.com>
Signed-off-by: Dmitry Tantsur <dtantsur@protonmail.com>
Exercise forced detachment followed by deletion, new enrollment and
finished provisioning.

Signed-off-by: Dmitry Tantsur <dtantsur@protonmail.com>
@dtantsur dtantsur force-pushed the force-detachment-e2e branch from 13bb2e2 to aaac6ac Compare April 21, 2026 14:25
@metal3-io-bot metal3-io-bot removed the needs-rebase Indicates that a PR cannot be merged because it has merge conflicts with HEAD. label Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants