97 Commits
Author SHA1 Message Date
Florent BEAUCHAMP 33caeacb49 fix(nbd-client): better handling of reconnection (#10456)
* fix(nbd-client): better handling of reconnection

don't let a failure of an already remplaced trasnport impact the
current transport
2026-10-08 14:19:20 +02:00
Elise-F decc09117d feat: patch technical release (#10529) 2026-10-05 15:47:30 +02:00
Elise-F 989cd48559 feat: technical release (#10496) 2026-09-30 15:53:45 +02:00
Elise-F 22706164d6 feat: technical release (#10458) 2026-09-25 15:03:27 +02:00
Florent BEAUCHAMP b5f119f1d4 feat(nbd-client): implement a nbd-client for stdin/stdout instead of a tcp connection (#10381) 2026-09-25 09:57:53 +02:00
Bastien Nollet 6a4415ea1d feat: technical release (#10318)
* feat(@vates/nbd-client): 3.5.1

* feat(@vates/types): 2.0.0

* feat(@xen-orchestra/acl): 1.6.1

* feat(@xen-orchestra/backup-archive): 1.1.2

* feat(@xen-orchestra/xapi): 8.10.4

* feat(@xen-orchestra/backups): 0.74.1

* feat(@xen-orchestra/web-core): 0.60.0

* feat(@xen-orchestra/mcp): 1.4.2

* feat(@xen-orchestra/proxy): 0.31.8

* feat(@xen-orchestra/rest-api): 0.39.0

* feat(@xen-orchestra/web): 0.59.0

* feat(xo-server): 5.207.4

* feat(xo-server-ipmi-sensors): 2.1.1

* feat(xo-server-openmetrics): 1.9.1

* feat(xo-server-sdn-controller): 1.5.0

* chore(CHANGELOG): update next
2026-08-28 14:56:02 +02:00
Florent BEAUCHAMP 14e4c7d62c fix(backups): timeout NBD transfer omnibus fixes (#10306)
* fix(backups): timeout was not used correctly for NBD transfers
* fix(nbd-client): evict a dead client in multi instead
actual code was retrying 5 times, each time with a 60s timeout
multi also have its own retry on conneciton
since the client used is determnistic for a block, any stalled client
will be hammerred for a lot of time before giving up

this PR evict a nbd client that is failing to read a block (with its
retry logic)

* fix(nbd-client/multi): better spread read accross client
the actual code derivate the clientId from the block index
we have no information on the block distribution, only hopes that
it's random enough
this PR introduce a mechanism to use a round robin to select
the next client

* fix: correct fall back to full with /without nbd on qcow2
2026-08-28 10:57:17 +02:00
Bastien Nollet 9cdaf6bb41 feat: technical release (#10305)
* feat(@xen-orchestra/async-map): 0.1.4

* feat(xo-common): 0.11.0

* feat(xen-api): 4.9.0

* feat(@vates/types): 1.30.2

* feat(@xen-orchestra/acl): 1.6.0

* feat(@xen-orchestra/xapi): 8.10.3

* feat(@xen-orchestra/backups): 0.74.0

* feat(@xen-orchestra/backups-cli): 1.1.14

* feat(@xen-orchestra/disk-cli): 2.2.1

* feat(@xen-orchestra/immutable-backups): 3.0.5

* feat(@xen-orchestra/web-core): 0.59.0

* feat(@xen-orchestra/mixins): 0.20.2

* feat(@xen-orchestra/proxy): 0.31.7

* feat(@xen-orchestra/proxy-cli): 0.3.3

* feat(@xen-orchestra/qa-test): 1.2.0

* feat(@xen-orchestra/rest-api): 0.38.0

* feat(@xen-orchestra/upload-ova): 0.1.9

* feat(@xen-orchestra/web): 0.58.0

* feat(xo-acl-resolver): 0.5.4

* feat(xo-cli): 0.32.4

* feat(xo-server): 5.207.3

* feat(xo-server-audit): 0.15.2

* feat(xo-server-ipmi-sensors): 2.1.0

* feat(xo-server-netbox): 1.13.2

* feat(xo-server-sdn-controller): 1.4.1

* feat(xo-web): 5.202.0

* chore(CHANGELOG): update next
2026-08-25 16:19:35 +02:00
Mathieu e9548959c6 feat: technical release (#10228) 2026-08-04 12:05:18 +02:00
spacotte-vates a94eba4dd1 fix(nbd-client): fix long datamap read nbddisk (#10157)
Customer imported large VM from VMWare (> 3 To), import switched to Qcow2 automatically but the process was stuck while building the qcow2 L1/L2 address tables, where the NbdDisk's hasBlock is called for each l2 table entry which iterated over the disk dataMap which contained ~113,528 ranges. This froze the process for more than 18 minutes after which it was either killed or died due to OOM error.

This fix improves the NbdDisk by:

    Updating processDatamap to throw on overlapping ranges and merge touching extents.
    Override default getBlockIndexesCount with optimized Nbd one.
    Improve hasBlock with a built in cursor to improve performance.

Test file added to cover the new function and updated code.
2026-08-03 11:24:44 +02:00
Mathieu 068c4cdc86 feat: technical release (#10192) 2026-07-29 15:30:14 +02:00
Mathieu 74b952be2b feat: technical release (#10174) 2026-07-27 15:05:16 +02:00
Bastien Nollet b96a6dc1e9 feat: technical release (#10022)
* feat(@xen-orchestra/fs): 4.9.1

* feat(@vates/generator-toolbox): 1.1.3

* feat(@xen-orchestra/disk-transform): 1.3.1

* feat(@vates/fuse-vhd): 2.1.3

* feat(xo-common): 0.10.0

* feat(xen-api): 4.7.8

* feat(@vates/types): 1.27.0

* feat(@xen-orchestra/acl): 1.3.0

* feat(@xen-orchestra/backup-archive): 1.0.2

* feat(@xen-orchestra/qcow2): 1.3.1

* feat(@xen-orchestra/xapi): 8.9.0

* feat(@xen-orchestra/backups): 0.73.3

* feat(@xen-orchestra/disk-cli): 2.1.2

* feat(@xen-orchestra/web-core): 0.55.0

* feat(@xen-orchestra/mcp): 1.4.1

* feat(@xen-orchestra/mixins): 0.20.1

* feat(@xen-orchestra/openflow): 0.1.4

* feat(@xen-orchestra/proxy): 0.30.4

* feat(@xen-orchestra/qa-test): 1.1.0

* feat(@xen-orchestra/rest-api): 0.34.0

* feat(@xen-orchestra/upload-ova): 0.1.8

* feat(@xen-orchestra/web): 0.54.0

* feat(xo-acl-resolver): 0.5.3

* feat(xo-server): 5.203.0

* feat(xo-server-audit): 0.15.1

* feat(xo-server-ipmi-sensors): 2.0.1

* feat(xo-server-load-balancer): 0.13.0

* feat(xo-server-netbox): 1.13.0

* feat(xo-server-openmetrics): 1.7.0

* feat(xo-server-sdn-controller): 1.3.3

* feat(xo-web): 5.198.0

* chore(CHANGELOG): update next
2026-06-24 10:18:29 +02:00
Pierre Brunet 082ab9cf41 feat: technical release (#9878) 2026-05-22 10:34:38 +02:00
Bastien Nollet fdb82ed68a feat: technical release (#9768) 2026-04-24 14:38:15 +02:00
Elise-F 04a6fb3805 feat: technical release (#9642) 2026-03-27 10:23:50 +01:00
Florent BEAUCHAMP 598ab85446 feat(vmware-explorer): make V2V import cancellable (#9552) 2026-03-17 18:17:08 +01:00
Mathieu d3187c06b5 feat: technical release (#9432) 2026-01-29 10:57:33 +01:00
Florent BEAUCHAMP 4ca314fbc7 fix(nbd-client): discrepency when using hasblock/getblockindexes 2026-01-27 16:04:05 +01:00
Elise-F 0b52a05bb3 feat: technical patch release (#9372) 2026-01-06 11:51:13 +01:00
Elise-F 28952a0a4a feat: technical release (#9334) 2025-12-18 12:21:33 +01:00
MlssFrncJrg 1c6bc86794 Release (#9251)
* feat(vhd-lib): 4.14.5

* feat(@vates/nbd-client): 3.2.2

* feat(@xen-orchestra/web-core): 0.35.0

* feat(@xen-orchestra/rest-api): 0.21.1

* feat(@xen-orchestra/vmware-explorer): 0.10.6

* feat(@xen-orchestra/web): 0.34.0

* feat(xo-server): 5.193.1

* feat(xo-server-auth-oidc): 0.4.0

* feat(xo-server-perf-alert): 1.0.0

* feat(xo-web): 5.191.0

* chore(CHANGELOG): update next

* feat(vhd-cli): 1.0.0

* add missing lib
2025-11-27 13:23:09 +01:00
Florent BEAUCHAMP 6277a12c4a fix(nbd-client): nbddisk must emit full size block (#9233) 2025-11-25 11:57:41 +01:00
MlssFrncJrg 0bac1d3e0e feat: technical release (#9237) 2025-11-24 17:30:39 +01:00
Florent BEAUCHAMP 5fc2e4e8e5 fix(nbd-client): wrong comment leads to bad code (#9222) 2025-11-24 10:44:58 +01:00
Bastien Nollet 51855c22d4 feat: technical release (#9146) 2025-10-27 12:13:55 +01:00
Pierre Donias 3222025088 feat: technical release (#9060) 2025-10-06 14:15:47 +02:00
Bastien Nollet 043387a913 feat: technical release (#8913) 2025-08-28 11:41:28 +02:00
Florent BEAUCHAMP e1ce9eca7b fix(v2v): improve vddk import (#8911)
* fix(nbd-client): better handling of error during getMap
* fix(xo-server): esxi check errors are objects instead of text
* fix(xo-web): V2v/check improve alignment
* feat(xo-web): add button to install nbdinfo/nbdkit if needed
2025-08-28 10:46:54 +02:00
Bastien Nollet 384bb37dd4 feat: technical release (#8906) 2025-08-27 11:54:12 +02:00
Florent BEAUCHAMP f8cb07596b feat(nbd-client): implement a Disk adapter based on NBD connection 2025-08-26 18:36:13 +02:00
Florent BEAUCHAMP 6c32155327 feat(nbd-client): implement getMap based on nbdinfos 2025-08-26 18:36:13 +02:00
Pierre Brunet 2827c2a4ef feat: technical release (#8785)
* feat(xen-api): 4.7.3

* feat(@vates/nbd-client): 3.1.4

* feat(@vates/types): 1.8.0

* feat(@xen-orchestra/xapi): 8.3.2

* feat(@xen-orchestra/web-core): 0.24.0

* feat(@xen-orchestra/proxy): 0.29.25

* feat(@xen-orchestra/rest-api): 0.11.0

* feat(@xen-orchestra/web): 0.21.1

* feat(xo-server): 5.181.0

* chore(CHANGELOG): update next

* chore(CHANGELOG): pass changelogs to next release

* chore(CHANGELOG): remove changelog in wrong release

* chore(CHANGELOG): add packages
2025-07-03 11:56:28 +02:00
Florent BEAUCHAMP 3bc90981af fix(xapi): respect the config file setting for preferNbd (#8780)
* fix(nbd-client): handle unreachable VM through nbd

when the user select nbd but don't have any way to reach
the storage/host of the VM (for example no NBD enabled network,
or a NBD enabled network unreachable by xo/proxy it was timing out
and blocking the start of the backup
This error was blocking the fallback to export stream mechanism

* fix(xapi): respect the config file setting for preferNbd

* fix(xapi): don't close export stream if nbd failed to connect

* fix(xapi):respect vhd/qcow2 when faling back to a full if delta exports fails
2025-07-03 10:53:59 +02:00
Pierre Brunet 7994fc52c3 feat: technical release (#8745)
* feat(xo-remote-parser): 0.10.0

* feat(@xen-orchestra/fs): 4.6.0

* feat(vhd-lib): 4.13.0

* feat(xen-api): 4.7.2

* feat(@vates/task): 0.6.2

* feat(@vates/types): 1.5.0

* feat(@xen-orchestra/backups): 0.61.2

* feat(@xen-orchestra/backups-cli): 1.1.0

* feat(@xen-orchestra/web-core): 0.21.0

* feat(@xen-orchestra/rest-api): 0.9.0

* feat(@xen-orchestra/web): 0.19.0

* feat(vhd-cli): 0.9.4

* feat(xo-web): 5.177.0

* feat(xo-server): 5.179.0

* feat(xo-server-auth-oidc): 0.3.3

* feat(xo-server-backup-reports): 1.6.0

* feat(xo-server-load-balancer): 0.10.2

* feat(xo-server-transport-nagios): 1.0.3

* chore(changelog): update next

* feat(@xen-orchestra/proxy): 0.29.22

* feat(xo-server-perf-alert): 0.6.3

* fix(chore): update changelog

* fix: fix yarn.lock
2025-06-23 17:27:36 +02:00
Josh Soref 0a378391a9 chore: fix spelling errors and typos in docs and comments (#8619) 2025-06-04 14:37:58 +02:00
Mathieu b674e0d13f feat: technical release (#8629)
* feat(@xen-orchestra/fs): 4.5.1

* feat(@vates/generator-toolbox): 1.0.2

* feat(@vates/nbd-client): 3.1.3

* feat(@vates/types): 1.3.0

* feat(@xen-orchestra/disk-transform): 1.0.0

* feat(@xen-orchestra/xapi): 8.2.0

* feat(@xen-orchestra/backups): 0.60.0

* feat(@xen-orchestra/backups-cli): 1.0.31

* feat(@xen-orchestra/immutable-backups): 1.0.20

* feat(@xen-orchestra/web-core): 0.20.0

* feat(@xen-orchestra/proxy): 0.29.18

* feat(@xen-orchestra/rest-api): 0.7.0

* feat(@xen-orchestra/web): 0.18.0

* feat(xo-server): 5.177.1

* feat(xo-server-auth-oidc): 0.3.2

* feat(xo-server-netbox): 1.9.0

* feat(xo-server-perf-alert): 0.6.2

* chore(CHANGELOG): update next
2025-05-23 15:06:25 +02:00
Florent BEAUCHAMP 41e5a33cfe feat(backups): use generator instead of streams for backup and replication (#8432)
use generators instead of stream for backup and replication
2025-05-16 14:24:09 +02:00
OlivierFL b3d66497b9 feat: technical release (#8383) 2025-02-26 16:34:07 +01:00
Sebastian CZECH d864cb57e0 feat: technical release (#8202) 2024-12-18 14:53:31 +01:00
Sebastian CZECH 56a18eba9a feat: technical release (#8196) 2024-12-16 11:02:22 +01:00
Julien Fontanet f9c7aa92f9 feat(@xen-orchestra/log): 0.7.1 2024-11-14 16:28:42 +01:00
Florent BEAUCHAMP d8c4b60b63 feat: technical release (#8116) 2024-11-07 15:38:43 +01:00
Florent BEAUCHAMP 41bc59bdf4 fix(nbd): connect to only one host at a time per disk (#8086)
connecting to multiple host in parallel sometimes lead to a race condition in xapi-nbd while updating the sm_config property of the vdi. This lead to VDI that are not disconnected, thus VDI_IN_USE error at the next step of the backup

from : https://xcp-ng.org/forum/topic/9864/vdi-staying-connected-to-dom0-when-using-nbd-backups/46?_=1730797966321
2024-11-07 14:49:57 +01:00
b-Nollet 34bccbda56 feat: technical release (#8087) 2024-10-30 16:06:56 +01:00
b-Nollet 04b3fc26fb feat: technical release (#8079) 2024-10-28 16:42:40 +01:00
Stephane e5b833dada feat: technical release (#8022) 2024-09-30 11:26:12 +02:00
Stephane cfea2b3a2b feat: technical release (#8020) 2024-09-27 16:21:46 +02:00
Stephane 9ad13608eb feat: technical release (#8015) 2024-09-26 14:55:46 +02:00
b-Nollet 0fee31b345 feat: technical release (#7864) 2024-07-25 15:35:03 +02:00