[gate] nova-compute failing with python 3.6 + libvirt-python 6.8.0

Kashyap Chamarthy kchamart at redhat.com
Mon Oct 26 12:32:20 UTC 2020


On Mon, Oct 26, 2020 at 01:17:17PM +0100, Kashyap Chamarthy wrote:

[...]

> Great sleuthing so far.  (Not to mention the terribly cryptic orignal
> error message)
> 
> As a small addendum, was talking to Dan Berrangé from libvirt and
> pointed to the openAuth() method ... and  he wrote a quick
> 'libvirt-python' unit test for the openAuth() method:
> 
>     https://gitlab.com/libvirt/libvirt-python/-/merge_requests/28/diffs
> 
> ... and it seems to be working as expected (based on the CI result):
> 
>     https://gitlab.com/libvirt/libvirt-python/-/merge_requests/28/pipelines
> 
> ... it seems to validate several operating system platforms (and Python
> versions), including Ubuntu 18.04:
> 
>     https://gitlab.com/berrange/libvirt-python/-/pipelines/207610554

So ... Dan was able to reproduce the problem; the culprit was the the
combination of thread pool, Python 3.6.x and type hinting; the above
unit test from Dan didn't make use of 'tpool'.  He says:

    tpool + Python 3.6.x + type hinting is fubar

    If I add 'tpool' into my new unit tests, then it crashes & burns
    with the error msg Mel got 

    
[...]

-- 
/kashyap




More information about the openstack-discuss mailing list