Our future backup code: test it!
-
@florent Backup did seem to run however the tasks never cleared. I restarted the toolstack on both hosts which cleared the tasks.
Set job concurrency to 2 manually on the job and ran it again. Once again the task list filled with all the VMs from the job at once, the job seems to process and succeed but the tasks never clear and you cant really tell whats happening since the task window becomes cluttered with VMs from the job with a random state of progress that never seems to clear on its own. I think ill have to roll back to a previous release for now. Hopefully this plan isn't to push this to the XOA appliance just yet!
Stuck tasks:
Yet completed and successful job:
-
@florent @olivierlambert Not good!... I reverted back due to problems.
Replication does run. It seems to work. But it leaves lots of zombie export tasks, like:
Exporting content of VDI ftp_root_jgfkd through NBD+CBT (on xcp1) 17%
I get about 80% stuck tasks. A toolstack restart clears the tasks....
CR settings: CBT enabled. NBD=2. Purge enabled. -
@Andrew I am having the exact same issue! Also rolling back! Glad its not just me haha
-
@flakpyro @florent I had the same problem with the test branch that did not get solved.
-
thabnks for the test
are you doing replication only ? or is a job doiing replication and backup ? -
@florent I am just running a "Delta Backup" to an NFS SR. I haven't rolled back yet so if there is any sort of logs i can provide let me know. This is my "home lab" at home where i test new versions of XOA and XCP-NG updates before we end up seeing new features in production with our full XOA appliance at work.
-
@florent The job is just Continuous Replication to another local host. These were normal hourly delta transfers.
-
Same. Delta, 2 threads, 2 runing, but jobs not cleared.
-
Continuous Replication failed with
Error: HANDLE_INVALID(VDI, OpaqueRef:db811593-f18e-7d15-ea8a-465bf7a94917)
-
A AtaxyaNetwork referenced this topic
-
@florent https://xcp-ng.org/forum/topic/10857/suddenly-backup-ends-but-tasks-remain-in-task-list/4
Rolled back and will stay there until this is fixed. Gave me heart attack....
-
PR for unclosd task should reach master today
https://github.com/vatesfr/xen-orchestra/pull/8590@Tristis-Oris vould you share ( by direct message if you prefer ) the rapport of the failed replication ?
-
-
@Tristis-Oris thanks, but it is marked as a private pastebin
-
@florent weird.. it say
Pending Moderation
. log is too huge to post here.check pm. it should work.
-
@florent On a quick CR test,
fix_nbd_progress
works correctly for me. -
@florent I have the current master (9a833) running now and it's working so far. No change in speed at this time (just testing CR delta).
I did notice that the active tasks show only one Export/NBD but I have 4 configured. I don't know if this is a task view issue (I guess I only need to see one) or a true 1x NBD export.
-
@florent Installed in the same test environment as last week, this time the backup ran successfully and the tasks cleared as usual. I will keep running this build over the next week but so far so good! I should note i am only running Delta backups at home. We use Delta + CR jobs in production at work but that is running full blown XOA. Is the plan to push this to XOA in the next monthly release?
-
Need to restart toolstack on each host after fix. Now all jobs dissapeared.
-
@florent Just updated XO and it ran my nightly backup without issues clearing tasks.
Nicely done. -
I am happy to hear this . I am working on this code almost full time since december
Did you try a restore / file restore to ensure the backups are exactly as intended ?