Skip to content

feat(lite) : add action force reboot on host - #10311

Open
Elise-FZI wants to merge 6 commits into
masterfrom
lite/action-force-reboot-host
Open

feat(lite) : add action force reboot on host#10311
Elise-FZI wants to merge 6 commits into
masterfrom
lite/action-force-reboot-host

Conversation

@Elise-FZI

@Elise-FZI Elise-FZI commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Description

🔗 XO-2697

⚠️ WARNING ⚠️
!! Do not run tests on the classic test environment !!

  • Add the possibility to force reboot Host
  • A force reboot migrates Vms running on the host, unlike in traditional reboots, if for one reason or another VMs cannot migrate; they are forced to shutdown, which can lead to data loss.
  • Migrated VMs do not return to the initial host after reboot.

Screenshots

Light Dark
Host/Force reboot image image

Checklist

  • Commit
    • Title follows commit conventions
    • Reference the relevant issue (Fixes #007, See xoa-support#42, See https://...)
    • If bug fix, add Introduced by
  • Changelog
    • If visible by XOA users, add changelog entry
    • Update "Packages to release" in CHANGELOG.unreleased.md
  • PR
    • If UI changes, add screenshots
    • If not finished or not tested, open as Draft

Review process

If you are an external contributor, you can skip this part. Simply create the pull request, and we'll get back to you as soon as possible.

This 2-passes review process aims to:

  • develop skills of junior reviewers
  • limit the workload for senior reviewers
  • limit the number of unnecessary changes by the author
  1. The author creates a PR.
  2. Review process:
    1. The author assigns the junior reviewer.
    2. The junior reviewer conducts their review:
      • Resolves their comments if they are addressed.
      • Adds comments if necessary or approves the PR.
    3. The junior reviewer assigns the senior reviewer.
    4. The senior reviewer conducts their review:
      • If there are no unresolved comments on the PR → merge.
      • Otherwise, we continue with 3.
  3. The author responds to comments and/or makes corrections, and we go back to 2.

Notes:

  1. The author can request a review at any time, even if the PR is still a Draft.
  2. In theory, there should not be more than one reviewer at a time.
  3. The author should not make any changes:
    • When a reviewer is assigned.
    • Between the junior and senior reviews.
  4. If the PR relates to a change in the openAPI specification, a member of the DevOps team must also participate in the review.

@Elise-FZI Elise-FZI self-assigned this Aug 26, 2026
@Elise-FZI Elise-FZI changed the title feat(lite) : add action force reboot on host [WIP]feat(lite) : add action force reboot on host Aug 26, 2026
@Elise-FZI
Elise-FZI force-pushed the lite/action-force-reboot-host branch from 0ab6904 to dce62ab Compare August 27, 2026 09:12
@plane-sync-vates

Copy link
Copy Markdown

Linked to Plane Work Item(s)

This comment was auto-generated by Plane

@Elise-FZI
Elise-FZI force-pushed the lite/action-force-reboot-host branch from dce62ab to b0d7870 Compare August 27, 2026 13:22
@Elise-FZI
Elise-FZI force-pushed the lite/action-force-reboot-host branch from b0d7870 to 4cee91c Compare August 27, 2026 15:15
@Elise-FZI
Elise-FZI force-pushed the lite/action-force-reboot-host branch 2 times, most recently from 2382e92 to 2d1fb85 Compare September 1, 2026 11:18
@Elise-FZI Elise-FZI changed the title [WIP]feat(lite) : add action force reboot on host feat(lite) : add action force reboot on host Sep 1, 2026
@Elise-FZI
Elise-FZI marked this pull request as ready for review September 1, 2026 11:24
@Elise-FZI
Elise-FZI requested a review from MarieGarde September 1, 2026 11:24
@@ -1,10 +1,20 @@
<template>
<HostRebootButton :host />
<template v-if="isRunning">

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Same problem as in reboot PR, when the host is shut down, there's nothing left in "change state".

Image


throw error
throw error
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
}
}
console.error('Host evacuate failed, forcing reboot: ${host})

@MarieGarde
MarieGarde requested a review from J0ris-K September 2, 2026 09:07
@Elise-FZI
Elise-FZI force-pushed the lite/action-force-reboot-host branch from 8fb97c0 to 58ba0ca Compare September 4, 2026 06:20
@Elise-FZI
Elise-FZI force-pushed the lite/action-force-reboot-host branch 2 times, most recently from 8aaf1d4 to d9d6dca Compare September 4, 2026 08:07
Base automatically changed from lite/action-reboot-host to master September 4, 2026 12:20
@Elise-FZI
Elise-FZI force-pushed the lite/action-force-reboot-host branch from d9d6dca to 9750bd5 Compare September 4, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants