← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1197360] Re: xattr cache driver returns iso8601 format timestamps

 

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

** Changed in: glance
    Milestone: None => havana-3

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

Title:
  xattr cache driver returns iso8601 format timestamps

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  The xattr driver for the caching middleware is returning it's last_modified/last_accessed times in iso8601 format rather than a timestamp.
      
  This is inconsistent with the sqlite driver and causing the glance-cache-manage command to fall over when using the xattr driver:

  """
  ubuntu@devstack:/opt/stack/glance$ glance-cache-manage list-cached
  Found 4 cached images...
  ID                                   Last Accessed (UTC) Last Modified (UTC) Size           Hits      
  ------------------------------------ ------------------- ------------------- -------------- ----------
  Failed to show cached images. Got error:
  a float is required
  """

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