[ovirt-devel] Re: RHV and oVirt CBT issue

2021-08-17 Thread Pavel Bar
Hi,
After investigating the logs I believe 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 problem. The issues are 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  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  wrote:
>
>> +Pavel Bar  +Benny Zlotnik 
>>
>> On Sun, 1 Aug 2021 at 08:53, luwen.zhang  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//snapshots`, but get the following error.
>>>
>>> 
>>>
>>> 
>>>
>>> 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
>>> )
>>>
>>> Operation Failed
>>> 
>>>
>>> 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:
>>> https://drive.google.com/file/d/1T3-EOxYYl3oFZOA9VMMBte5WyBoUO48U/view?usp=sharing
>>> VDSM logs:
>>> https://drive.google.com/file/d/1x0B8lGqnKEDrgn666CuN3hqUGwD7fcYv/view?usp=sharing
>>>
>>> Thanks & regards!
>>> On 07/29/2021 19:20,Nir Soffer 
>>> wrote:
>>>
>>> On Thu, Jul 29, 2021 at 10:08 AM luwen.zhang 
>>> 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/RCVRNUGVPZITFBOM7OXVQRNYI56DBOF6/


[ovirt-devel] Re: Python SDK 4.4.15 problems

2021-08-17 Thread Martin Perina
Hi Francesco,

any reason why you are installing Python SDK on the host from pip when
there is an RPM available? Could you please try to remove pip installed
version and use RPM installed and retest?

Thanks,
Martin

On Mon, Aug 16, 2021 at 12:27 PM Nir Soffer  wrote:

> On Mon, Aug 16, 2021 at 12:38 PM francesco--- via Devel 
> wrote:
> > in a new deployed host (Centos8, oVirt 4.4) with python module
> ovirt-engine-sdk-python 4.4.15 I was unable to use the Python SDK API. The
> script hanged in the connection test, with the following strace:
>
> Which script?
> What was the output of the script?
> Most scripts log to example.log, do you have any clue there?
> Some scripts support --debug option to log more info to the log. Did you
> use it?
>
> If you run strace, use:
>
> strace -f -tt -T -o output.strace command ...
>
> And share the complete trace.
>
> This will show all threads/child processes and add timestamps and syscalls
> elapsed times.
>
> Nir
> ___
> 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/77CYNCUVZ2YJ2FQBLHIWPR632ORAUSM5/
>


-- 
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.
___
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/E265FGHDX3NBOMY7N5PEKXZMQP3FJNKH/