Bug #1130
Time periods are incorrectly shown in CLI
Status: | Closed | Start date: | 02/13/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Javi Fontan | % Done: | 0% | |
Category: | CLI | |||
Target version: | Release 3.4 - S0 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 3.2 |
Description
Time periods are displayed suing time objects. This creates some problems, ex.
onevm:
The time for a running VM will fall back to 0 day and 0 months after a year
oneacct:
The time for a running VM displayed in table format is wrongly displayed. This time is correctly computed and the output for xml and json is correct.
Associated revisions
bug #1130: add period_to_str method
This methods is used to create strings for time periods with this format:
80d 10:23:33
bug #1130: use period_to_str in oneacct
bug #1130: Use period_to_str in onevm
bug #1130: add period_to_str method
This methods is used to create strings for time periods with this format:
80d 10:23:33(cherry picked from commit 407350bbb198826ffcb0dc1bf9cb1a822a415761)
bug #1130: use period_to_str in oneacct(cherry picked from commit da82e97164306ac0b7ea81c1775903f18c428c5e)
bug #1130: Use period_to_str in onevm
(cherry picked from commit 179487ac359950ef8e73f4423fcb6fea7e3b5263)
bug #1130: use period_to_str in oneacct(cherry picked from commit da82e97164306ac0b7ea81c1775903f18c428c5e)
History
#1 Updated by Javi Fontan over 9 years ago
- Subject changed from oneacct returns invalid time data to Time periods are incorrectly shown in CLI
- Description updated (diff)
#2 Updated by Ruben S. Montero over 9 years ago
- Description updated (diff)
- Status changed from Assigned to Closed
- Resolution set to fixed