Replace uuidutils.generate_uuid() with str(uuid.uuid4())
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Fix Released
|
Medium
|
Zhongyue Luo | ||
BillingStack |
Undecided
|
Zhongyue Luo | |||
Blazar |
Medium
|
Pablo Fernando Cargnelutti | |||
Cinder |
Undecided
|
Zhongyue Luo | |||
Designate |
Undecided
|
Zhongyue Luo | |||
Glance |
Undecided
|
Arnaud Legendre | |||
Ironic |
Fix Released
|
Medium
|
aeva black | ||
Karbor |
Undecided
|
Spencer Yu | |||
OpenStack Compute (nova) |
Wishlist
|
Guangya Liu (Jay Lau) | |||
OpenStack DBaaS (Trove) |
Fix Released
|
Medium
|
Zhongyue Luo | ||
OpenStack Heat |
Fix Released
|
Undecided
|
JunJie Nan | ||
OpenStack Shared File Systems Service (Manila) |
Undecided
|
Zhongyue Luo | |||
Sahara |
Fix Released
|
Medium
|
Andrew Lazarev | ||
oslo-incubator |
Undecided
|
Zhongyue Luo | |||
staccato |
Undecided
|
Zhongyue Luo | |||
taskflow |
Undecided
|
Zhongyue Luo | |||
tuskar |
Medium
|
Xurong Yang |
Bug Description
http://
> Hi all,
>
> We had a discussion of the modules that are incubated in Oslo.
>
> https:/
>
> One of the conclusions we came to was to deprecate/remove uuidutils in
> this cycle.
>
> The first step into this change should be to remove generate_uuid() from
> uuidutils.
>
> The reason is that 1) generating the UUID string seems trivial enough to
> not need a function and 2) string representation of uuid4 is not what we
> want in all projects.
>
> To address this, a patch is now on gerrit.
> https:/
>
> Each project should directly use the standard uuid module or implement its
> own helper function to generate uuids if this patch gets in.
>
> Any thoughts on this change? Thanks.
>
Unfortunately it looks like that change went through before I caught up on
email. Shouldn't we have removed its use in the downstream projects (at
least integrated projects) before removing it from Oslo?
Doug
Changed in nova: | |
assignee: | nobody → Jay Lau (jay-lau-513) |
Changed in nova: | |
status: | New → In Progress |
Changed in cinder: | |
assignee: | nobody → Jay Lau (jay-lau-513) |
Fix proposed to branch: master
Review: https:/
Changed in cinder: | |
status: | New → In Progress |
summary: |
- Remove uuidutils.generate_uuid() from nova + Replace uuidutils.generate_uuid() with str(uuid.uuid4()) |
Changed in ceilometer: | |
assignee: | nobody → Jay Lau (jay-lau-513) |
Fix proposed to branch: master
Review: https:/
Changed in ceilometer: | |
status: | New → In Progress |
Huang Zhiteng (zhiteng-huang) wrote : | #4 |
Removed Cinder from affected project. The needed change in Cinder has already landed here: https:/
no longer affects: | cinder |
https:/
Huang Zhiteng (zhiteng-huang) wrote : | #6 |
It's complete, no Cinder code is using generate_uuid() anymore except those modules from Oslo.
And I am not sure this is actually a bug, to be honest.
no longer affects: | cinder |
John Griffith (john-griffith) wrote : | #7 |
Ja
John Griffith (john-griffith) wrote : | #8 |
Jay Lau,
Posting that the patch "is not a complete fix" and nothing else is less than useful. If there's an instance of the call that I missed please detail as such in the comments.
@John, its my fault that cinder already handled this part.
I'm going to fix this in nova part for the first step: remove generate_uuid() from uuidutils.
no longer affects: | ceilometer |
ChangBo Guo(gcb) (glongwave) wrote : | #10 |
Jay Lau,
It seems like some incubation projects need clean up. I just added them here ,hope someone can help cleanup ;)
Changed in oslo: | |
assignee: | nobody → ChangBo Guo (guochbo) |
Changed in savanna: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Sergey Lukjanov (slukjanov) |
milestone: | none → icehouse-1 |
Changed in oslo: | |
status: | New → In Progress |
Changed in ironic: | |
assignee: | nobody → Haomeng,Wang (whaom) |
Changed in oslo: | |
assignee: | ChangBo Guo (guochbo) → Zhongyue Luo (zyluo) |
Fix proposed to branch: master
Review: https:/
Changed in ironic: | |
status: | New → In Progress |
Reviewed: https:/
Committed: http://
Submitter: Jenkins
Branch: master
commit bdabd512943ebb8
Author: Zhongyue Luo <email address hidden>
Date: Fri Nov 22 08:37:21 2013 +0800
Remove uuidutils imports in oslo modules
The only use of uuidutils in oslo-incubator is generate_uuid
which could be replaced with uuid.uuid4().
Droping the dependency would help deprecating/
in the future.
Partial-bug: #1253497
Change-Id: Ie0bc94e0b4aea6
melanie witt (melwitt) wrote : | #14 |
Novaclient isn't calling uuidutils.
no longer affects: | python-novaclient |
Changed in savanna: | |
assignee: | Sergey Lukjanov (slukjanov) → Andrew Lazarev (alazarev) |
Fix proposed to branch: master
Review: https:/
Changed in savanna: | |
status: | Triaged → In Progress |
Fix proposed to branch: master
Review: https:/
Changed in trove: | |
assignee: | nobody → Nikhil Manchanda (slicknik) |
status: | New → In Progress |
Changed in trove: | |
milestone: | none → icehouse-1 |
Changed in neutron: | |
assignee: | nobody → Hua Zhang (zhhuabj) |
Fix proposed to branch: master
Review: https:/
Changed in neutron: | |
status: | New → In Progress |
Fix proposed to branch: master
Review: https:/
Reviewed: https:/
Committed: http://
Submitter: Jenkins
Branch: master
commit 7fc0cee599fbb59
Author: Haomeng, Wang <email address hidden>
Date: Mon Nov 25 10:37:30 2013 +0800
Remove oslo uuidutils.
uuidutils.
need to remove the call from our Ironic code.
http://
018980.html
We create new method in our Ironic common utils to wrap the
generate_uuid methods.
Change-Id: I7bc4ca8fcdb29c
Partial-Bug: #1253497
Reviewed: https:/
Committed: http://
Submitter: Jenkins
Branch: master
commit e55928526f59ed7
Author: Haomeng, Wang <email address hidden>
Date: Tue Nov 26 09:35:21 2013 +0800
Remove oslo uuidutils.
uuidutils.
need to remove the call from our Ironic code.
http://
018980.html
We create new method in our Ironic common utils to wrap the
is_uuid_like methods.
Change-Id: I6170ffc5c30b70
Partial-Bug: #1253497
Fix proposed to branch: master
Review: https:/
Changed in ironic: | |
assignee: | Haomeng,Wang (whaom) → Devananda van der Veen (devananda) |
Changed in ironic: | |
importance: | Undecided → Low |
importance: | Low → Medium |
Reviewed: https:/
Committed: http://
Submitter: Jenkins
Branch: master
commit c61d052e083df2e
Author: Andrew Lazarev <email address hidden>
Date: Fri Nov 22 15:54:20 2013 -0800
Removed usages of uuidutils.
Fixes bug #1253497
Change-Id: I620798b36ffa52
Changed in savanna: | |
status: | In Progress → Fix Committed |
Reviewed: https:/
Committed: http://
Submitter: Jenkins
Branch: master
commit 010f9e8cd9ac342
Author: Devananda van der Veen <email address hidden>
Date: Tue Nov 26 08:29:06 2013 -0800
Import uuidutils unit tests from oslo
uuidutils is going to be removed from oslo, so we need to remove the
calls from our Ironic code. For reference, see
http://
This change imports the unit tests from Oslo for both
generate_uuid and is_uuid_like, which have been ported to ironic.common.
Closes-Bug: #1253497
Change-Id: I14ed5864615d79
Changed in ironic: | |
status: | In Progress → Fix Committed |
Changed in trove: | |
importance: | Undecided → Medium |
Changed in trove: | |
milestone: | icehouse-1 → icehouse-2 |
Thierry Carrez (ttx) wrote : target | #24 |
affects savanna
status fixreleased
Changed in savanna: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
importance: | Undecided → Wishlist |
Changed in glance: | |
assignee: | nobody → Arnaud Legendre (arnaudleg) |
Fix proposed to branch: master
Review: https:/
Changed in glance: | |
status: | New → In Progress |
Fix proposed to branch: master
Review: https:/
Changed in heat: | |
assignee: | nobody → Jun Jie Nan (nanjj) |
status: | New → In Progress |
Reviewed: https:/
Committed: http://
Submitter: Jenkins
Branch: master
commit 4c03395feb1bcd5
Author: JUN JIE NAN <email address hidden>
Date: Sat Dec 7 21:30:16 2013 +0800
Remove oslo uuidutils.
`uuidutils.
to remove the call from heat code.
Change-Id: Iba9f86d8b8ec5e
Partial-Bug: #1253497
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 11b5487eff312d4
Author: Arnaud Legendre <email address hidden>
Date: Fri Dec 6 17:02:35 2013 -0800
Use uuid instead of uuidutils
Each project should directly use the standard uuid module.
uuidutils will be deprecated/removed in this cycle.
This patch replaces every uuidutils.
str(
with utils.is_
Change-Id: I43642d4f1e137c
Closes-Bug: #1253497
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in oslo: | |
status: | In Progress → Fix Committed |
Changed in heat: | |
status: | In Progress → Fix Committed |
Fix proposed to branch: master
Review: https:/
Changed in trove: | |
assignee: | Nikhil Manchanda (slicknik) → Zhongyue Luo (zyluo) |
Oleh Anufriiev (oanufriev) wrote : | #30 |
glance/
So, it still imports uuidutils from glance.
Arnaud Legendre (arnaudleg) wrote : | #31 |
Oleh -- this will be fixed in another path.
Thanks for pointing that out.
Changed in glance: | |
status: | Fix Committed → In Progress |
Changed in oslo: | |
milestone: | none → icehouse-2 |
Fix proposed to branch: master
Review: https:/
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1085ea267b56ad6
Author: Zhongyue Luo <email address hidden>
Date: Mon Dec 30 12:02:11 2013 +0800
Replace oslo.uuidutils module with trove.utils
Oslo is removing uuidutils during the icehouse cycle.
Consequently we need to remove all references to uuidutils, and
replace them with the corresponding function from trove.utils.
Change-Id: Idd4b25e98624df
Closes-bug: 1253497
Changed in trove: | |
status: | In Progress → Fix Committed |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6de1cb9ee5e9cf5
Author: Arnaud Legendre <email address hidden>
Date: Fri Jan 10 12:07:15 2014 -0800
Remove 'openstack/
context.py is not used anywhere in Glance. Consequently, we can get
rid of it.
Also, context.py is the only file left using uuidutils.
Change-Id: I657e20ac39fbac
Closes-Bug: #1253497
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in trove: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in oslo: | |
status: | Fix Committed → Fix Released |
Related fix proposed to branch: master
Review: https:/
Zhongyue Luo (zyluo) wrote : | #36 |
Changed in taskflow: | |
assignee: | nobody → Zhongyue Luo (zyluo) |
status: | New → In Progress |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit e4492d54ae0d595
Author: Zhongyue Luo <email address hidden>
Date: Mon Feb 17 14:53:01 2014 +0800
Use uuid instead of uuidutils
Glance no longer import uuidutils from Oslo.
This patch replaces uuidutils.
str(
Change-Id: I463324cefe4881
Related-Bug: #1253497
Changed in murano: | |
importance: | Undecided → Low |
milestone: | none → 0.5 |
status: | New → Confirmed |
Changed in murano: | |
assignee: | nobody → Xurong Yang (idopra) |
Changed in manila: | |
assignee: | nobody → Xurong Yang (idopra) |
Changed in cinder: | |
assignee: | nobody → lvdongbing (dbcocle) |
status: | New → Confirmed |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 25a9ee8419e51c6
Author: Zhongyue Luo <email address hidden>
Date: Mon Feb 17 15:42:13 2014 +0800
Update context from Oslo
Following changes were updated:
13eb01c Adding domain to context and log
12bcdb7 Remove vim header
bdabd51 Remove uuidutils imports in oslo modules
44e8222 Revert "Removes generate_uuid from uuidutils"
571a78a Removes generate_uuid from uuidutils
36859e5 Adding instance_uuid to context and log
Change-Id: Ifecf96418a6082
Closes-bug: #1253497
Changed in murano: | |
status: | Confirmed → Fix Committed |
Changed in tuskar: | |
assignee: | nobody → Xurong Yang (idopra) |
status: | New → In Progress |
Fix proposed to branch: master
Review: https:/
Changed in horizon: | |
assignee: | nobody → Xurong Yang (idopra) |
status: | New → In Progress |
Related fix proposed to branch: master
Review: https:/
Changed in tuskar: | |
importance: | Undecided → Medium |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit b257fc4cc9aaa1e
Author: yangxurong <email address hidden>
Date: Tue Feb 25 19:07:49 2014 +0800
Replace uuidutils.
uuidutils.
so we need to remove its use in tuskar.
This patch was use str(uuid.uuid4()) to replace
uuidutils.
Change-Id: I4ac42822fe6269
Closes-Bug: #1253497
Changed in tuskar: | |
status: | In Progress → Fix Committed |
Fix proposed to branch: master
Review: https:/
Changed in barbican: | |
status: | New → Confirmed |
Fix proposed to branch: master
Review: https:/
Changed in climate: | |
assignee: | nobody → Pablo Fernando Cargnelutti (pablo-fernando-cargnelutti) |
Fix proposed to branch: master
Review: https:/
Fix proposed to branch: master
Review: https:/
Changed in cinder: | |
assignee: | lvdongbing (dbcocle) → nobody |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 066bdb29112ba57
Author: Zhongyue Luo <email address hidden>
Date: Tue Feb 25 21:49:16 2014 +0900
Update context from Oslo
Following changes were updated:
13eb01c Adding domain to context and log
12bcdb7 Remove vim header
bdabd51 Remove uuidutils imports in oslo modules
44e8222 Revert "Removes generate_uuid from uuidutils"
571a78a Removes generate_uuid from uuidutils
36859e5 Adding instance_uuid to context and log
Change-Id: I924bfb41fba3a8
Closes-bug: #1253497
Fix proposed to branch: master
Review: https:/
Changed in climate: | |
status: | New → In Progress |
Changed in barbican: | |
assignee: | nobody → Douglas Mendizabal (dougmendizabal) |
importance: | Undecided → Medium |
milestone: | none → icehouse-3 |
Zhongyue Luo (zyluo) wrote : | #48 |
Douglas, I already have a patch for this. Thanks
Changed in barbican: | |
assignee: | Douglas Mendizabal (dougmendizabal) → Zhongyue Luo (zyluo) |
Zhongyue Luo (zyluo) wrote : | #50 |
Changed in billingstack: | |
assignee: | nobody → Zhongyue Luo (zyluo) |
status: | New → In Progress |
Fix proposed to branch: master
Review: https:/
Changed in designate: | |
assignee: | nobody → Zhongyue Luo (zyluo) |
status: | New → In Progress |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 53100d02bdb7cc1
Author: Zhongyue Luo <email address hidden>
Date: Thu Feb 27 13:05:22 2014 +0800
Remove oslo.uuidutils
The only use of uuidutils in barbican is generate_uuid
which will be dropped from oslo-incubator.
This patch moves generate_uuid to barbican.
updates the context module from oslo.
Following changes were updated in context:
13eb01c Adding domain to context and log
12bcdb7 Remove vim header
bdabd51 Remove uuidutils imports in oslo modules
44e8222 Revert "Removes generate_uuid from uuidutils"
571a78a Removes generate_uuid from uuidutils
36859e5 Adding instance_uuid to context and log
Change-Id: If27f8308f00ce9
Partial-bug: #1253497
Zhongyue Luo (zyluo) wrote : | #53 |
Changed in staccato: | |
assignee: | nobody → Zhongyue Luo (zyluo) |
status: | New → In Progress |
Fix proposed to branch: master
Review: https:/
Changed in cinder: | |
assignee: | nobody → Zhongyue Luo (zyluo) |
status: | Confirmed → In Progress |
Changed in murano: | |
assignee: | Xurong Yang (idopra) → Zhongyue Luo (zyluo) |
Zhongyue Luo (zyluo) wrote : | #55 |
Changed in manila: | |
assignee: | Xurong Yang (idopra) → Zhongyue Luo (zyluo) |
status: | New → In Progress |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 753f1614060f612
Author: Zhongyue Luo <email address hidden>
Date: Fri Feb 28 13:49:32 2014 +0800
Use uuid instead of uuidutils
The generate_uuid() functions will be deprecated/removed from uuidutils/
This patch replaces uuidutils.
Change-Id: I40e2dbf5e9e04b
Partial-Bug: #1253497
Changed in manila: | |
status: | In Progress → Fix Committed |
Changed in manila: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9b5bdfe2ccf305f
Author: Zhongyue Luo <email address hidden>
Date: Wed Feb 26 09:51:40 2014 +0900
Update context from Oslo
Following changes were updated:
13eb01c Adding domain to context and log
12bcdb7 Remove vim header
bdabd51 Remove uuidutils imports in oslo modules
44e8222 Revert "Removes generate_uuid from uuidutils"
571a78a Removes generate_uuid from uuidutils
36859e5 Adding instance_uuid to context and log
As of this update uuidutils is not used anymore in murano-repository.
Change-Id: Id427613235a908
Closes-bug: #1253497
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6cdb946663dddfa
Author: Zhongyue Luo <email address hidden>
Date: Tue Feb 25 23:28:53 2014 +0900
Update context from Oslo
Following changes were updated:
13eb01c Adding domain to context and log
12bcdb7 Remove vim header
bdabd51 Remove uuidutils imports in oslo modules
44e8222 Revert "Removes generate_uuid from uuidutils"
571a78a Removes generate_uuid from uuidutils
36859e5 Adding instance_uuid to context and log
As of this update uuidutils is not used anymore in murano-conductor.
Change-Id: Idb68ad50a7eff5
Closes-bug: #1253497
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit c44b8f81c64dd56
Author: Zhongyue Luo <email address hidden>
Date: Thu Feb 27 14:03:12 2014 +0800
Remove use of uuidutils.
Oslo is removing uuidutils.
This patch moves generate_uuid to designate.utils.
Change-Id: I65c6d8e0d985c6
Partial-Bug: #1253497
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in designate: | |
status: | In Progress → Fix Committed |
Kiall Mac Innes (kiall) wrote : | #60 |
Apologies :)
Changed in nova: | |
status: | Fix Committed → In Progress |
Changed in barbican: | |
status: | Confirmed → Fix Committed |
Changed in tuskar: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 32165415619b275
Author: ChangBo Guo(gcb) <email address hidden>
Date: Wed Feb 26 14:25:15 2014 +0800
Refactor UUID test
Oslo is removing uuidutils during the icehouse cycle. We had removed
uuidutils.
It seems the UUID test was not executed, for example, there is no method
called generate_uuid() in common/utils, the Jekins still passed. This
patch move the testcase and remove the test method for generate_uuid.
Change-Id: If4f508129f0b44
Partial-Bug: #1253497
Changed in taskflow: | |
status: | In Progress → Invalid |
Changed in barbican: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 69b0497ab9d6b20
Author: Cristian A Sanchez <email address hidden>
Date: Tue Feb 18 16:37:15 2014 -0300
Update openstack.common with latest oslo-incubator
openstack.
rpc and notif were manually removed. DB layer was modified to adapt
to the changes done in Oslo. '# noqa' was also removed from imports.
Also after new release of oslo.messaging appeared, we also needed
to update openstack.common to make Climate work with oslo.
Change-Id: I1b5ce64f8d4906
Closes-Bug: #1237896
Closes-Bug: #1284749
Partial-bug: #1253497
Co-Authored-By: Pablo Fernando Cargnelutti <email address hidden>
Co-Authored-By: Dina Belova <email address hidden>
Changed in designate: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in climate: | |
importance: | Undecided → Medium |
milestone: | none → next |
status: | In Progress → Fix Committed |
Changed in oslo: | |
milestone: | icehouse-2 → 2014.1 |
Changed in trove: | |
milestone: | icehouse-2 → 2014.1 |
Changed in heat: | |
milestone: | icehouse-2 → 2014.1 |
Changed in glance: | |
milestone: | icehouse-2 → 2014.1 |
Changed in sahara: | |
milestone: | icehouse-1 → 2014.1 |
Changed in ironic: | |
milestone: | icehouse-2 → 2014.1 |
Fix proposed to branch: master
Review: https:/
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 82a726ebe352f94
Author: Jay Lau <email address hidden>
Date: Wed May 7 17:17:45 2014 +0800
Remove uuidutils imports in oslo modules
Patch I1b5ce64f8d4906
uuidutils, this patch did the left clean up for uuidutils.
Change-Id: I21dd00abafc60c
Partial-bug: #1253497
Changed in staccato: | |
status: | In Progress → Invalid |
Changed in billingstack: | |
status: | In Progress → Invalid |
Changed in cinder: | |
status: | In Progress → Invalid |
Changed in neutron: | |
status: | In Progress → Invalid |
Changed in horizon: | |
status: | In Progress → Invalid |
Changed in nova: | |
status: | In Progress → Invalid |
Changed in murano: | |
status: | Fix Committed → Fix Released |
Jesse (boycht) wrote : | #65 |
Need to close the following bug?
https:/
#1082248 try to replace str(uui.uuid4()) with uuidutils.
Changed in blazar: | |
milestone: | next → 0.3.0 |
Changed in karbor: | |
assignee: | nobody → Spencer Yu (yushb) |
no longer affects: | murano |
no longer affects: | neutron |
no longer affects: | horizon |
Changed in blazar: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/57588
Review: https:/