[Bug 1760918] Re: [SRU] Fixing UUID coerce function for unicode non uuid form

Corey Bryant corey.bryant at canonical.com
Mon Apr 9 19:11:12 UTC 2018


** 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
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1760918

Title:
  [SRU] Fixing UUID coerce function for unicode non uuid form

Status in Ubuntu Cloud Archive:
  In Progress
Status in Ubuntu Cloud Archive mitaka series:
  Triaged
Status in Ubuntu Cloud Archive ocata series:
  Triaged
Status in Ubuntu Cloud Archive pike series:
  Triaged
Status in Ubuntu Cloud Archive queens series:
  In Progress
Status in oslo.versionedobjects:
  Fix Released
Status in python-oslo.versionedobjects package in Ubuntu:
  In Progress
Status in python-oslo.versionedobjects source package in Xenial:
  Triaged
Status in python-oslo.versionedobjects source package in Artful:
  Triaged
Status in python-oslo.versionedobjects source package in Bionic:
  In Progress

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1760918/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list