@doogie06
register cli: xo-cli --register http://url login
then remove all tasks: xo-cli rest del tasks

Tristis Oris
@Tristis Oris
Best posts made by Tristis Oris
-
RE: Clearing Failed XO Tasks
-
RE: New Rust Xen guest tools
Problem with broken package on rhel8-9 looks resolved now. Done multiple tests.
-
RE: New Rust Xen guest tools
@DustinB said in New Rust Xen guest tools:
systemctl enable xe
yep, found them.
full steps for RHEL:wget https://gitlab.com/xen-project/xen-guest-agent/-/jobs/6041608360/artifacts/raw/RPMS/x86_64/xen-guest-agent-0.4.0-0.fc37.x86_64.rpm rpm -i xen-guest-agent* yum remove -y xe-guest-utilities-latest systemctl enable xen-guest-agent.service --now
-
RE: New Rust Xen guest tools
@chrisfonte new tools will remove the old one during install.
-
RE: Can not create a storage for shared iso
@ckargitest that was fixed few weeks ago. Do you use latest commit?
-
RE: Pool is connected but Unknown pool
@julien-f @olivierlambert
2371109b6fea26c15df28caed132be2108a0d88e
Fixed now, thanks you. -
RE: Our future backup code: test it!
1 vm, 1 storage, NBD connections: 1. delta, first full.
Duration: 3 minutes
Size: 26.54 GiB
Speed: 160.71 MiB/sDuration: 4 minutes
Size: 26.53 GiB
Speed: 113.74 MiB/s -
RE: CBT: the thread to centralize your feedback
updated to
fix_cbt
branch.CR NBD backup works.
Delta NBD backup works.
just once, so we can't be sure yet.No broken tasks is generated.
Still confused why CBT toggle is enabled on some VMs.
2 similars vms on same pool, same storage, same ubuntu version. One is enabled automaticaly, other is not. -
RE: Advice on good remote targets?
if you have no any dedicated storage, it's possible to use literally any PC with nfs\smb\external drive, windows share also.
Latest posts made by Tristis Oris
-
RE: Our future backup code: test it!
@florent
same speed after fix.
142.56 MiB/s - 145.63 MiB/smaybe i miss something else? same database as prod, only another LUN connected for backups.
-
RE: Our future backup code: test it!
@florent blocks! i forgot about that checkbox)
better but not same.
Duration: 3 minutes
Size: 26.53 GiB
Speed: 143.7 MiB/sSpeed: 146.09 MiB/s
-
RE: Our future backup code: test it!
1 vm, 1 storage, NBD connections: 1. delta, first full.
Duration: 3 minutes
Size: 26.54 GiB
Speed: 160.71 MiB/sDuration: 4 minutes
Size: 26.53 GiB
Speed: 113.74 MiB/s -
RE: Our future backup code: test it!
i see significant speed difference from master branch.
prod
NBD
160.71 MiB
no NBD
169test
NBD (broken)
110-130 MiB
no NBD
115 -
RE: Our future backup code: test it!
@florent i'm not sure how to update from this branch(
git checkout . git pull --ff-only yarn yarn build
Updating 04be60321..6641580e6 Fast-forward @xen-orchestra/xapi/disks/Xapi.mjs | 17 ++++++++++------- @xen-orchestra/xapi/disks/XapiVhdCbt.mjs | 3 ++- @xen-orchestra/xapi/disks/XapiVhdStreamNbd.mjs | 3 --- @xen-orchestra/xapi/disks/utils.mjs | 29 ++++++++++++++++------------- 4 files changed, 28 insertions(+), 24 deletions(-)
git checkout feat_generator_backups Already on 'feat_generator_backups' Your branch is up to date with 'origin/feat_generator_backups'. git pull origin feat_generator_backups From https://github.com/vatesfr/xen-orchestra * branch feat_generator_backups -> FETCH_HEAD Already up to date.
but still no NBD at backup.
-
RE: Our future backup code: test it!
@Davidj-0 No NBD usage even with new task( Main XO is on same host, same nic.
-
RE: Our future backup code: test it!
delta, first full.
- no NBD
2025-04-11T12:19:15.169Z xo:backups:worker INFO starting backup 2025-04-11T12:22:29.509Z xo:backups:MixinBackupWriter WARN cleanVm: incorrect backup size in metadata { path: '/xo-vm-backups/07e5d245-7ed3-b690-e386-3461556ad41f/20250411T121931Z.json', actual: 27271364608, expected: 27278188544 }
2 vms but 1 log at cli.
delta
[2025-04-11T12:27:41.428Z xo:backups:worker INFO starting backup 2025-04-11T12:27:48.644Z xo:backups:MixinBackupWriter WARN cleanVm: incorrect backup size in metadata { path: '/xo-vm-backups/f3cfdc19-0e6a-04d1-5651-82e1dbb25191/20250411T122746Z.json', actual: 44040192, expected: 46314496 } 2025-04-11T12:28:03.055Z xo:backups:MixinBackupWriter WARN cleanVm: incorrect backup size in metadata { path: '/xo-vm-backups/07e5d245-7ed3-b690-e386-3461556ad41f/20250411T122801Z.json', actual: 46137344, expected: 48412160 } 2025-04-11T12:28:03.081Z xo:backups:worker INFO backup has ended 2025-04-11T12:28:03.181Z xo:backups:worker INFO process will exit { duration: 21752192, exitCode: 0, resourceUsage: { userCPUTime: 3794057, systemCPUTime: 468414, maxRSS: 69592, sharedMemorySize: 0, unsharedDataSize: 0, unsharedStackSize: 0, minorPageFault: 42277, majorPageFault: 0, swappedOut: 0, fsRead: 13624, fsWrite: 185840, ipcSent: 0, ipcReceived: 0, signalsCount: 0, voluntaryContextSwitches: 3591, involuntaryContextSwitches: 441 }, summary: { duration: '22s', cpuUsage: '20%', memoryUsage: '67.96 MiB' } }
can't get NBD to work. It enabled on nic, but not used for backups. XO settings copied from prod instance.
-
RE: Our future backup code: test it!
@Tristis-Oris
from root directory.
/xen-orchestra
yarn
- succeess
yarn build
- failed
again tocd @vates/generator-toolbox/
yarn build
yarn run v1.22.22 $ tsc Done in 5.50s.
cd -
yarn build
Tasks: 29 successful, 29 total Cached: 13 cached, 29 total Time: 1m17.02s Done in 77.34s.
again at root
cd packages/xo-server mkdir -p ~/.config/xo-server cp sample.config.toml ~/.config/xo-server/config.toml yarn start
-
RE: Our future backup code: test it!
@Tristis-Oris probably after https://github.com/vatesfr/xen-orchestra/pull/8432/files/04be6032180e7245a8db9c5f78177ac7999882c2
/@vates/generator-toolbox# yarn build yarn run v1.22.22 $ tsc /bin/sh: 1: tsc: not found error Command failed with exit code 127. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ok,
npm install -g typescript
yarn build yarn run v1.22.22 $ tsc src/synchronized.mts:1:20 - error TS2307: Cannot find module 'node:assert' or its corresponding type declarations. 1 import assert from 'node:assert' ~~~~~~~~~~~~~ src/synchronized.test.mts:1:20 - error TS2307: Cannot find module 'node:assert' or its corresponding type declarations. 1 import assert from 'node:assert' ~~~~~~~~~~~~~ src/synchronized.test.mts:2:29 - error TS2307: Cannot find module 'node:test' or its corresponding type declarations. 2 import { suite, test } from 'node:test' ~~~~~~~~~~~ src/throttle.mts:1:20 - error TS2307: Cannot find module 'node:assert' or its corresponding type declarations. 1 import assert from 'node:assert' ~~~~~~~~~~~~~ src/throttle.test.mts:2:29 - error TS2307: Cannot find module 'node:test' or its corresponding type declarations. 2 import { suite, test } from 'node:test' ~~~~~~~~~~~ src/throttle.test.mts:3:20 - error TS2307: Cannot find module 'node:assert' or its corresponding type declarations. 3 import assert from 'node:assert' ~~~~~~~~~~~~~ src/throttle.test.mts:7:11 - error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. 7 yield Buffer.allocUnsafe(chunkSize) ~~~~~~ src/timeout.mts:1:20 - error TS2307: Cannot find module 'node:assert' or its corresponding type declarations. 1 import assert from 'node:assert' ~~~~~~~~~~~~~ src/timeout.test.mts:1:30 - error TS2307: Cannot find module 'node:test' or its corresponding type declarations. 1 import { describe, it } from 'node:test' ~~~~~~~~~~~ src/timeout.test.mts:2:20 - error TS2307: Cannot find module 'node:assert' or its corresponding type declarations. 2 import assert from 'node:assert' ~~~~~~~~~~~~~ Found 10 errors in 6 files. Errors Files 1 src/synchronized.mts:1 2 src/synchronized.test.mts:1 1 src/throttle.mts:1 3 src/throttle.test.mts:2 1 src/timeout.mts:1 2 src/timeout.test.mts:1 error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.