← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1204821] Re: soft delete leak fixed-ip quota-usages

 

** Changed in: nova
       Status: Incomplete => Invalid

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

Title:
  soft delete leak fixed-ip quota-usages

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  how to reproduct it:

  1.using nova-network, set reclaim_instance_interval=60 in nova.conf.
  2. nova boot vm, wait until vm is active, nova delete vm.
  3. repeat step 2.
  4. select * from quota_usages where project_id='7756e2c342eb4d40a0726366690fbd85';
  +---------------------+---------------------+------------+----+----------------------------------+-----------------+--------+----------+---------------+---------+
  | created_at          | updated_at          | deleted_at | id | project_id                       | resource        | in_use | reserved | until_refresh | deleted |
  +---------------------+---------------------+------------+----+----------------------------------+-----------------+--------+----------+---------------+---------+
  | 2013-06-15 03:59:42 | 2013-07-25 08:25:29 | NULL       |  1 | 7756e2c342eb4d40a0726366690fbd85 | instances       |      0 |        0 |          NULL |       0 |
  | 2013-06-15 03:59:42 | 2013-07-25 08:25:29 | NULL       |  2 | 7756e2c342eb4d40a0726366690fbd85 | ram             |      0 |        0 |          NULL |       0 |
  | 2013-06-15 03:59:42 | 2013-07-25 08:25:29 | NULL       |  3 | 7756e2c342eb4d40a0726366690fbd85 | cores           |      0 |        0 |          NULL |       0 |
  | 2013-06-15 04:05:30 | 2013-07-25 08:25:19 | NULL       |  4 | 7756e2c342eb4d40a0726366690fbd85 | fixed_ips       |      2 |        0 |          NULL |       0 |
  | 2013-07-22 05:51:38 | 2013-07-22 05:51:38 | NULL       |  5 | 7756e2c342eb4d40a0726366690fbd85 | security_groups |      2 |        0 |          NULL |       0 |
  +---------------------+---------------------+------------+----+----------------------------------+-----------------+--------+----------+---------------+---------+

  Even when the instance was reclaimed, the quota usages was incorrect neither.
  Since default fixed-ip quota is -1(no limit), but quota usage leak should be fixed.

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