Our future backup code: test it!
-
@florent updated my homelab XO instance this morning to try this out since its been merged.
Seems like concurrency has changed if the field is left empty? It used to default to 2 but now i see it trying to back up every VM in the job at once?I dont think this is the case anymore, its just the completed tasks do not update their progress and clear properly.Under the "Backups" Tab in the XO the backup says successful, however none of the concurrent backup tasks have completed under tasks. L
ooking at the backup "Remote" storage i see it still appears to be writing data so perhaps the job is not actually complete as XO states. --This was the merge operation happening in the background as it turns out the job was actually complete however the tasks were not clearing. -
@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....