XO/XOA CR not removing old VMs on destination SR
-
@olivierlambert @florent When running Continuous Replication, the current version of XO source (commit 26131) AND latest XOA (xo-server 5.116.0) are leaving old VMs on the destination SR each time the backup job runs. With hundreds of VMs duplicating every hour this creates thousands of old VMs on the destination machine...
The backup log from XOA does not list any errors.
{ "data": { "mode": "delta", "reportWhen": "failure" }, "id": "1685552686691", "jobId": "522e0064-4a95-423c-8f14-7b0f214b75b7", "jobName": "XOA Test CR to 11", "message": "backup", "scheduleId": "45c1ccec-898d-41a4-af34-49b5fca871bd", "start": 1685552686691, "status": "success", "infos": [ { "data": { "vms": [ "d2e9d407-bec9-9daf-9496-be5299ad1dde" ] }, "message": "vms" } ], "tasks": [ { "data": { "type": "VM", "id": "d2e9d407-bec9-9daf-9496-be5299ad1dde", "name_label": "VMTest" }, "id": "1685552687941", "message": "backup VM", "start": 1685552687941, "status": "success", "tasks": [ { "id": "1685552687979", "message": "snapshot", "start": 1685552687979, "status": "success", "end": 1685552688856, "result": "e6728814-db44-ae01-5124-cb01b7404a74" }, { "data": { "id": "d381b22e-f75a-f10c-982b-a1b6386e3ed1", "isFull": false, "name_label": "Local storage", "type": "SR" }, "id": "1685552688857", "message": "export", "start": 1685552688857, "status": "success", "tasks": [ { "id": "1685552689715", "message": "transfer", "start": 1685552689715, "status": "success", "end": 1685552691414, "result": { "size": 10511360 } } ], "end": 1685552691449 } ], "end": 1685552691636 } ], "end": 1685552691636 }
-
@Andrew found it : https://github.com/vatesfr/xen-orchestra/pull/6871
we'll release a patch ASAP -
I confirm this
-
@florent will check that ASAP tomorrow morning (Paris time)
-
@olivierlambert @florent
Looks like XO is not running the Destroy (old) VM on the destination SR. -
@Andrew found it : https://github.com/vatesfr/xen-orchestra/pull/6871
we'll release a patch ASAP -
@florent it's merged into master
-
I confirm the bug is fixed and also automatically cleaning the previously created VMs.
-
@florent XO and XOA are working correctly again for me now. Thanks!
-
-
-
Thanks everyone for your feedback!