#1149173 networking-l2gw: FTBFS: AttributeError: 'Context' object has no attribute 'tenant_id'

#1149173#5
Date:
2026-09-27 20:24:01 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202609/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:networking-l2gw, so that this is still
visible in the BTS web page for this package.

Thanks.
---------------------------------------------------------------------- Ran 291 tests in 18.745s FAILED (failures=18, skipped=6) + echo ======> STESTR TEST SUITE FAILED FOR python3.14: displaying pip3 freeze output... ======> STESTR TEST SUITE FAILED FOR python3.14: displaying pip3 freeze output... + [ -x /usr/bin/pip3 ] + pip3 freeze WARNING: The directory '/sbuild-nonexistent/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. alabaster==1.0.0 alembic==1.18.4 amqp==5.3.1 astroid==4.3.1 attrs==26.1.0 autocommand==2.2.2 autopage==0.6.0 babel==2.18.0 bcrypt==5.0.0 beautifulsoup4==4.15.0 blinker==1.9.0 cachetools==7.0.1 certifi==2026.7.22 cffi==2.1.1 chardet==5.2.0 charset-normalizer==3.4.7 cliff==4.16.0 cmd2==4.2.0+ds confluent-kafka==2.12.2 cotyledon==2.2.0 coverage==7.16.1 cryptography==49.0.0 ddt==1.7.2 debtcollector==3.1.0 decorator==5.3.1 defusedxml==0.7.1 deprecation==2.1.0 dnspython==2.8.0 docutils==0.23 dogpile.cache==1.5.0 etcd3==0.12.0 etcd3gw==2.7.0 eventlet==0.41.2 fasteners==0.20 fixtures==4.3.0 flake8==7.3.0 futurist==3.5.0 gevent==25.9.1 greenlet==3.3.2 grpcio==1.51.1 hacking==8.1.0 httplib2==0.32.0 idna==3.19 imagesize==2.0.1 iniconfig==2.1.0 invoke==3.0.3 iso8601==2.1.0 jaraco.context==6.0.1 jaraco.functools==4.1.0 Jinja2==3.1.6 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.26.0 jsonschema-specifications==2025.9.1 kazoo==2.11.0.dev0 keystoneauth1==5.17.0 keystonemiddleware==13.0.1 kombu==5.6.2 legacy-cgi==2.6.4 linkify-it-py==2.1.0 lxml==6.1.3 Mako==1.3.10.dev0 markdown-it-py==4.2.0 MarkupSafe==3.0.3 mccabe==0.7.0 mdurl==0.1.2 monotonic==1.6 more-itertools==11.1.0 msgpack==1.2.1 ncclient==0.6.17 netaddr==1.3.0 networking-l2gw==21.0.0+git.2026.4.9.c548b75828 neutron==29.0.0.0rc2 neutron-lib==5.0.1 oauthlib==3.3.1 openstacksdk==4.20.0 os-client-config==2.3.0 os-ken==4.2.2 os-resource-classes==1.1.0 os-service-types==1.9.0 os-testr==3.0.0 os-traits==3.9.0 os_vif==5.2.1 osc-lib==4.7.0 oslo.cache==4.3.0 oslo.concurrency==7.6.1 oslo.config==10.7.0 oslo.context==6.5.0 oslo.db==18.1.1 oslo.i18n==6.9.0 oslo.log==8.3.2 oslo.messaging==18.3.0 oslo.metrics==0.17.0 oslo.middleware==8.2.0 oslo.policy==6.0.1 oslo.privsep==3.12.0 oslo.reports==3.9.0 oslo.rootwrap==7.10.0 oslo.serialization==5.11.0 oslo.service==4.8.0 oslo.upgradecheck==2.8.0 oslo.utils==10.2.0 oslo.versionedobjects==3.12.0 oslosphinx==4.18.0 oslotest==6.1.1 osprofiler==4.3.0 ovs==4.0.0 ovsdbapp==2.19.0 packaging==26.2 paramiko==5.0.0 Paste==3.10.1 PasteDeploy==3.1.0 pbr==7.1.1 pecan==1.8.0 platformdirs==4.11.9 pluggy==1.6.0 prettytable==3.18.0 prometheus_client==0.21.1 prompt_toolkit==3.0.53 protobuf==4.21.12 psutil==7.2.2 psycopg2==2.9.13 pure-sasl==0.6.2 pycadf==4.0.1 pycodestyle==2.14.0 pycparser==3.0 pyflakes==3.4.0 Pygments==2.20.0 PyJWT==2.14.0 pykerberos==1.1.14 pymemcache==4.0.0 PyMySQL==1.2.0 PyNaCl==1.6.2 pyOpenSSL==26.4.0 pyparsing==3.3.2 pyperclip==1.11.0 pyroute2==0.8.1 pytest==9.1.1 python-binary-memcached==0.31.4 python-dateutil==2.9.0 python-designateclient==7.0.0 python-glanceclient==4.13.0 python-keystoneclient==6.0.0 python-manilaclient==6.3.0 python-memcached==1.60 python-neutronclient==14.0.0 python-novaclient==18.13.1 python-openstackclient==10.3.0 python-subunit==1.4.6 pyudev==0.24.4 PyYAML==6.0.3 pyzmq==27.1.0 redis==6.4.0 referencing==0.37.0 repoze-lru==0.8 requests==2.34.2 requests_mock==1.12.1 rfc3986==2.0.0 rich==15.0.0 rich-argparse==1.8.0 roman-numerals==4.1.0 Routes==2.5.1 rpds-py==0.30.0 setproctitle==1.3.7 setuptools==84.0.0 simplegeneric==0.8.1 simplejson==4.1.2 six==1.17.0 snowballstemmer==3.1.1 sortedcontainers==2.4.0 soupsieve==2.8.4 Sphinx==9.1.0 SQLAlchemy==2.0.52 statsd==4.0.1 stestr==4.2.1 stevedore==5.9.1 Tempita==0.6.0 tenacity==9.1.4 testrepository==0.0.21 testresources==2.1.2 testscenarios==0.6.2 testtools==2.9.1 tomlkit==0.13.3 tooz==9.1.0 typing_extensions==4.16.0 uc-micro-py==2.0.0 uhashring==2.5 urllib3==2.8.0 vine==5.1.0 voluptuous==0.16.0 waitress==3.0.2 warlock==2.1.0 wcwidth==0.8.3 WebOb==1.8.11 WebTest==3.0.7 wheel==0.47.0 wrapt==2.3.0 yappi==1.7.6 zake==0.2.2 zipp==3.23.0 zope.event==6.2 zope.interface==8.6 + exit 1 make[1]: *** [debian/rules:26: override_dh_install] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:7: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
#1149173#8
Date:
2026-10-06 11:51:16 UTC
From:
To:
Hello,

