XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Error mirroring full backups to backblaze b2

    Scheduled Pinned Locked Moved Backup
    18 Posts 4 Posters 1.0k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pedro_udifar
      last edited by

      Still getting these warnings, on the VMs that don't need to be uploaded. Thought this might go away also.

      838c12d7-315d-4e4d-bc76-acb4dd9e74d9-image.jpeg

      1 Reply Last reply Reply Quote 0
      • P Offline
        pedro_udifar
        last edited by

        Hello Florent,

        The new code is still failing...

        a7b27068-0bbb-4ea6-b0e7-74f8058775f3-image.jpeg

        	```
        	{
        		"id": "0mr3li2kt-c10ifxuuw68",
        		"start": 1783002246797,
        		"status": "failure",
        		"tasks": [
        			{
        				"id": "0mr3li2ud-r1vgn4rnv5d",
        				"start": 1783002247141,
        				"status": "failure",
        				"tasks": [
        					{
        						"id": "0mr3li30l-6n1cr5a6o7v",
        						"start": 1783002247365,
        						"status": "failure",
        						"end": 1783004124397,
        						"result": {
        							"message": "read 52428800012 bytes, maximum size allowed  is 52428800000 ",
        							"name": "Error",
        							"stack": "Error: read 52428800012 bytes, maximum size allowed  is 52428800000 \n    at Transform.transform [as _transform] (/opt/xo/xo-builds/xen-orchestra-202607021439/@xen-orchestra/fs/dist/s3.js:214:20)\n    at Transform._write (node:internal/streams/transform:171:8)\n    at writeOrBuffer (node:internal/streams/writable:570:12)\n    at _write (node:internal/streams/writable:499:10)\n    at Writable.write (node:internal/streams/writable:508:10)\n    at PassThrough.ondata (node:internal/streams/readable:1012:24)\n    at PassThrough.emit (node:events:509:28)\n    at PassThrough.patchedEmit [as emit] (/opt/xo/xo-builds/xen-orchestra-202607021439/@xen-orchestra/log/configure.js:52:17)\n    at addChunk (node:internal/streams/readable:563:12)\n    at readableAddChunkPushObjectMode (node:internal/streams/readable:540:3)"
        						},
        						"message": "transfer",
        						"data": {
        							"progress": 0
        						}
        					}
        				],
        				"end": 1783004124397,
        				"result": {
        					"message": "read 52428800012 bytes, maximum size allowed  is 52428800000 ",
        					"name": "Error",
        					"stack": "Error: read 52428800012 bytes, maximum size allowed  is 52428800000 \n    at Transform.transform [as _transform] (/opt/xo/xo-builds/xen-orchestra-202607021439/@xen-orchestra/fs/dist/s3.js:214:20)\n    at Transform._write (node:internal/streams/transform:171:8)\n    at writeOrBuffer (node:internal/streams/writable:570:12)\n    at _write (node:internal/streams/writable:499:10)\n    at Writable.write (node:internal/streams/writable:508:10)\n    at PassThrough.ondata (node:internal/streams/readable:1012:24)\n    at PassThrough.emit (node:events:509:28)\n    at PassThrough.patchedEmit [as emit] (/opt/xo/xo-builds/xen-orchestra-202607021439/@xen-orchestra/log/configure.js:52:17)\n    at addChunk (node:internal/streams/readable:563:12)\n    at readableAddChunkPushObjectMode (node:internal/streams/readable:540:3)"
        				},
        				"message": "export",
        				"data": {
        					"id": "14b59f44-4517-411e-9e39-4eb7136928d0",
        					"type": "remote",
        					"isFull": true
        				}
        			},
        			{
        				"id": "0mr3mmbcf-yc4lpd0z5p",
        				"start": 1783004124399,
        				"status": "success",
        				"warnings": [
        					{
        						"data": {
        							"path": "xo-vm-backups/1c842f34-f7f8-d3cd-ba24-ffe51d6ae075/cache.json.gz",
        							"actual": 0,
        							"expected": 1
        						},
        						"message": "unexpected number of entries in backup cache"
        					},
        					{
        						"data": {
        							"error": {
        								"generatedMessage": false,
        								"code": "ERR_ASSERTION",
        								"actual": true,
        								"expected": false,
        								"operator": "strictEqual",
        								"diff": "simple"
        							}
        						},
        						"message": "Issue while checking XVA"
        					},
        					{
        						"data": {
        							"error": {
        								"generatedMessage": false,
        								"code": "ERR_ASSERTION",
        								"actual": true,
        								"expected": false,
        								"operator": "strictEqual",
        								"diff": "simple"
        							}
        						},
        						"message": "Checksum file not valid, not blocking"
        					},
        					{
        						"data": {
        							"path": "/xo-vm-backups/1c842f34-f7f8-d3cd-ba24-ffe51d6ae075/20260624T231818Z.xva"
        						},
        						"message": "XVA might be broken"
        					},
        					{
        						"data": {
        							"files": [
        								"20260624T231818Z.json",
        								"20260624T231818Z.xva",
        								"20260624T231818Z.xva.checksum"
        							]
        						},
        						"message": "This files may be corrupted but not yet to be removed"
        					}
        				],
        				"end": 1783004124983,
        				"result": {
        					"merge": false,
        					"size": 0
        				},
        				"message": "clean-vm"
        			}
        		],
        		"end": 1783004124983,
        		"result": {
        			"message": "read 52428800012 bytes, maximum size allowed  is 52428800000 ",
        			"name": "Error",
        			"stack": "Error: read 52428800012 bytes, maximum size allowed  is 52428800000 \n    at Transform.transform [as _transform] (/opt/xo/xo-builds/xen-orchestra-202607021439/@xen-orchestra/fs/dist/s3.js:214:20)\n    at Transform._write (node:internal/streams/transform:171:8)\n    at writeOrBuffer (node:internal/streams/writable:570:12)\n    at _write (node:internal/streams/writable:499:10)\n    at Writable.write (node:internal/streams/writable:508:10)\n    at PassThrough.ondata (node:internal/streams/readable:1012:24)\n    at PassThrough.emit (node:events:509:28)\n    at PassThrough.patchedEmit [as emit] (/opt/xo/xo-builds/xen-orchestra-202607021439/@xen-orchestra/log/configure.js:52:17)\n    at addChunk (node:internal/streams/readable:563:12)\n    at readableAddChunkPushObjectMode (node:internal/streams/readable:540:3)"
        		},
        		"message": "backup VM",
        		"data": {
        			"id": "1c842f34-f7f8-d3cd-ba24-ffe51d6ae075",
        			"type": "VM",
        			"progress": 0
        		}
        	},
        

        Best regards,
        Pedro

        florentF 1 Reply Last reply Reply Quote 0
        • florentF Offline
          florent Vates 🪐 XO Team @pedro_udifar
          last edited by

          @pedro_udifar that is strange that we have exactly the same error, even though we should have added 28 bytes

          I pushed a little debug that will log additional lines in journalctl

          'will output stream ', 'stream is encrypted' and 'stream is updated '

          Can you update your branch, rebuild, rerun the transfer and post the log ( with the attached values ) ?

          regards

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            pedro_udifar @florent
            last edited by

            @florent

            Sure, but I can only do it over the weekend.
            Also, I'll try to check if the script built the correct branch. First time using the script to build anything other than master.

            On a side note: recently some other strange errors started to show up "Body timeout Error". These are plain full backups to a remote with disaster recovery for another cluster, that always worked fine. Also, in this case, the timeout defined within the job doesn't cancel the job and the remaining jobs in the sequence don't run. Haven't had the time to dig into this - when I do, I'll start a new forum post.

            790bd845-1932-4f33-abfd-36441d720aa1-image.jpeg

            Cheers,
            Pedro

            1 Reply Last reply Reply Quote 0
            • P Offline
              pedro_udifar
              last edited by

              Hello again!

              c5189e53-c2d1-4de5-a26d-243ddd41e5db-image.jpeg

              Here are the logs:
              b2_mirror_error.txt

              Hope it helps!

              P 1 Reply Last reply Reply Quote 1
              • P Offline
                pierrebrunet Vates 🪐 XO Team @pedro_udifar
                last edited by

                @pedro_udifar Hi, just to be sure, this is a replication job with two s3? If yes, is the source s3 encrypted or is it only the target?

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  pedro_udifar @pierrebrunet
                  last edited by

                  @pierrebrunet Hi!

                  Replication is from local NFS (Ztsd compressed, not encripted) to a S3 Backblaze (with encription).

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    pierrebrunet Vates 🪐 XO Team @pedro_udifar
                    last edited by

                    @pedro_udifar Hi,
                    We think we have found two issues into one: can you test this branch please? It has the changes from previous branch you built: fix_throttled_stream

                    This should fix the stream issue and fix the warning.

                    florentF 1 Reply Last reply Reply Quote 0
                    • florentF Offline
                      florent Vates 🪐 XO Team @pierrebrunet
                      last edited by

                      both fixes are now on master AND released as a patch

                      thank you @pedro_udifar

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        pedro_udifar @florent
                        last edited by

                        @florent

                        Sorry, missed your previous post. I will return to master and test it (over the weekend).

                        Thank you!

                        1 Reply Last reply Reply Quote 0

                        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
                        • First post
                          Last post