← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1118910] Re: nova usage-list does not validate start/end date

 

Please see the last comment. The following scenario still happening in
Havana:

nova usage-list --start 2014-11-25 --end 2014-12-25
Usage from 2014-11-25 to 2014-12-25:
+----------------------------------+---------+--------------+------------+---------------+
| Tenant ID                        | Servers | RAM MB-Hours | CPU Hours  | Disk GB-Hours |
+----------------------------------+---------+--------------+------------+---------------+
| c5140a6e18354a7ab94713e650ca7e38 | 32      | -68800345.00 | -134375.67 | -1343756.74   |
+----------------------------------+---------+--------------+------------+---------------+


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

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

Title:
  nova usage-list does not validate start/end date

Status in OpenStack Compute (Nova):
  Incomplete

Bug description:
  I am using Folsom.

  start date is in the future, Usage from 2014-01-25 to 2013-01-17 -- negative
  values for usage is reported:

  nova usage-list --start 2014-01-25
  Usage from 2014-01-25 to 2013-01-17:
  +----------------------------------+-----------+--------------+-----------+---------------+
  | Tenant ID                        | Instances | RAM MB-Hours | CPU Hours |
  Disk GB-Hours |
  +----------------------------------+-----------+--------------+-----------+---------------+
  | 0f815312c8454242a2170da86c9822cb | 4         | -18335326.05 | -35811.18 |
  0.00          |
  +----------------------------------+-----------+--------------+-----------+---------------+

  nova usage-list --start 2013-06-25 --end 2013-01-25
  Usage from 2013-06-25 to 2013-01-25:
  +----------------------------------+-----------+--------------+-----------+---------------+
  | Tenant ID                        | Instances | RAM MB-Hours | CPU Hours |
  Disk GB-Hours |
  +----------------------------------+-----------+--------------+-----------+---------------+
  | 0f815312c8454242a2170da86c9822cb | 4         | -7816770.15  | -15267.13 |
  0.00          |
  +----------------------------------+-----------+--------------+-----------+---------------+

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