Activity log for bug #1763179

Date Who What changed Old value New value Message
2018-04-11 21:01:25 Sean McGinnis bug added bug
2018-04-11 21:01:56 Sean McGinnis oslo.versionedobjects: assignee Sean McGinnis (sean-mcginnis)
2018-04-11 21:06:11 OpenStack Infra oslo.versionedobjects: status New In Progress
2018-04-11 21:11:04 Ben Nemec oslo.versionedobjects: importance Undecided High
2018-04-16 16:28:00 OpenStack Infra oslo.versionedobjects: status In Progress Fix Released
2018-04-17 12:31:41 Corey Bryant bug task added python-oslo.versionedobjects (Ubuntu)
2018-04-17 12:31:59 Corey Bryant nominated for series Ubuntu Bionic
2018-04-17 12:31:59 Corey Bryant bug task added python-oslo.versionedobjects (Ubuntu Bionic)
2018-04-17 12:32:08 Corey Bryant python-oslo.versionedobjects (Ubuntu Bionic): status New Triaged
2018-04-17 12:32:10 Corey Bryant python-oslo.versionedobjects (Ubuntu Bionic): importance Undecided High
2018-04-17 12:32:22 Corey Bryant bug task added cloud-archive
2018-04-17 12:32:29 Corey Bryant nominated for series cloud-archive/queens
2018-04-17 12:32:29 Corey Bryant bug task added cloud-archive/queens
2018-04-17 12:32:35 Corey Bryant cloud-archive/queens: status New Triaged
2018-04-17 12:32:38 Corey Bryant cloud-archive/queens: importance Undecided High
2018-04-17 12:41:33 Corey Bryant nominated for series cloud-archive/ocata
2018-04-17 12:41:33 Corey Bryant bug task added cloud-archive/ocata
2018-04-17 12:41:33 Corey Bryant nominated for series cloud-archive/pike
2018-04-17 12:41:33 Corey Bryant bug task added cloud-archive/pike
2018-04-17 12:41:39 Corey Bryant cloud-archive/ocata: status New Triaged
2018-04-17 12:41:42 Corey Bryant cloud-archive/pike: status New Triaged
2018-04-17 12:41:45 Corey Bryant cloud-archive/pike: importance Undecided High
2018-04-17 12:41:47 Corey Bryant cloud-archive/ocata: importance Undecided High
2018-04-17 13:14:04 Corey Bryant nominated for series Ubuntu Artful
2018-04-17 13:14:04 Corey Bryant bug task added python-oslo.versionedobjects (Ubuntu Artful)
2018-04-17 13:14:04 Corey Bryant nominated for series Ubuntu Xenial
2018-04-17 13:14:04 Corey Bryant bug task added python-oslo.versionedobjects (Ubuntu Xenial)
2018-04-17 13:14:15 Corey Bryant python-oslo.versionedobjects (Ubuntu Artful): status New Triaged
2018-04-17 13:14:17 Corey Bryant python-oslo.versionedobjects (Ubuntu Xenial): status New Triaged
2018-04-17 13:14:20 Corey Bryant python-oslo.versionedobjects (Ubuntu Xenial): importance Undecided High
2018-04-17 13:14:21 Corey Bryant python-oslo.versionedobjects (Ubuntu Artful): importance Undecided High
2018-04-17 13:14:36 Corey Bryant nominated for series cloud-archive/mitaka
2018-04-17 13:14:36 Corey Bryant bug task added cloud-archive/mitaka
2018-04-17 13:14:48 Corey Bryant cloud-archive/mitaka: importance Undecided High
2018-04-17 13:14:48 Corey Bryant cloud-archive/mitaka: status New Triaged
2018-04-17 13:23:24 Corey Bryant description Change https://review.openstack.org/#/c/557778/ changed the return value for coerce() to explicitly force the value to be unicode. This causes problems with Python 2 runtimes, where the expected value of a string is no longer a string but now unicode (see: https://github.com/openstack/cinder/blob/b89e73a2ac315927d2eee42129597b14e87ba685/cinder/tests/unit/volume/drivers/dell_emc/vmax/test_vmax.py#L3412) The correct fix should be to use either six.text_type to convert it, or format it into a string as is being done, but without forcing it to be a unicode string. "%s" will end up being the correct type depending on whether it is running under py2 or py3. SRU details for Ubuntu ---------------------- [Impact] See Original Description below. [Test Case] 1. deploy openstack env 2. source novarc ( as admin ) 3. keystone user-create --name test 4. openstack user set --password-prompt test 4. log into keystone node and install mysql-client 5. connect to mysql with keystone user 6. do below query - set foreign_key_checks = 0; - update local_user set user_id='Gāo' where user_id='UUID'; - update user set id='Gāo' where id='UUID'; - set foreign_key_checks = 1; 7. keystone user-role-add --user test --tenant admin --role Admin 8. source novarc ( as test ) 9. cinder create --name test 1 got unicode error on cinder-api node logs [Regression Potential] Low as the patch has landed upstream. Original Description -------------------- Change https://review.openstack.org/#/c/557778/ changed the return value for coerce() to explicitly force the value to be unicode. This causes problems with Python 2 runtimes, where the expected value of a string is no longer a string but now unicode (see: https://github.com/openstack/cinder/blob/b89e73a2ac315927d2eee42129597b14e87ba685/cinder/tests/unit/volume/drivers/dell_emc/vmax/test_vmax.py#L3412) The correct fix should be to use either six.text_type to convert it, or format it into a string as is being done, but without forcing it to be a unicode string. "%s" will end up being the correct type depending on whether it is running under py2 or py3.
2018-04-17 13:23:45 Corey Bryant bug added subscriber Ubuntu Stable Release Updates Team
2018-04-17 13:42:44 Corey Bryant cloud-archive/ocata: status Triaged Fix Committed
2018-04-17 13:42:45 Corey Bryant tags verification-ocata-needed
2018-04-17 17:43:17 Launchpad Janitor python-oslo.versionedobjects (Ubuntu Bionic): status Triaged Fix Released
2018-04-20 15:58:25 Corey Bryant cloud-archive/queens: status Triaged Fix Committed
2018-04-20 15:58:26 Corey Bryant tags verification-ocata-needed verification-ocata-needed verification-queens-needed
2018-04-23 11:52:27 Corey Bryant cloud-archive/queens: status Fix Committed Fix Released
2018-04-25 17:19:47 OpenStack Infra tags verification-ocata-needed verification-queens-needed in-stable-queens verification-ocata-needed verification-queens-needed
2018-04-26 13:17:59 Corey Bryant bug added subscriber Seyeong Kim
2018-04-26 15:10:26 Seyeong Kim description SRU details for Ubuntu ---------------------- [Impact] See Original Description below. [Test Case] 1. deploy openstack env 2. source novarc ( as admin ) 3. keystone user-create --name test 4. openstack user set --password-prompt test 4. log into keystone node and install mysql-client 5. connect to mysql with keystone user 6. do below query - set foreign_key_checks = 0; - update local_user set user_id='Gāo' where user_id='UUID'; - update user set id='Gāo' where id='UUID'; - set foreign_key_checks = 1; 7. keystone user-role-add --user test --tenant admin --role Admin 8. source novarc ( as test ) 9. cinder create --name test 1 got unicode error on cinder-api node logs [Regression Potential] Low as the patch has landed upstream. Original Description -------------------- Change https://review.openstack.org/#/c/557778/ changed the return value for coerce() to explicitly force the value to be unicode. This causes problems with Python 2 runtimes, where the expected value of a string is no longer a string but now unicode (see: https://github.com/openstack/cinder/blob/b89e73a2ac315927d2eee42129597b14e87ba685/cinder/tests/unit/volume/drivers/dell_emc/vmax/test_vmax.py#L3412) The correct fix should be to use either six.text_type to convert it, or format it into a string as is being done, but without forcing it to be a unicode string. "%s" will end up being the correct type depending on whether it is running under py2 or py3. [Impact] In Kilo, with ldap integrated, user_id can have non uuid format ( e.g. Gāo ) Then after upgrading kilo to mitaka ( in trusty env ) Gāo user can't create cinder volume with unicode error. Affected Xenial, UCA Mitaka ( this is modified after i re-testing all ) Please refer to error code like below [1] [Test Case] 1. deploy openstack env 2. source novarc ( as admin ) 3. keystone user-create --name test 4. openstack user set --password-prompt test 4. log into keystone node and install mysql-client 5. connect to mysql with keystone user 6. do below query - set foreign_key_checks = 0; - update local_user set user_id='Gāo' where user_id='UUID'; - update user set id='Gāo' where id='UUID'; - set foreign_key_checks = 1; 7. keystone user-role-add --user test --tenant admin --role Admin 8. source novarc ( as test ) 9. cinder create --name test 1 got unicode error on cinder-api node logs [Regression Potential] This patch make code handles unicode non uuid form user id. Basically this has little risk. but cinder-api service need to be restarted. [Others] [1] ########### 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/dist-packages/taskflow/types/failure.py", line 343, in reraise 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault six.reraise(*self._exc_info) 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/executor.py", line 82, in _execute_task 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault result = task.execute(**arguments) 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/dist-packages/cinder/volume/flows/api/create_volume.py", line 527, in execute 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault volume = objects.Volume(context=context, **volume_properties) 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/dist-packages/cinder/objects/volume.py", line 180, in __init__ 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault super(Volume, self).__init__(*args, **kwargs) 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 304, in __init__ 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault setattr(self, key, kwargs[key]) 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 72, in setter 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault field_value = field.coerce(self, name, value) 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/dist-packages/oslo_versionedobjects/fields.py", line 192, in coerce 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault return self._type.coerce(obj, attr, value) 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/dist-packages/oslo_versionedobjects/fields.py", line 325, in coerce 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault "for further details" % value, FutureWarning) 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/logging/__init__.py", line 1709, in _showwarning 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault s = warnings.formatwarning(message, category, filename, lineno, line) 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault File "/usr/lib/python2.7/warnings.py", line 38, in formatwarning 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault s = "%s:%s: %s: %s\n" % (filename, lineno, category.__name__, message) 2018-03-14 10:58:56.932 2198 ERROR cinder.api.middleware.fault UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 9: ordinal not in range(128) Original Description -------------------- Change https://review.openstack.org/#/c/557778/ changed the return value for coerce() to explicitly force the value to be unicode. This causes problems with Python 2 runtimes, where the expected value of a string is no longer a string but now unicode (see: https://github.com/openstack/cinder/blob/b89e73a2ac315927d2eee42129597b14e87ba685/cinder/tests/unit/volume/drivers/dell_emc/vmax/test_vmax.py#L3412) The correct fix should be to use either six.text_type to convert it, or format it into a string as is being done, but without forcing it to be a unicode string. "%s" will end up being the correct type depending on whether it is running under py2 or py3.
2018-04-30 16:40:30 OpenStack Infra cloud-archive/pike: status Triaged Fix Committed
2018-05-07 15:08:46 Łukasz Zemczak python-oslo.versionedobjects (Ubuntu Artful): status Triaged Fix Committed
2018-05-07 15:08:51 Łukasz Zemczak bug added subscriber SRU Verification
2018-05-07 15:08:57 Łukasz Zemczak tags in-stable-queens verification-ocata-needed verification-queens-needed in-stable-queens verification-needed verification-needed-artful verification-ocata-needed verification-queens-needed
2018-05-07 16:26:14 Corey Bryant tags in-stable-queens verification-needed verification-needed-artful verification-ocata-needed verification-queens-needed in-stable-queens verification-needed verification-needed-artful verification-ocata-needed verification-pike-needed verification-queens-needed
2018-05-09 11:32:31 Seyeong Kim tags in-stable-queens verification-needed verification-needed-artful verification-ocata-needed verification-pike-needed verification-queens-needed in-stable-queens verification-done-artful verification-needed verification-ocata-needed verification-pike-needed verification-queens-needed
2018-05-10 09:41:17 Seyeong Kim tags in-stable-queens verification-done-artful verification-needed verification-ocata-needed verification-pike-needed verification-queens-needed in-stable-queens verification-done-artful verification-needed verification-ocata-needed verification-pike-done verification-queens-needed
2018-05-14 08:26:50 Launchpad Janitor python-oslo.versionedobjects (Ubuntu Artful): status Fix Committed Fix Released
2018-05-14 12:14:25 Corey Bryant tags in-stable-queens verification-done-artful verification-needed verification-ocata-needed verification-pike-done verification-queens-needed in-stable-queens verification-done-artful verification-needed verification-ocata-done verification-pike-done verification-queens-needed
2018-05-14 12:14:39 Corey Bryant cloud-archive/ocata: status Fix Committed Fix Released
2018-05-14 12:15:44 Corey Bryant cloud-archive/pike: status Fix Committed Fix Released
2018-06-06 11:36:06 Robie Basak python-oslo.versionedobjects (Ubuntu Xenial): status Triaged Fix Committed
2018-06-06 11:36:11 Robie Basak tags in-stable-queens verification-done-artful verification-needed verification-ocata-done verification-pike-done verification-queens-needed in-stable-queens verification-done-artful verification-needed verification-needed-xenial verification-ocata-done verification-pike-done verification-queens-needed
2018-06-09 05:09:41 Seyeong Kim tags in-stable-queens verification-done-artful verification-needed verification-needed-xenial verification-ocata-done verification-pike-done verification-queens-needed in-stable-queens verification-done-artful verification-done-xenial verification-needed verification-ocata-done verification-pike-done verification-queens-needed
2018-06-14 12:21:37 Corey Bryant cloud-archive/mitaka: status Triaged Fix Committed
2018-06-14 12:21:38 Corey Bryant tags in-stable-queens verification-done-artful verification-done-xenial verification-needed verification-ocata-done verification-pike-done verification-queens-needed in-stable-queens verification-done-artful verification-done-xenial verification-mitaka-needed verification-needed verification-ocata-done verification-pike-done verification-queens-needed
2018-06-14 16:59:43 Launchpad Janitor python-oslo.versionedobjects (Ubuntu Xenial): status Fix Committed Fix Released
2018-06-15 04:27:14 Seyeong Kim tags in-stable-queens verification-done-artful verification-done-xenial verification-mitaka-needed verification-needed verification-ocata-done verification-pike-done verification-queens-needed in-stable-queens verification-done-artful verification-done-xenial verification-mitaka-done verification-needed verification-ocata-done verification-pike-done verification-queens-needed
2018-06-18 13:51:40 Corey Bryant cloud-archive/mitaka: status Fix Committed Fix Released