← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References