Thank you so much for the update Pavel!
Ok, we will try to check the DB leftovers and will share with you if we find 
something new. But so far we haven??t seen the same problem again.


Best regards!

Luwen Zhang


------------------ Original ------------------
From: Pavel Bar <p...@redhat.com&gt;
Date: Tue,Aug 17,2021 11:30 PM
To: luwen.zhang <luwen.zh...@vinchin.com&gt;, huangchua...@vinchin.com 
<huangchua...@vinchin.com&gt;
Cc: devel@ovirt.org <devel@ovirt.org&gt;
Subject: Re: [ovirt-devel] Re: RHV and oVirt CBT issue



Hi,After investigating the&nbsp;logs I believe&nbsp;that there were few issues 
that might have caused this unstable behavior.
1) Looks like the DB still contained some leftovers from the already fixed bug 
which was causing duplicate entries. Even after the date of engine upgrade I 
still saw some "Duplicate key" errors. I suggest cleaning the DB (if that is 
possible).
2) Also saw a few other known (and already reported) issues that also might 
have caused the&nbsp;problem. The issues are&nbsp;going to be fixed in the 
coming 4.4.9 version, resulting in more stability.


I asked our QE team to inform me if they encounter this 'disks stuck in 
FINALIZING' issue, so I'll be able to try and investigate it locally.
But again, this issue might be caused by either some DB leftovers or issues 
that we are already WIP fixing them.


If you opened a bug, please send the link to it here.


Thank you in advance.


Pavel


On Wed, 11 Aug 2021 at 15:24, Pavel Bar <p...@redhat.com&gt; wrote:

Hi,Just a short status update FYI.
The issue is not forgotten, I'm looking at it.
Found in logs a few known issues that are gonna be fixed in the next version, 
but still not sure that the issue you described will be fixed by them.
WIP, will continue updating.


Thank you!


Pavel




On Sun, 1 Aug 2021 at 10:38, Eyal Shenitzky <eshen...@redhat.com&gt; wrote:

+Pavel Bar&nbsp;+Benny Zlotnik&nbsp;



On Sun, 1 Aug 2021 at 08:53, luwen.zhang <luwen.zh...@vinchin.com&gt; wrote:

            
      
                           
              
     Sorry I was trying to open a new thread for this issue, but it seems I 
failed to submit. Here let me explain how the issue is reproduced.



It??s a regular backup by using CBT+imageip API, after a series of successful 
backup, at one of the backup session beginning, when we try to obtain the VM 
config and the snapshot list (obtain snapshot list can determine the VM virtual 
disk format is RAW or QCOW2) by using `GET vms/<vm-id&gt;/snapshots`, but get 
the following error.
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
 
<fault&gt;
 
&nbsp;&nbsp;&nbsp; <detail&gt;duplicate key 
acf1edaa-e950-4c4f-94df-1bd6b3da49c1 (attempted merging values 
org.ovirt.engine.core.common.businessentities.storage.diskimage@5103046c and 
org.ovirt.engine.core.common.businessentities.storage.diskimage@d973046c)</detail&gt;
 
&nbsp;&nbsp;&nbsp; <reason&gt;Operation Failed</reason&gt;
 </fault&gt;&nbsp;


After this, on oVirt engine web console, the VM show 2 disks (actually it only 
has 1) , and the disk status always showing ??Finalizing??, it??s been more 
than 30 hours now, and during this, cannot modify VM disk or take snapshots.


Before upgrading oVirt engine to 4.4.7.7-1.el8 this problem happened 
frequently, after upgrading, the frequency is reduced.


Here I??m adding the engine logs and vdsm logs.
Engine 
logs:&nbsp;https://drive.google.com/file/d/1T3-EOxYYl3oFZOA9VMMBte5WyBoUO48U/view?usp=sharing
VDSM 
logs:&nbsp;https://drive.google.com/file/d/1x0B8lGqnKEDrgn666CuN3hqUGwD7fcYv/view?usp=sharing


Thanks &amp; regards!
     On 07/29/2021 19:20??Nir Soffer<nsof...@redhat.com&gt; wrote?? 
 
  On Thu, Jul 29, 2021 at 10:08 AM luwen.zhang <luwen.zh...@vinchin.com&gt; 
wrote:
 The problem occurred yesterday, but we waited for more than 20 hours, still 2 
disks and in Finalizing state.

If the image transfer is "finalizing" it means the image transfer is
trying to finalize, but the operation could not complete.

In this phase the disk remains locked, and it should not be possible
to start a new image transfer
(e.g perform another backup).

Engine and vdsm logs should explain why the image transfer is stuck in
the finalizing phase.

Can you add detailed instructions on how to reproduce this issue?

 
 
 
 _______________________________________________
 Devel mailing list -- devel@ovirt.org
 To unsubscribe send an email to devel-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/devel@ovirt.org/message/V2AEZX2V6JICYGMNBJQJ2W6AGWG452DQ/
 



-- 
Regards,

Eyal Shenitzky
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/PWYOHIUJNTPM7UUL34LKYM5LELBXCB2U/

Reply via email to