← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1686380] [NEW] the resize of the instance does not change the memory quota usage for vram

 

Public bug reported:

When creating an instance, the memory quota is used to contain video
ram.

For an instance resize, the difference between the old flavor and the
new flavor will be check, and update the quota usage, but if the old
flavor and the new flavor define a different video ram in extra_specs,
it will cause the memory quota to be incorrect.

If a flavor defines 512MB of RAM and 64MB of video RAM, creating an
instance will take up 576MB of memory quota, when resize this instance
to a flavor defined 1024MB of RAM but 0MB of video RAM, it will take up
1088MB of memory quota, not 1024MB, and this 64MB memory quota usage
will never be released.

This bug as same as https://launchpad.net/bugs/1681989 , but this for
resize and that for delete.

** Affects: nova
     Importance: Undecided
     Assignee: 赵明俊 (falseuser)
         Status: New


** Tags: quotas

** Description changed:

+ When creating an instance, the memory quota is used to contain video
+ ram.
+ 
  For an instance resize, the difference between the old flavor and the
  new flavor will be check, and update the quota usage, but if the old
  flavor and the new flavor define a different video ram in extra_specs,
  it will cause the memory quota to be incorrect.
  
  If a flavor defines 512MB of RAM and 64MB of video RAM, creating an
  instance will take up 576MB of memory quota, when resize this instance
  to a flavor defined 1024MB of RAM but 0MB of video RAM, it will take up
  1088MB of memory quota, not 1024MB, and this 64MB memory quota usage
  will never be released.
  
  This bug as same as https://launchpad.net/bugs/1681989 , but this for
  resize and that for delete.

** Changed in: nova
     Assignee: (unassigned) => 赵明俊 (falseuser)

** Tags added: quotas

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

Title:
  the resize of the instance does not change the memory quota usage for
  vram

Status in OpenStack Compute (nova):
  New

Bug description:
  When creating an instance, the memory quota is used to contain video
  ram.

  For an instance resize, the difference between the old flavor and the
  new flavor will be check, and update the quota usage, but if the old
  flavor and the new flavor define a different video ram in extra_specs,
  it will cause the memory quota to be incorrect.

  If a flavor defines 512MB of RAM and 64MB of video RAM, creating an
  instance will take up 576MB of memory quota, when resize this instance
  to a flavor defined 1024MB of RAM but 0MB of video RAM, it will take
  up 1088MB of memory quota, not 1024MB, and this 64MB memory quota
  usage will never be released.

  This bug as same as https://launchpad.net/bugs/1681989 , but this for
  resize and that for delete.

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


Follow ups