Your message dated Fri, 08 Mar 2019 12:35:06 +0000
with message-id <[email protected]>
and subject line Bug#923949: fixed in keystone 2:14.0.1-2
has caused the Debian Bug report #923949,
regarding keystone: Python3 type confusion issue breaks LDAP integration
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
923949: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923949
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: keystone
Version: 2:14.0.1-1
Severity: important
Tags: upstream


Enabling and configuring LDAP integration leads to a type confusion issue:

ERROR keystone.common.wsgi [xxx] simple_bind() argument 1 must be str or None, 
not bytes: TypeError: simple_bind() argument 1 must be str or None, not bytes
ERROR keystone.common.wsgi Traceback (most recent call last):
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/common/wsgi.py", line 148, in __call__
ERROR keystone.common.wsgi     result = method(req, **params)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/common/controller.py", line 103, in 
wrapper
ERROR keystone.common.wsgi     return f(self, request, filters, **kwargs)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/identity/controllers.py", line 71, in 
list_users
ERROR keystone.common.wsgi     domain_scope=domain, hints=hints
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/common/manager.py", line 116, in 
wrapped
ERROR keystone.common.wsgi     __ret_val = __f(*args, **kwargs)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/identity/core.py", line 416, in wrapper
ERROR keystone.common.wsgi     return f(self, *args, **kwargs)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/identity/core.py", line 426, in wrapper
ERROR keystone.common.wsgi     return f(self, *args, **kwargs)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/identity/core.py", line 1061, in 
list_users
ERROR keystone.common.wsgi     ref_list = 
self._handle_shadow_and_local_users(driver, hints)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/identity/core.py", line 1044, in 
_handle_shadow_and_local_users
ERROR keystone.common.wsgi     return driver.list_users(hints) + fed_res
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/identity/backends/ldap/core.py", line 
87, in list_users
ERROR keystone.common.wsgi     return self.user.get_all_filtered(hints)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/identity/backends/ldap/core.py", line 
327, in get_all_filtered
ERROR keystone.common.wsgi     for user in self.get_all(query, hints)]
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/identity/backends/ldap/core.py", line 
319, in get_all
ERROR keystone.common.wsgi     hints=hints)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/identity/backends/ldap/common.py", 
line 1850, in get_all
ERROR keystone.common.wsgi     return super(EnabledEmuMixIn, 
self).get_all(ldap_filter, hints)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/identity/backends/ldap/common.py", 
line 1552, in get_all
ERROR keystone.common.wsgi     for x in self._ldap_get_all(hints, ldap_filter)]
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/common/driver_hints.py", line 42, in 
wrapper
ERROR keystone.common.wsgi     return f(self, hints, *args, **kwargs)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/identity/backends/ldap/common.py", 
line 1500, in _ldap_get_all
ERROR keystone.common.wsgi     with self.get_connection() as conn:
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/identity/backends/ldap/common.py", 
line 1251, in get_connection
ERROR keystone.common.wsgi     conn.simple_bind_s()
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/identity/backends/ldap/common.py", 
line 892, in simple_bind_s
ERROR keystone.common.wsgi     clientctrls=clientctrls)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/keystone/identity/backends/ldap/common.py", 
line 747, in simple_bind_s
ERROR keystone.common.wsgi     with self._get_pool_connection() as conn:
ERROR keystone.common.wsgi   File "/usr/lib/python3.7/contextlib.py", line 112, 
in __enter__
ERROR keystone.common.wsgi     return next(self.gen)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/ldappool/__init__.py", line 344, in connection
ERROR keystone.common.wsgi     conn = self._get_connection(bind, passwd)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/ldappool/__init__.py", line 294, in 
_get_connection
ERROR keystone.common.wsgi     conn = self._create_connector(bind, passwd)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/ldappool/__init__.py", line 253, in 
_create_connector
ERROR keystone.common.wsgi     self._bind(conn, bind, passwd)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/ldappool/__init__.py", line 226, in _bind
ERROR keystone.common.wsgi     conn.simple_bind_s(bind, passwd)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/ldappool/__init__.py", line 100, in 
simple_bind_s
ERROR keystone.common.wsgi     clientctrls)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 1215, in simple_bind_s
ERROR keystone.common.wsgi     res = 
self._apply_method_s(SimpleLDAPObject.simple_bind_s,*args,**kwargs)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 1197, in 
_apply_method_s
ERROR keystone.common.wsgi     return func(self,*args,**kwargs)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 443, in simple_bind_s
ERROR keystone.common.wsgi     msgid = 
self.simple_bind(who,cred,serverctrls,clientctrls)
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 437, in simple_bind
ERROR keystone.common.wsgi     return 
self._ldap_call(self._l.simple_bind,who,cred,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls))
ERROR keystone.common.wsgi   File 
"/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 313, in _ldap_call
ERROR keystone.common.wsgi     result = func(*args,**kwargs)
ERROR keystone.common.wsgi TypeError: simple_bind() argument 1 must be str or 
None, not bytes

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages keystone depends on:
ii  adduser                                 3.118
ii  apache2                                 2.4.38-2
ii  dbconfig-common                         2.0.11
ii  debconf [debconf-2.0]                   1.5.70
ii  libapache2-mod-wsgi-py3                 4.6.5-1
ii  lsb-base                                10.2018112800
ii  python-q-text-as-data [q-text-as-data]  1.7.4+2018.12.21+git+28f776ed46-1
ii  python3-keystone                        2:14.0.1-1
ii  python3-keystoneclient                  1:3.17.0-2
ii  python3-openstackclient                 3.16.2-1
ii  sqlite3                                 3.26.0+fossilbc891ac6b-2
ii  ssl-cert                                1.0.39

