← Back to team overview

yahoo-eng-team team mailing list archive

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

 

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

** Changed in: nova
    Milestone: None => grizzly-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/1118910

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

Status in OpenStack Compute (Nova):
  Fix Released

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