← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1172764] Re: quota usage includes instances that are in task_state=deleting and vm_state=active

 

as per discussion on the patch, marking as invalid

** Changed in: nova
       Status: In Progress => Invalid

** Changed in: nova
     Assignee: Aleksander Korzynski (a-korzynski) => (unassigned)

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

Title:
  quota usage includes instances that are in task_state=deleting and
  vm_state=active

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Consider a scenario where a user issues a request to delete an
  instance but the instance doesn't disappear because of a problem with
  the infrastructure (e.g. a libvirt error). The instance then stays in
  vm_state=active and task_state=deleting. In that case, it is not the
  user's fault that the instance doesn't go away. However, the user is
  penalized for it, because that instance gets counted in the user's
  quota.

  The problem was confirmed to exist on the trunk version of Nova:
  2013.2.a332.g18d9a8b.

  One way to reproduce this problem is to start an instance then shut
  down nova-compute and then try to delete the instance. Check the
  instance in the instances table in the data base. It will have
  vm_state=active and task_state=deleting. Then check the quota usage
  with "nova absolute-limits". The totalInstancesUsed variable will
  include that instance.

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