keystone recommends no packages.

Versions of packages keystone suggests:
ii  apparmor  2.13.2-7

-- debconf information excluded


Marco Schuster
Web Developer

Interone GmbH
Theresienhoehe 12 | 80339 Muenchen | Germany
http://interone.de | http://facebook.com/interone.de
+49-89-55186-3166 | +49-173-9032923
[email protected]

https://goo.gl/maps/As0Nz | https://goo.gl/maps/Xq4XNVGqkmu


An Agency of BBDO Worldwide
AG München HRA 79582
Geschäftsführer: Matthias Schäfer, Stephan Tewes, Frank Wolfram

Information contained in this message is confidential and may be legally 
privileged. If you are not the addressee indicated in this message (or 
responsible for the delivery of the message to such person), you may not copy, 
disclose or deliver this message or any part of it to anyone, in any form. In 
such case, you should delete this message and kindly notify the sender by reply 
Email. Opinions, conclusions and other information in this message that does 
not relate to the official business of Interone GmbH shall be understood as 
neither given nor endorsed by it.

--- End Message ---
--- Begin Message ---
Source: keystone
Source-Version: 2:14.0.1-2

We believe that the bug you reported is fixed in the latest version of
keystone, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated keystone 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 08 Mar 2019 12:19:47 +0100
Source: keystone
Binary: keystone keystone-doc python3-keystone
Architecture: source all
Version: 2:14.0.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description:
 keystone   - OpenStack identity service
 keystone-doc - OpenStack identity service - documentation
 python3-keystone - OpenStack identity service - library
