Mathieu ebbd9e42e2 fix(xo-server,rest-api): apply the backup guard to rolling pool operations started over REST (#10313)
* fix(xo-server,rest-api): apply the backup guard to rolling pool operations started over REST

The JSON-RPC methods pool.rollingUpdate and pool.rollingReboot refused to run
while a backup job targets the pool, but the REST actions
POST /pools/:id/actions/rolling_update and rolling_reboot called the
orchestrators directly and skipped that check.

The guard now lives in XenServers.rollingPoolUpdate and Pools.rollingPoolReboot,
so every entry point (JSON-RPC, REST, scheduled jobs) applies the same rule.
The bypass moves into backupGuard(poolId, { bypassBackupCheck, operation }),
which logs a single warning with the operation and the user, and the other
callers (host.restart, host.restartAgent, host.stop, sr.reclaimSpace and their
REST counterparts) use it instead of their own if/else and log.

The REST rolling actions accept bypassBackupCheck in their body and record the
body in the task params, like the host actions do.

* fix(xo-server,rest-api): pass the targeted object ID to the backup guard
2026-09-11 16:49:14 +02:00
2025-02-18 16:45:23 +01:00
2023-08-03 17:56:24 +02:00
2023-09-21 10:28:31 +02:00
2022-03-02 17:49:53 +01:00
2023-04-05 11:22:10 +02:00
2026-09-04 12:00:25 +02:00
2023-09-21 10:28:31 +02:00
2023-09-26 14:34:47 +02:00
2024-06-14 11:43:38 +02:00

Xen Orchestra

Manage, Backup and Cloudify your XCP-ng/XenServer infrastructure

XO (Xen Orchestra) is a complete solution to visualize, manage, backup and delegate your XCP-ng (or XenServer) infrastructure. No agent is required for it to work.

It provides a web UI, a CLI and a REST API, while also getting a Terraform provider among other connectors/plugins.

⚡️ Quick start

Log in to your account and use the deploy form available from the Vates website.

📚 Documentation

The official documentation is available at https://docs.xen-orchestra.com/

Documentation updates are deployed automatically once per day.

🚀 Features

  • Centralized interface: one Xen Orchestra to rule your entire infrastructure, even across datacenters at various locations
  • Administration and management: VM creation, management, migration, metrics and statistics, XO proxies for remote sites… XO will become your best friend!
  • Backup & Disaster Recovery: The backup is an essential component for the security of your infrastructure. With Xen Orchestra, select the backup mode that suits you best and protect your VMs and your business. Rolling snapshot, Full backup & replication, incremental backup & replication, mirror backup, S3 support among many other possibilities!
  • Cloud Enabler: Xen Orchestra is your cloud initiator for XCP-ng (and XenServer). Group management, resource delegation and easy group administration. The Cloud is yours!

🌍 Translations

Status of XO Lite & XO 6:

Translation status

Help us translate Xen Orchestra in more languages!

📸 Screenshots

License

AGPL3 © Vates

Description
The global orchestration solution to manage and backup XCP-ng and XenServer.
Readme 215 MiB
Languages
JavaScript 55.4%
TypeScript 26.9%
Vue 13.5%
Rust 3.1%
CSS 0.4%
Other 0.5%