← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1461251] Re: Stop using deprecated oslo_utils.timeutils.isotime

 

Added oslo to this bug for unacceptably impacting at least keystone and
heat, by not providing a viable alternative capable of maintaining
backward compatibility with existing public APIs.

Keystone's solution is to stop using oslo.timeutils in this instance,
and instead move the deprecated timeutils function into keystone's
namespace:

https://review.openstack.org/#/c/187751/1/keystone/common/utils.py,unified

That said, Heat found the introduction of a API backward incompatibility
to be acceptable:

https://review.openstack.org/#/c/187633/1/heat/tests/test_engine_api_utils.py,unified

** Also affects: oslo.utils
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1461251

Title:
  Stop using deprecated oslo_utils.timeutils.isotime

Status in OpenStack Identity (Keystone):
  In Progress
Status in Oslo utility library:
  New

Bug description:
  oslo_utils.timeutils.isotime() is deprecated as of 1.6 so we need to
  stop using it.

  This breaks unit tests in keystone since we've got a check for calling
  deprecated functions.

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


References