Bug #1149173 in networking-l2gw reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/openstack-team/neutron-plugins/networking-l2gw/-/commit/0b36032673b1894f2a20b1e2e646eafe2336c035
------------------------------------------------------------------------
Applied upstream patch "Replace tenant_id with project_id throughout
codebase", fixing FTBFS with neutron-lib 5.0.0 which removed the
long deprecated tenant_* properties from neutron_lib.context
(Closes: #1149173):
- replace-tenant_id-with-project_id.patch
Thanks Santiago Vila for the bug report.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1149173

#1149173#15
Date:
2026-10-07 10:55:04 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
networking-l2gw, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1149173@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated networking-l2gw package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 20 Sep 2026 20:21:36 +0200
Source: networking-l2gw
Architecture: source
Version: 1:22.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Closes: 1149173
Changes:
 networking-l2gw (1:22.0.0-1) unstable; urgency=medium
 .
   * New upstream release.
   * Fixed (build-)depends for this release.
   * Applied upstream patch "Replace tenant_id with project_id throughout
     codebase", fixing FTBFS with neutron-lib 5.0.0 which removed the
     long deprecated tenant_* properties from neutron_lib.context
     (Closes: #1149173):
     - replace-tenant_id-with-project_id.patch
     Thanks Santiago Vila for the bug report.
   * Generate and ship agent/server configs and policy drop-in.
Checksums-Sha1:
 a638c975399f4edbe7dc7ace889d536c4ad4abba 2795 networking-l2gw_22.0.0-1.dsc
 aff36a41801836fbc821e8eb518b1cf1f8bea71c 122908 networking-l2gw_22.0.0.orig.tar.xz
 7599b64991638eec1f5c1cc8236b4dbd9e84c2e3 15508 networking-l2gw_22.0.0-1.debian.tar.xz
 640c3a106126b2f441e0635885a9b69e229da58f 16266 networking-l2gw_22.0.0-1_amd64.buildinfo
Checksums-Sha256:
 129898a695319ca501f7d53c78751a0bde8faadb3606d8a858e341e7ac62f8b3 2795 networking-l2gw_22.0.0-1.dsc
 8e137349c441619dc239d40ab3210c8ddb0b9477a2cef45cb4332ae2e33ef4e3 122908 networking-l2gw_22.0.0.orig.tar.xz
 8754998150766ef21fd775c90be66d673d9a11be6191c56890029b30c9d593fe 15508 networking-l2gw_22.0.0-1.debian.tar.xz
 a3fce12ecdfed6fac070e3a3055cbee4470fdda1970906ce94a0f3928658099f 16266 networking-l2gw_22.0.0-1_amd64.buildinfo
Files:
 8fbd26320c4e6d9faef790a9b14aff2b 2795 net optional networking-l2gw_22.0.0-1.dsc
 a53dbf0fcb8a945a5c30fbfaece75379 122908 net optional networking-l2gw_22.0.0.orig.tar.xz
 fe1d4ae990dc78800b16bcf7dcd81cba 15508 net optional networking-l2gw_22.0.0-1.debian.tar.xz
 54d163d68364c40514b4e2f70b3c7096 16266 net optional networking-l2gw_22.0.0-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmrGINUACgkQ1BatFaxr
Q/5odw//UCOb9gA7Ed7ldbYQ3HhIoaG4u38JwHNJPQkaIslApxzc8NEkAifNiTcU
bnlVUjTLSVJ8BMwRhCsV6rW+i3nPEv1ArkpDPGkvdbeiepOHD4q0pevjoelriAxM
NpOIDKv19KbNYcmUvX1m6Qb/wu1MqTfPpTpJBW/k1uRgdtlBRFz8r7pnvWKjkYI8
6wj3l9+IuILn2R5powH4i00aVZHWjTn+P6A2bMQ3xLS+9i4nQrRMc2kpIinKvSAr
CN+gUNxt7VQJp1wtoDXCK2Mrgd1zS4LMH5j7TQUIjxFuf0zmVFSHVNLT8dUWKPkt
5ctTMArBhBzcMvJB/l+FdjmZU374g/0ZjaeEIpNQnZyfbeHErkw5V25Grrc4+3P/
wMMChujcUf5STzBJW5Y6s6ObHlHyGeFFc+TDEsW/VxWecTGxk0Cs2NuguV9DTIHI
tXubcrvzrDAGh6D0gGoN7GdZk7HNwW2uxXdU7lbs6ke81Xhk8B26kE38SdMR7lNp
d2e8s9Mkka3QxG8nnN6dQ9hJNybn9SAiAMkcGxtlTeDg+bJhAsH91yopMatqkoeG
D4fPmSpfuoxKxuEI+oCc0JePMIDq9pk+/v+z8h56avV6XNiGw34LzZh6SvQMOkRQ
vACONJc+4TqTnMWslaOxAy0IyvX8x0LaVSi4UI5r2LiY6k2ku2U=
=wuQV
-----END PGP SIGNATURE-----