[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
** Changed in: cloud-archive Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
** Tags removed: sts-sru-needed ** Tags added: sts-sru-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
got it, thanks corey -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
To be clear, this patch wasn't completely reverted. Rather, LP:1763179 was fixed on top of this patch. Nonetheless, since nothing's been uploaded yet for xenial/mitaka, let's plan on just fixing this via a single bug in LP:1763179. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
Hi Seoyeong, since this patch was reverted in favor of https://bugs.launchpad.net/oslo.versionedobjects/+bug/1763179, and never uploaded for Xenial/Mitaka, can we just fix this via LP#1763179? Marking as Won't Fix for xenial/mitaka for now. ** Changed in: cloud-archive/mitaka Status: Triaged => Won't Fix ** Changed in: python-oslo.versionedobjects (Ubuntu Xenial) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
@corey we can do this sru for xenial and mitaka as well? Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
** Changed in: cloud-archive/queens Status: Fix Committed => Fix Released ** Changed in: cloud-archive/ocata Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
This bug was fixed in the package python-oslo.versionedobjects - 1.26.0-0ubuntu2~cloud0 --- python-oslo.versionedobjects (1.26.0-0ubuntu2~cloud0) xenial-pike; urgency=medium . * New update for the Ubuntu Cloud Archive. . python-oslo.versionedobjects (1.26.0-0ubuntu2) artful; urgency=medium . [ Corey Bryant ] * d/p/dont-force-unicode-strings-for-UUID-coercion.patch: This reverts and changes the fix provided by d/p/Fixing-uuid-coerce-function-for-unicode-non-uuid-form.patch (LP: #1763179). . [ Seyeong Kim ] * Fixing UUID coerce function for unicode non uuid form id (LP: #1760918) - d/p/Fixing-uuid-coerce-function-for-unicode-non-uuid-form.patch . [ Corey Bryant ] * d/gbp.conf: Create stable/pike branch. ** Changed in: cloud-archive/pike Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
This bug was fixed in the package python-oslo.versionedobjects - 1.26.0-0ubuntu2 --- python-oslo.versionedobjects (1.26.0-0ubuntu2) artful; urgency=medium [ Corey Bryant ] * d/p/dont-force-unicode-strings-for-UUID-coercion.patch: This reverts and changes the fix provided by d/p/Fixing-uuid-coerce-function-for-unicode-non-uuid-form.patch (LP: #1763179). [ Seyeong Kim ] * Fixing UUID coerce function for unicode non uuid form id (LP: #1760918) - d/p/Fixing-uuid-coerce-function-for-unicode-non-uuid-form.patch [ Corey Bryant ] * d/gbp.conf: Create stable/pike branch. -- Corey Bryant Tue, 17 Apr 2018 08:47:39 -0400 ** Changed in: python-oslo.versionedobjects (Ubuntu Artful) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
for pike tested TEST CASE dpkg -l | grep python-oslo.versionedobjects ii python-oslo.versionedobjects 1.26.0-0ubuntu2~cloud0 all deals with DB schema versions and code expectations - Python 2.x ** Tags removed: verification-pike-needed ** Tags added: verification-pike-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
for artful tested TEST CASE p.s. artful was fine but upgraded pkg also fine. dpkg -l | grep python-oslo.versionedobjects ii python-oslo.versionedobjects 1.26.0-0ubuntu2 all deals with DB schema versions and code expectations - Python 2.x ** Tags removed: verification-needed-artful ** Tags added: verification-done-artful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
Hello Seyeong, or anyone else affected, Accepted python-oslo.versionedobjects into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source /python-oslo.versionedobjects/1.26.0-0ubuntu2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: python-oslo.versionedobjects (Ubuntu Artful) Status: Triaged => Fix Committed ** Tags added: verification-needed verification-needed-artful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
** Description changed: [Impact] - When user id is non UUID unicode (from old release), + 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 ) - This function emit exception in python 2.7 env + Gāo user can't create cinder volume with unicode error. - Because there are str(value) + Affected Xenial, UCA Mitaka ( this is modified after i re-testing all ) - which means ok in python 3 (unicode) - not ok in python 2 (non unicode) - - just updated upstream, so i assume that below releases are affected - - Xenial, Artful, Bionic - Mitaka, Ocata, Pike, Queens + 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) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
I've re-uploaded this for bionic (queens), artful (pike), and ocata along with the fix for LP: #1763179. Bionic and Artful are awaiting SRU team review. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
I'm not sure why pike was marked as fix committed. Moved back to Triaged as nothing was uploaded to the UCA for pike. ** Changed in: cloud-archive/pike Status: Fix Committed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
This is being reverted via https://bugs.launchpad.net/cloud- archive/+bug/1763179. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
corey, sil2100 I was off for 2 days. Thanks a lot and sorry for making confusions. as upstream, i need to find the other patch not this for the customer's issue. changed patch ( i tested before, sean fixed ) doesn't work for xenial, mitaka for the customer's issue. I'll find it. Please reject those. Thanks again -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
** Changed in: cloud-archive/queens Assignee: Seyeong Kim (xtrusia) => (unassigned) ** Changed in: oslo.versionedobjects Assignee: Seyeong Kim (xtrusia) => (unassigned) ** Changed in: python-oslo.versionedobjects (Ubuntu Bionic) Assignee: Seyeong Kim (xtrusia) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
Lukasz, yes please reject and we'll get the new fix backported. Thanks Sean. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
Does comment #21 mean that the fix is introducing regressions? Should I reject the current python-oslo.versionedobjects from the artful and xenial queues? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
This fix was not correct and will need to be backported again. https://bugs.launchpad.net/oslo.versionedobjects/+bug/1763179 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
Seyeong, If I understand correctly, you're saying this patch isn't required on any release other than mitaka, however it doesn't break the other releases. Is that correct? The patch has already landed upstream in master (rocky), stable/queens, and stable/pike. If it doesn't regress those releases then I don't think it's worth reverting upstream. As for the SRU for those releases, we don't need to make the extra effort to SRU it. Please confirm before we move ahead. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
Reviewed: https://review.openstack.org/559820 Committed: https://git.openstack.org/cgit/openstack/oslo.versionedobjects/commit/?id=5931129fc998f0ef48f39b0c6e84faa564670f1d Submitter: Zuul Branch:stable/pike commit 5931129fc998f0ef48f39b0c6e84faa564670f1d Author: Seyeong Kim Date: Thu Mar 29 10:03:51 2018 -0700 Fixing UUID coerce function for unicode non uuid form If we use non uuid unicode user id in py27 env, unicode error pop up when function is called. Closes-bug: #1760918 Change-Id: Ic6b6308fb1960ec40407e6efde30137b64543e72 (cherry picked from commit b1d0b5d886afef8c08330bf3c2291e180aa1f534) ** Changed in: cloud-archive/pike Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
Hello Corey Im sorry for making confusion on this case. I thought I tested all of releases previously. so i uploaded patch for all of them but during verification, I found some of them are not affected. - not affected. UCA ocata, pike, queens artful, - affected UCA mitaka xenial for mitaka and xenial, my patch is working fine and simple. though there is the other patch can fix this. I need discussion about this with you. I'll ping you in irc. Thanks a lot ** Tags removed: verification-queens-needed ** Tags added: verification-queens-failed ** Tags removed: verification-ocata-needed ** Tags added: verification-ocata-failed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
This bug was fixed in the package python-oslo.versionedobjects - 1.31.2-0ubuntu2 --- python-oslo.versionedobjects (1.31.2-0ubuntu2) bionic; urgency=medium * Fixing UUID coerce function for unicode non uuid form id (LP: #1760918) - d/p/Fixing-uuid-coerce-function-for-unicode-non-uuid-form.patch -- Seyeong Kim Sun, 08 Apr 2018 18:05:44 -0700 ** Changed in: python-oslo.versionedobjects (Ubuntu Bionic) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
I've uploaded this for all affected releases. Most are awaiting review by the SRU team. Note that I updated the ocata patch to add "# -*- coding: utf-8 -*-" to test_fields.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
Hi Seyeong, Thanks for the bug and patches. In the future it would be nice to include the exception in the bug for others who search for it. Thanks, Corey -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
** Also affects: cloud-archive/ocata Importance: Undecided Status: New ** Also affects: cloud-archive/queens Importance: Undecided Assignee: Seyeong Kim (xtrusia) Status: In Progress ** Also affects: cloud-archive/mitaka Importance: Undecided Status: New ** Also affects: cloud-archive/pike Importance: Undecided Status: New ** Changed in: cloud-archive/mitaka Status: New => Triaged ** Changed in: cloud-archive/ocata Status: New => Triaged ** Changed in: cloud-archive/pike Status: New => Triaged ** Changed in: cloud-archive/mitaka Importance: Undecided => High ** Changed in: cloud-archive/ocata Importance: Undecided => High ** Changed in: cloud-archive/pike Importance: Undecided => High ** Also affects: python-oslo.versionedobjects (Ubuntu Bionic) Importance: Undecided Assignee: Seyeong Kim (xtrusia) Status: In Progress ** Also affects: python-oslo.versionedobjects (Ubuntu Artful) Importance: Undecided Status: New ** Also affects: python-oslo.versionedobjects (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: python-oslo.versionedobjects (Ubuntu Xenial) Importance: Undecided => High ** Changed in: python-oslo.versionedobjects (Ubuntu Xenial) Status: New => Triaged ** Changed in: python-oslo.versionedobjects (Ubuntu Artful) Importance: Undecided => High ** Changed in: python-oslo.versionedobjects (Ubuntu Artful) Status: New => Triaged ** Changed in: python-oslo.versionedobjects (Ubuntu Bionic) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
The attachment "lp1760918_xenial.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
** Patch added: "lp1760918_artful.debdiff" https://bugs.launchpad.net/cloud-archive/+bug/1760918/+attachment/5107568/+files/lp1760918_artful.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
** Patch added: "lp1760918_bionic.debdiff" https://bugs.launchpad.net/cloud-archive/+bug/1760918/+attachment/5107569/+files/lp1760918_bionic.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
** Patch added: "lp1760918_mitaka.debdiff" https://bugs.launchpad.net/cloud-archive/+bug/1760918/+attachment/5107570/+files/lp1760918_mitaka.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
** Patch added: "lp1760918_ocata.debdiff" https://bugs.launchpad.net/cloud-archive/+bug/1760918/+attachment/5107571/+files/lp1760918_ocata.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
** Also affects: python-oslo.versionedobjects (Ubuntu) Importance: Undecided Status: New ** Also affects: cloud-archive Importance: Undecided Status: New ** Description changed: [Impact] When user id is non UUID unicode (from old release), This function emit exception in python 2.7 env Because there are str(value) which means ok in python 3 (unicode) not ok in python 2 (non unicode) + + just updated upstream, so i assume that below releases are affected + + Xenial, Artful, Bionic + Mitaka, Ocata, Pike, Queens [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. ** Tags added: sts-sru-needed ** Patch added: "lp1760918_xenial.debdiff" https://bugs.launchpad.net/cloud-archive/+bug/1760918/+attachment/5107567/+files/lp1760918_xenial.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
** Patch added: "lp1760918_pike.debdiff" https://bugs.launchpad.net/cloud-archive/+bug/1760918/+attachment/5107572/+files/lp1760918_pike.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form
** Patch added: "lp1760918_queens.debdiff" https://bugs.launchpad.net/cloud-archive/+bug/1760918/+attachment/5107573/+files/lp1760918_queens.debdiff ** Changed in: cloud-archive Assignee: (unassigned) => Seyeong Kim (xtrusia) ** Changed in: python-oslo.versionedobjects (Ubuntu) Assignee: (unassigned) => Seyeong Kim (xtrusia) ** Changed in: cloud-archive Status: New => In Progress ** Changed in: python-oslo.versionedobjects (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760918 Title: [SRU] Fixing UUID coerce function for unicode non uuid form To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs