-
Good day, I am using xo-server 5.122.0 and xo-web 5.124.1 compiled from sources and I started getting AssertionError on a Delta backup, however I am seeing the copy in the repository
"id": "1694649608020", "message": "backup VM", "start": 1694649608020, "status": "failure", "tasks": [ { "id": "1694649608719", "message": "clean-vm", "start": 1694649608719, "status": "failure", "tasks": [ { "id": "1694649609499", "message": "merge", "start": 1694649609499, "status": "failure", "end": 1694649618941, "result": { "generatedMessage": true, "code": "ERR_ASSERTION", "actual": 295936, "expected": 2097664, "operator": "strictEqual", "message": "Expected values to be strictly equal:\n+ actual - expected\n\n+ 295936\n- 2097664", "name": "AssertionError", "stack": "AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:\n+ actual - expected\n\n+ 295936\n- 2097664\n at VhdFile._read (/opt/xen-orchestra/packages/vhd-lib/Vhd/VhdFile.js:124:12)\n at async VhdFile.mergeBlock (/opt/xen-orchestra/packages/vhd-lib/Vhd/VhdAbstract.js:117:19)\n at async asyncEach.concurrency (/opt/xen-orchestra/packages/vhd-lib/merge.js:208:39)" } } ], "end": 1694649618941, "result": { "generatedMessage": true, "code": "ERR_ASSERTION", "actual": 295936, "expected": 2097664, "operator": "strictEqual", "message": "Expected values to be strictly equal:\n+ actual - expected\n\n+ 295936\n- 2097664", "name": "AssertionError", "stack": "AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:\n+ actual - expected\n\n+ 295936\n- 2097664\n at VhdFile._read (/opt/xen-orchestra/packages/vhd-lib/Vhd/VhdFile.js:124:12)\n at async VhdFile.mergeBlock (/opt/xen-orchestra/packages/vhd-lib/Vhd/VhdAbstract.js:117:19)\n at async asyncEach.concurrency (/opt/xen-orchestra/packages/vhd-lib/merge.js:208:39)" } -
Hi,
Are you on the latest commit from master branch?
-
@olivierlambert Yes Oliver, it is the latest version. happened after enabling NBD
-
Can you provide the commit number?
Adding @florent in the loop
-
@olivierlambert will this be?
{ "data": { "mode": "delta", "reportWhen": "failure" }, "id": "1694649600005", "jobId": "b18baa25-8ca5-407c-9b47-3b32919b1c65", "jobName": "Backup_hosting2", "message": "backup", "scheduleId": "6c145708-744f-4a05-a4aa-d7c2fc264ef6", "start": 1694649600005, "status": "failure", "infos": [ { "data": { "vms": [ "62517a8e-8539-d395-c8c2-a2ffb1c7c35e" ] }, "message": "vms" } ], "tasks": [ { "data": { "type": "VM", "id": "62517a8e-8539-d395-c8c2-a2ffb1c7c35e", "name_label": "Hosting2 < (ProducciΓ³n)" }, "id": "1694649608020", "message": "backup VM", "start": 1694649608020, "status": "failure", "tasks": [ { "id": "1694649608719", "message": "clean-vm", "start": 1694649608719, "status": "failure", "tasks": [ { "id": "1694649609499", "message": "merge", "start": 1694649609499, "status": "failure", "end": 1694649618941, "result": { "generatedMessage": true, "code": "ERR_ASSERTION", "actual": 295936, "expected": 2097664, "operator": "strictEqual", "message": "Expected values to be strictly equal:\n+ actual - expected\n\n+ 295936\n- 2097664", "name": "AssertionError", "stack": "AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:\n+ actual - expected\n\n+ 295936\n- 2097664\n at VhdFile._read (/opt/xen-orchestra/packages/vhd-lib/Vhd/VhdFile.js:124:12)\n at async VhdFile.mergeBlock (/opt/xen-orchestra/packages/vhd-lib/Vhd/VhdAbstract.js:117:19)\n at async asyncEach.concurrency (/opt/xen-orchestra/packages/vhd-lib/merge.js:208:39)" } } ], "end": 1694649618941, "result": { "generatedMessage": true, "code": "ERR_ASSERTION", "actual": 295936, "expected": 2097664, "operator": "strictEqual", "message": "Expected values to be strictly equal:\n+ actual - expected\n\n+ 295936\n- 2097664", "name": "AssertionError", "stack": "AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:\n+ actual - expected\n\n+ 295936\n- 2097664\n at VhdFile._read (/opt/xen-orchestra/packages/vhd-lib/Vhd/VhdFile.js:124:12)\n at async VhdFile.mergeBlock (/opt/xen-orchestra/packages/vhd-lib/Vhd/VhdAbstract.js:117:19)\n at async asyncEach.concurrency (/opt/xen-orchestra/packages/vhd-lib/merge.js:208:39)" } }, { "id": "1694649620779", "message": "snapshot", "start": 1694649620779, "status": "success", "end": 1694649622982, "result": "f44b9d86-4961-7e71-dbeb-456e93f6058c" }, { "data": { "id": "082ffdb2-0fee-4e3c-8173-2229b581785d", "isFull": false, "type": "remote" }, "id": "1694649622983", "message": "export", "start": 1694649622983, "status": "success", "tasks": [ { "id": "1694649625892", "message": "transfer", "start": 1694649625892, "status": "success", "end": 1694654200433, "result": { "size": 92109162496 } }, { "id": "1694654201049", "message": "clean-vm", "start": 1694654201049, "status": "success", "end": 1694654201977, "result": { "merge": true } } ], "end": 1694654202013 } ], "infos": [ { "message": "Transfer data using NBD" } ], "end": 1694654202014 } ], "end": 1694654202014 } -
The commit number is available is the about section
-
@olivierlambert 6953e
-
Good then
@florent will take a look here when he can 
-
@olivierlambert @mdavico if it helps here at all I am on commit 1c9d1 from the sources, Incremental Backups to an SMB share are working perfectly for me with no errors.
When I can I will try and update to latest and see if I'm having the same issue.
-
@olivierlambert Checking the storage where the delta backups are, I find 13 copies, and I have a retention of 7 configured.

-
O olivierlambert moved this topic from Xen Orchestra on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login