uptime calculation in simple_usage is incorrect
Bug #921807 reported by
Anthony Young
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Anthony Young |
Bug Description
The uptime of a server is reported as:
info['uptime'] = delta.days * 24 * 60 + delta.seconds
The correct calculation is:
info['uptime'] = delta.days * 24 * 60 * 60 + delta.seconds
Changed in nova: | |
assignee: | nobody → Anthony Young (sleepsonthefloor) |
status: | New → In Progress |
Changed in nova: | |
importance: | Undecided → Low |
milestone: | none → essex-3 |
Changed in nova: | |
milestone: | essex-3 → 2012.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/3428 github. com/openstack/ nova/commit/ 093c147a14059c6 0e6b787589398ee 7d8f9792d9
Committed: http://
Submitter: Jenkins
Branch: master
commit 093c147a14059c6 0e6b787589398ee 7d8f9792d9
Author: Anthony Young <email address hidden>
Date: Wed Jan 25 12:30:09 2012 -0800
Fix uptime calculation in simple_usage
* Fixes bug 921807
Change-Id: Ie6460adb95ef3b 9cb0473023816c2 55aac707e99