Package: python3.13
Version: 3.13.5-1
Severity: serious

Hi,

Python 3.13 is affected by this bug, referenced upstream:
https://github.com/python/cpython/issues/130327

The result is, in some cases, an object is garbage collected even if there
is a reference to it in a program.

The consequence for OpenStack Nova (ie: compute) is that spawning a VM
simply does not work. Here's the Nova bug entry:
https://bugs.launchpad.net/nova/+bug/2103413

This happens when Nova (OpenStack compute) tries to get credential from
Keystone (OpenStack auth) to talk to Neutron (OpenStack network), in order
to create a network port. It fails to get such credentials, as the object
keystoneauth1.session.SessionClient is garbaged collected due to the bug in
CPython.

This is only a single identified instance of the bug in Nova, though it is
very probable that we have this kind of troubles with many other Python code
in Trixie.

Stefano identified (bisected) the issue to this commit:
https://github.com/python/cpython/commit/c32dc47aca6e8fac152699bc613e015c44ccdba9

and a possible patch could be this one:
https://github.com/python/cpython/pull/130469/files

This patch hasn't been tested (yet).

I hope my bug report is detailed enough. To me, this is a grave RC bug that
must be fixed before the Trixie release. I'm in fact, *VERY* happy that we
have finally discovered what was going on in Nova and OpenStack, I was
desperating to find out. It looks like I'll only need to upload the latest
Eventlet to fix the remaining troubles when this CPython bug if fixed (more
about this later on in another bug entry...).

Cheers,

Thomas Goirand (zigo)

Reply via email to