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

Lee Yarwood lyarwood at redhat.com
Tue Oct 27 09:08:17 UTC 2020


On 26-10-20 13:32:20, Kashyap Chamarthy wrote:
> 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 
> 
>     
> [...]

I've pushed https://review.opendev.org/#/c/759831/ based on the feedback
from danpb, lets see if it resolves the issue.

-- 
Lee Yarwood                 A5D1 9385 88CB 7E5F BE64  6618 BCA6 6E33 F672 2D76
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20201027/270dd220/attachment-0001.sig>


More information about the openstack-discuss mailing list