Closes: 923949
Changes:
 keystone (2:14.0.1-2) unstable; urgency=medium
 .
   * Add PY3_switch_to_using_unicode_text_values.patch and requires
     python3-ldappool >= 2.3.1, which fixes using ldap with Keystone under
     Python 3 (Closes: #923949).
Checksums-Sha1:
 06be51ab1536d68ef0147ba6748607a22a3bdf26 3867 keystone_14.0.1-2.dsc
 371150cf859a561d3d4d600cf83f47fef21f31b1 43924 keystone_14.0.1-2.debian.tar.xz
 4d4ef2d225d33d802704631b71fd879690ea0738 2183520 keystone-doc_14.0.1-2_all.deb
 96e3f34ff331a5c243bc24acddf0aa5935ed07a4 68176 keystone_14.0.1-2_all.deb
 fdb48f0e215129f7c5cbc5b5c9220f7e63e6e373 15753 
keystone_14.0.1-2_amd64.buildinfo
 48c053f58a16d5de8ba3655152609b53761ea6e2 620808 
python3-keystone_14.0.1-2_all.deb
Checksums-Sha256:
 0461cf009c051944debb493a096733bdc72913c3787f7aa7c2c5e95a35e92e11 3867 
keystone_14.0.1-2.dsc
 f89532259256da140599aaf939fe8af92a271eca5b298e18a59923370d6cfef6 43924 
keystone_14.0.1-2.debian.tar.xz
 c82fb3f0b76fb31b1f424e4208cfdf8c8fa3fdad118894815d951f7326e4049d 2183520 
keystone-doc_14.0.1-2_all.deb
 ac77f3bbfeed6884c8334948d3a73f45f5e58b433be239f95248acf30b0d76e1 68176 
keystone_14.0.1-2_all.deb
 b1fd577fdb7a0e3c9e6ffba992c614029d2df555d83c14944f03448f0889026f 15753 
keystone_14.0.1-2_amd64.buildinfo
 6bc9c65fa572383410de21f92fb49909593e4d2de2e2d3c225cf3245855ab395 620808 
python3-keystone_14.0.1-2_all.deb
Files:
 221e252af824f12d5e3d4177d5f366e9 3867 net optional keystone_14.0.1-2.dsc
 6cf83dcd7e20c3f994be306b18af1c19 43924 net optional 
keystone_14.0.1-2.debian.tar.xz
 9822a4761e2001ce969235f0e63b3dcc 2183520 doc optional 
keystone-doc_14.0.1-2_all.deb
 285daefae3e74139620f78407f03e9c5 68176 net optional keystone_14.0.1-2_all.deb
 c6a6e4f76079152817459848207875e3 15753 net optional 
keystone_14.0.1-2_amd64.buildinfo
 cf75a5a9f0fe4725e9289f9e97d080e1 620808 python optional 
python3-keystone_14.0.1-2_all.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEtKCq/KhshgVdBnYUq1PlA1hod6YFAlyCXV4ACgkQq1PlA1ho
d6ZfrhAAtJcyXr5bpoOi9bQxW/+PZIIK5JMapbCBQr0XtKuzvIQBQ8edpfiIR3UE
jgT53K7O5HervnXIXMB0yAXUHGTRK1biVJMQ2HXqo8S5zTKYuPCKs/9Vle9+tDLo
+uiSxtdtBx4tI/BNs+XvkYG2vHeZUFMfK2oMGvN9jL4DCUR86aRuRUxiLgTiYWjg
Bv//Nr2ze38GjEC8uU+DKxLpwhuO5xkqHJPIIX3AzdCcmtXe0HWln3KNa3Y4ekAs
FA47XYwFfwix/cNyzbKRlPv/OjqM13+RRx34BAZ5zrbJuDFc9Yz4Oh9vLmusuC98
AFe3+Qx7EW8kYrAkL3pr/1iwIW3cOOi4vf9ZMWY4ViJgI/TZe6pGnqwWFSlh9OQr
0NOSfK6FE9rNX0ee0yr0Z2F2wSfqObT2rJNmQ7krGLCGfAtV3tH13JfdtNpnwGUj
cgXqiWLDw+Wiv/K8alm0R/Zeg8gvLO/9XhdXdG54A6AZmo5DLbOx0Y9VXVxUzs4f
QDr9jtc5KYIWbjYWTfrk+HIjweJRt1m+dUT63bD+G52DcRAnmBBf1Lik7HX5+ijz
jd6YbKT3EU7eQ57xlSG4zevZqw2Q7MlV8Ta8kdnNctJJwef+jK3KzjI+eZCW4d36
1ZokX6GyM+neldFEGF9qxHGAj6oDx6pZIrgiWV5LOZW0CH6gv2g=
=Q76R
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to