Activity log for bug #1819453

Date Who What changed Old value New value Message
2019-03-11 12:46:33 David O Neill bug added bug
2019-03-11 12:49:31 David O Neill description Proposed action: ============= Key / value failed check error. Should check key exists and warn user of bad users / continue Bug presented by: ================= openstack user list --domain neo.id cannot concatenate 'str' and 'NoneType' objects (HTTP 400) (Request-ID: req-cc0e225d-d033-4dfa-aff8-7311389d4f58) Trace: ====== (keystone.common.wsgi): 2019-03-11 12:30:47,154 ERROR cannot concatenate 'str' and 'NoneType' objects Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 228, in __call__ result = method(req, **params) File "/usr/lib/python2.7/dist-packages/keystone/common/controller.py", line 235, in wrapper return f(self, request, filters, **kwargs) File "/usr/lib/python2.7/dist-packages/keystone/identity/controllers.py", line 233, in list_users return UserV3.wrap_collection(request.context_dict, refs, hints=hints) File "/usr/lib/python2.7/dist-packages/keystone/common/controller.py", line 499, in wrap_collection cls.wrap_member(context, ref) File "/usr/lib/python2.7/dist-packages/keystone/common/controller.py", line 468, in wrap_member cls._add_self_referential_link(context, ref) File "/usr/lib/python2.7/dist-packages/keystone/common/controller.py", line 464, in _add_self_referential_link ref['links']['self'] = cls.base_url(context) + '/' + ref['id'] TypeError: cannot concatenate 'str' and 'NoneType' objects Offending Data: =============== @ line 233 i put LOG.debug( pprint.pformat( refs ) ) grep -b 2 "'id': None," /varlog/keystone/keystone.log {'domain_id': u'8ce102de5ac644288f61838f5e0f46e7', 'email': u'apiperdana@gmail.com', 'id': None, -- {'domain_id': u'8ce102de5ac644288f61838f5e0f46e7', 'email': u'donisetiawan.050@gmail.com', 'id': None, -- {'domain_id': u'8ce102de5ac644288f61838f5e0f46e7', 'email': u'mizno@carijasa.co.id', 'id': None, Platform: ========= root@juju-a45617-8-lxd-4:/home/ubuntu# cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS" NAME="Ubuntu" VERSION="16.04.5 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.5 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial verions: ======== root@juju-a45617-8-lxd-4:/home/ubuntu# dpkg --list | grep keystone ii keystone 2:11.0.3-0ubuntu1~cloud0 all OpenStack identity service - Daemons ii python-keystone 2:11.0.3-0ubuntu1~cloud0 all OpenStack identity service - Python library ii python-keystoneauth1 2.18.0-0ubuntu2~cloud0 all authentication library for OpenStack Identity - Python 2.7 ii python-keystoneclient 1:3.10.0-0ubuntu1~cloud0 all client library for the OpenStack Keystone API - Python 2.x ii python-keystonemiddleware 4.14.0-0ubuntu1.2~cloud0 all Middleware for OpenStack Identity (Keystone) - Python 2.x Proposed action: ============= Key / value failed check error. Should check key exists and warn user of bad users / continue Bug presented by: ================= openstack user list --domain customerdata cannot concatenate 'str' and 'NoneType' objects (HTTP 400) (Request-ID: req-cc0e225d-d033-4dfa-aff8-7311389d4f58) Trace: ====== (keystone.common.wsgi): 2019-03-11 12:30:47,154 ERROR cannot concatenate 'str' and 'NoneType' objects Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 228, in __call__ result = method(req, **params) File "/usr/lib/python2.7/dist-packages/keystone/common/controller.py", line 235, in wrapper return f(self, request, filters, **kwargs) File "/usr/lib/python2.7/dist-packages/keystone/identity/controllers.py", line 233, in list_users return UserV3.wrap_collection(request.context_dict, refs, hints=hints) File "/usr/lib/python2.7/dist-packages/keystone/common/controller.py", line 499, in wrap_collection cls.wrap_member(context, ref) File "/usr/lib/python2.7/dist-packages/keystone/common/controller.py", line 468, in wrap_member cls._add_self_referential_link(context, ref) File "/usr/lib/python2.7/dist-packages/keystone/common/controller.py", line 464, in _add_self_referential_link ref['links']['self'] = cls.base_url(context) + '/' + ref['id'] TypeError: cannot concatenate 'str' and 'NoneType' objects Offending Data: =============== @ line 233 i put LOG.debug( pprint.pformat( refs ) ) grep -b 2 "'id': None," /varlog/keystone/keystone.log {'domain_id': u'8ce102de5ac644288f61838f5e0f46e7', 'email': u'customerdata@cusomter.com', 'id': None, -- {'domain_id': u'8ce102de5ac644288f61838f5e0f46e7', 'email': u'customerdata@cusomter.com', 'id': None, -- {'domain_id': u'8ce102de5ac644288f61838f5e0f46e7', 'email': u'customerdata@cusomter.com', 'id': None, Platform: ========= cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS" NAME="Ubuntu" VERSION="16.04.5 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.5 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial verions: ======== dpkg --list | grep keystone ii keystone 2:11.0.3-0ubuntu1~cloud0 all OpenStack identity service - Daemons ii python-keystone 2:11.0.3-0ubuntu1~cloud0 all OpenStack identity service - Python library ii python-keystoneauth1 2.18.0-0ubuntu2~cloud0 all authentication library for OpenStack Identity - Python 2.7 ii python-keystoneclient 1:3.10.0-0ubuntu1~cloud0 all client library for the OpenStack Keystone API - Python 2.x ii python-keystonemiddleware 4.14.0-0ubuntu1.2~cloud0 all Middleware for OpenStack Identity (Keystone) - Python 2.x
2019-03-11 12:56:26 James Troup affects keystone keystone (Ubuntu)
2019-03-11 13:22:28 James Page bug task added keystone
2019-03-11 13:30:22 Ryan Beisner bug added subscriber Ryan Beisner
2019-03-19 21:24:33 Felipe Reyes tags sts
2019-03-20 14:53:01 Corey Bryant keystone (Ubuntu): status New Triaged
2019-03-20 14:53:03 Corey Bryant keystone (Ubuntu): importance Undecided High
2019-03-20 15:19:43 Corey Bryant bug task added cloud-archive
2019-03-20 15:20:53 Corey Bryant nominated for series cloud-archive/ocata
2019-03-20 15:20:53 Corey Bryant bug task added cloud-archive/ocata
2019-03-20 15:20:53 Corey Bryant nominated for series cloud-archive/queens
2019-03-20 15:20:53 Corey Bryant bug task added cloud-archive/queens
2019-03-20 15:20:53 Corey Bryant nominated for series cloud-archive/rocky
2019-03-20 15:20:53 Corey Bryant bug task added cloud-archive/rocky
2019-03-20 15:20:53 Corey Bryant nominated for series cloud-archive/pike
2019-03-20 15:20:53 Corey Bryant bug task added cloud-archive/pike
2019-03-20 15:20:53 Corey Bryant nominated for series cloud-archive/mitaka
2019-03-20 15:20:53 Corey Bryant bug task added cloud-archive/mitaka
2019-03-20 15:20:53 Corey Bryant nominated for series cloud-archive/stein
2019-03-20 15:20:53 Corey Bryant bug task added cloud-archive/stein
2019-03-20 15:21:03 Corey Bryant cloud-archive/ocata: status New Triaged
2019-03-20 15:21:24 Corey Bryant cloud-archive/ocata: status Triaged New
2019-03-20 15:21:29 Corey Bryant cloud-archive/queens: status New Triaged
2019-03-20 15:21:32 Corey Bryant keystone (Ubuntu): status Triaged New
2019-03-20 15:21:35 Corey Bryant keystone (Ubuntu): importance High Undecided
2019-03-20 15:21:39 Corey Bryant cloud-archive/queens: importance Undecided High
2019-03-20 15:22:01 Corey Bryant nominated for series Ubuntu Bionic
2019-03-20 15:22:01 Corey Bryant bug task added keystone (Ubuntu Bionic)
2019-03-20 15:22:01 Corey Bryant nominated for series Ubuntu Xenial
2019-03-20 15:22:01 Corey Bryant bug task added keystone (Ubuntu Xenial)
2019-03-20 15:22:01 Corey Bryant nominated for series Ubuntu Disco
2019-03-20 15:22:01 Corey Bryant bug task added keystone (Ubuntu Disco)
2019-03-20 15:22:01 Corey Bryant nominated for series Ubuntu Cosmic
2019-03-20 15:22:01 Corey Bryant bug task added keystone (Ubuntu Cosmic)
2019-03-20 15:30:22 Corey Bryant keystone (Ubuntu Bionic): importance Undecided High
2019-03-20 15:30:22 Corey Bryant keystone (Ubuntu Bionic): status New Triaged
2019-03-21 20:33:19 Corey Bryant keystone (Ubuntu Bionic): importance High Undecided
2019-03-21 20:33:19 Corey Bryant keystone (Ubuntu Bionic): status Triaged New
2019-03-21 20:33:39 Corey Bryant cloud-archive/queens: importance High Undecided
2019-03-21 20:33:39 Corey Bryant cloud-archive/queens: status Triaged New
2019-05-13 21:47:47 Colleen Murphy keystone: status New Incomplete
2020-07-02 19:59:33 Steve Langasek keystone (Ubuntu Disco): status New Won't Fix