Remove set_time_override in timeutils
Bug #1266962 reported by
Zhongyue Luo
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Undecided
|
ZhiQiang Fan | ||
Cinder |
Fix Released
|
Undecided
|
Zhongyue Luo | ||
Glance |
Fix Released
|
Low
|
Ian Cordasco | ||
Ironic |
Fix Released
|
Low
|
Unassigned | ||
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Unassigned | ||
OpenStack Heat |
Triaged
|
Low
|
Unassigned | ||
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Unassigned | ||
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Undecided
|
Zhongyue Luo | ||
Sahara |
Invalid
|
Undecided
|
zhangyangyang | ||
gantt |
New
|
Undecided
|
Unassigned | ||
neutron |
Fix Released
|
Undecided
|
Tuan | ||
oslo.messaging |
Fix Released
|
Low
|
Zhongyue Luo | ||
oslo.utils |
Triaged
|
Low
|
Unassigned | ||
python-keystoneclient |
Fix Released
|
Low
|
Zhongyue Luo | ||
python-novaclient |
Fix Released
|
Undecided
|
Zhongyue Luo | ||
rack |
In Progress
|
Undecided
|
zhangyangyang | ||
tuskar |
Fix Released
|
Low
|
Zhongyue Luo | ||
zaqar |
Fix Released
|
Low
|
Flavio Percoco |
Bug Description
set_time_override was written as a helper function to mock utcnow in unittests.
However we now use mock or fixture to mock our objects so set_time_override has become obsolete.
We should first remove all usage of set_time_override from downstream projects before deleting it from oslo.
List of attributes and functions to be removed from timeutils:
* override_time
* set_time_override()
* clear_time_
* advance_
* advance_
Changed in marconi: | |
importance: | Undecided → Low |
milestone: | none → icehouse-3 |
status: | New → Triaged |
Changed in python-keystoneclient: | |
assignee: | nobody → Zhongyue Luo (zyluo) |
status: | New → In Progress |
Changed in tuskar: | |
importance: | Undecided → Low |
Changed in tuskar: | |
status: | In Progress → Fix Committed |
Changed in oslo.messaging: | |
importance: | Undecided → Low |
Changed in oslo: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in nova: | |
status: | New → Triaged |
tags: | added: oslo |
Changed in python-keystoneclient: | |
status: | In Progress → Fix Committed |
Changed in oslo.messaging: | |
status: | In Progress → Fix Committed |
Changed in python-keystoneclient: | |
importance: | Undecided → Low |
milestone: | none → 0.4.2 |
Changed in ironic: | |
assignee: | nobody → Mikhail Durnosvistov (mdurnosvistov) |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in oslo.messaging: | |
milestone: | none → icehouse-2 |
Changed in glance: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in python-novaclient: | |
status: | In Progress → Fix Committed |
Changed in keystone: | |
assignee: | nobody → Mikhail Durnosvistov (mdurnosvistov) |
status: | New → In Progress |
Changed in glance: | |
assignee: | nobody → ZhiQiang Fan (aji-zqfan) |
Changed in ceilometer: | |
assignee: | nobody → ZhiQiang Fan (aji-zqfan) |
status: | New → In Progress |
Changed in nova: | |
assignee: | nobody → ZhiQiang Fan (aji-zqfan) |
Changed in nova: | |
assignee: | ZhiQiang Fan (aji-zqfan) → nobody |
Changed in nova: | |
assignee: | nobody → Mikhail Durnosvistov (mdurnosvistov) |
importance: | Undecided → Low |
Changed in tuskar: | |
status: | Fix Committed → Fix Released |
Changed in marconi: | |
assignee: | nobody → Flavio Percoco (flaper87) |
status: | Triaged → In Progress |
Changed in oslo.messaging: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
status: | Triaged → In Progress |
Changed in keystone: | |
importance: | Undecided → Low |
Changed in nova: | |
assignee: | Mikhail Durnosvistov (mdurnosvistov) → nobody |
status: | In Progress → Triaged |
Changed in ironic: | |
assignee: | Mikhail Durnosvistov (mdurnosvistov) → Devananda van der Veen (devananda) |
Changed in python-keystoneclient: | |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
assignee: | Devananda van der Veen (devananda) → Mikhail Durnosvistov (mdurnosvistov) |
Changed in ceilometer: | |
milestone: | none → icehouse-3 |
Changed in cinder: | |
assignee: | nobody → Zhongyue Luo (zyluo) |
status: | Invalid → New |
Changed in nova: | |
assignee: | nobody → Zhongyue Luo (zyluo) |
description: | updated |
Changed in manila: | |
assignee: | nobody → Zhongyue Luo (zyluo) |
Changed in keystone: | |
assignee: | Mikhail Durnosvistov (mdurnosvistov) → Zhongyue Luo (zyluo) |
Changed in glance: | |
assignee: | ZhiQiang Fan (aji-zqfan) → Zhongyue Luo (zyluo) |
Changed in keystone: | |
assignee: | Zhongyue Luo (zyluo) → Mikhail Durnosvistov (mdurnosvistov) |
Changed in gantt: | |
assignee: | nobody → Mikhail Durnosvistov (mdurnosvistov) |
Changed in ironic: | |
assignee: | Mikhail Durnosvistov (mdurnosvistov) → Roman Prykhodchenko (romcheg) |
Changed in ironic: | |
assignee: | Roman Prykhodchenko (romcheg) → Mikhail Durnosvistov (mdurnosvistov) |
Changed in nova: | |
status: | Triaged → In Progress |
Changed in gantt: | |
assignee: | Mikhail Durnosvistov (mdurnosvistov) → nobody |
Changed in manila: | |
milestone: | none → icehouse-3 |
status: | In Progress → Fix Released |
Changed in cinder: | |
status: | In Progress → Fix Committed |
Changed in ironic: | |
status: | In Progress → Fix Committed |
Changed in ironic: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in marconi: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
status: | In Progress → Fix Committed |
Changed in keystone: | |
milestone: | none → icehouse-rc1 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | icehouse-rc1 → 2014.1 |
Changed in oslo.messaging: | |
milestone: | icehouse-2 → 1.3.0 |
Changed in ceilometer: | |
milestone: | icehouse-3 → 2014.1 |
Changed in cinder: | |
milestone: | icehouse-3 → 2014.1 |
Changed in marconi: | |
milestone: | icehouse-3 → 2014.1 |
Changed in ironic: | |
milestone: | icehouse-3 → 2014.1 |
no longer affects: | oslo-incubator |
Changed in oslo.utils: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in nova: | |
assignee: | Zhongyue Luo (zyluo) → Mike Durnosvistov (mdurnosvistov) |
milestone: | none → kilo-1 |
Changed in oslo.utils: | |
assignee: | nobody → ZhiQiang Fan (aji-zqfan) |
Changed in nova: | |
milestone: | kilo-1 → kilo-2 |
Changed in nova: | |
milestone: | kilo-2 → none |
status: | In Progress → New |
Changed in nova: | |
importance: | Low → Wishlist |
status: | New → Confirmed |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | Confirmed → Fix Committed |
Changed in nova: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
Changed in oslo.utils: | |
assignee: | ZhiQiang Fan (aji-zqfan) → nobody |
status: | In Progress → New |
Changed in nova: | |
milestone: | liberty-3 → 12.0.0 |
tags: | added: neutron-proactive-backport-potential |
Changed in keystonemiddleware: | |
assignee: | nobody → zhangyangyang (zhangyangyang) |
status: | New → In Progress |
Changed in heat: | |
assignee: | nobody → zhangyangyang (zhangyangyang) |
status: | New → In Progress |
Changed in rack: | |
assignee: | nobody → zhangyangyang (zhangyangyang) |
status: | New → In Progress |
Changed in sahara: | |
assignee: | nobody → zhangyangyang (zhangyangyang) |
status: | New → In Progress |
Changed in sahara: | |
status: | In Progress → Invalid |
Changed in heat: | |
assignee: | zhangyangyang (zhangyangyang) → nobody |
importance: | Undecided → Low |
status: | In Progress → Triaged |
Changed in oslo.utils: | |
status: | New → Triaged |
Changed in neutron: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
I'm not crazy about this approach of making changes throughout the project; updating all of the projects and then removing the wrapper in oslo, then updating the libs in all of the projects again is really something that should not be a top priority.
I do however think that the usage should be allowed to fall off naturally as other efforts are made to update to using mock, once that's done we should eventually just find that this wrapper is no longer needed and remove it from oslo at that time.