← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1266962] Re: Remove set_time_override in timeutils

 

This was entirely fixed by Zhongyue Luo. All references to the
attributes and functions to be removed from timeutils exist solely in
the timeutils module in Glance.

** Changed in: glance
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1266962

Title:
  Remove set_time_override in timeutils

Status in OpenStack Telemetry (Ceilometer):
  Fix Released
Status in Cinder:
  Fix Released
Status in Gantt:
  New
Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released
Status in OpenStack Bare Metal Provisioning Service (Ironic):
  Fix Released
Status in OpenStack Identity (Keystone):
  Fix Released
Status in Manila:
  Fix Released
Status in OpenStack Compute (Nova):
  In Progress
Status in Messaging API for OpenStack:
  Fix Released
Status in Oslo utility library:
  In Progress
Status in Python client library for Keystone:
  Fix Released
Status in Python client library for Nova:
  Fix Released
Status in Tuskar:
  Fix Released
Status in OpenStack Messaging and Notifications Service (Zaqar):
  Fix Released

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_override()
  * advance_time_delta()
  * advance_time_seconds()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ceilometer/+bug/1266962/+subscriptions


References