On Mon, Aug 29, 2022 at 2:20 PM Diego Ercolani <diego.ercol...@ssis.sm>
wrote:

> Thank you for your support,
> I'm councious about the difficulty to keep everything in-line. I currently
> try to find the correct workload to make backup (using CBR) of VMs.
> I tryied both vprotect (with current tecnology preview) and Veeam
> (community using RHV plugin) And I'm currently experiencing very annoying
> problems.
> I can give you the engine-log
> https://cloud.ssis.sm/index.php/s/M9DqFHSaowYqa9H, I currently have two
> machines in an unconsinstent stato from the snapshot point of view:
> SSIS-otobo and SSIS-TPayX2go.

I empied the image_transfer table, last time it helped. This is the sql to
> restore it:
> INSERT INTO public.image_transfers
> (command_id,command_type,phase,last_updated,message,vds_id,disk_id,imaged_ticket_id,proxy_uri,bytes_sent,bytes_total,"type",active,daemon_uri,client_inactivity_timeout,image_format,backend,backup_id,client_type,shallow,timeout_policy)
> VALUES
>          ('54097389-db69-4aa3-a34d-eb6cb2c1fc4b',1024,7,'2022-08-26
> 15:00:46.138+02',NULL,'bac4cca5-b6db-4d66-af65-39b8929262b7','5d18a058-652f-4c94-a9ff-9c15152c61b4','1e1846a1-f9f0-49e5-912e-2f5bf8dd8144','
> https://ovirt-engine.ovirt:54323/images',12307202048,42949640192,1,false,'
> https://ovirt-node3.ovirt:54322/images
> ',3600,5,1,'7e06b6e9-92d9-4f83-ac16-9a06a638fac3',2,false,'legacy');
>

I don't see anything suspicious in that log - I see backups of both of the
aforementioned VMs but they all seem to succeed, including snapshot
removals. But it could be that something that is not covered by this log
went wrong as I can't see the backup 7e06b6e9-92d9-4f83-ac16-9a06a638fac3
there.


>
> I'm currently stuck because I cannot even remove the VMs as they are
> "locked during backup" operation
>

I see two options:
1. To stop ovirt-engine, remove the relevant parts from the
command_entities table and unlock the entities (there's a script for that:
https://github.com/oVirt/ovirt-engine/blob/master/packaging/setup/dbutils/unlock_entity.sh),
and then restart ovirt-engine
2. To finalize ongoing image transfers [1] and then finalize the backup [2]

The second option should be much simpler

[1]
https://github.com/oVirt/ovirt-engine-api-model/blob/4.5.11/src/main/java/services/ImageTransferService.java#L243-L255

[2]
https://github.com/oVirt/ovirt-engine-api-model/blob/4.5.11/src/main/java/services/VmBackupService.java#L69-L86


> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/RFMRQ4PDPGHPQKZURHIR2ZYS5HL4FXU7/
>
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HK4SM4BHRLNL2TICHG23QSUABM3NNHW4/

Reply via email to