← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1357152] Re: nova.utils.TIME_UNITS['Day'] is only 84400 sec

 

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

** Changed in: nova
    Milestone: None => juno-3

-- 
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/1357152

Title:
  nova.utils.TIME_UNITS['Day'] is only 84400 sec

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Full day is 86400 sec

  diff --git a/nova/utils.py b/nova/utils.py
  index 65d99aa..0b9afe4 100644
  --- a/nova/utils.py
  +++ b/nova/utils.py
  @@ -90,7 +90,7 @@ TIME_UNITS = {
       'SECOND': 1,
       'MINUTE': 60,
       'HOUR': 3600,
  -    'DAY': 84400
  +    'DAY': 86400
   }

  
  Based on code from master branch 2014-08-14 HEAD commit 374e9766c20c9f83dbd8139aa9d95a66b5da7295

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


References