[BugFix] Release the memory quota for video ram when deleting an instance.
When creating an instance, the quota is used to contain vram,
and the deletion of the instance does not release the memory quota for vram,
if delete intance it need to release the memory quota for vram.
Change-Id: Iee2925c585c87d9885fd4bfe38cd9b4d316f5dab
Closes-Bug: #1681989
(cherry picked from commit f2d03bf92db3615693b62f4f3274b867f00c0967)
Reviewed: https:/ /review. openstack. org/463148 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=87989c5a37d 0894e104ccfebeb 05115d593291f4
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 87989c5a37d0894 e104ccfebeb0511 5d593291f4
Author: falseuser <email address hidden>
Date: Wed Apr 12 03:35:33 2017 +0000
[BugFix] Release the memory quota for video ram when deleting an instance.
When creating an instance, the quota is used to contain vram,
and the deletion of the instance does not release the memory quota for vram,
if delete intance it need to release the memory quota for vram.
Change-Id: Iee2925c585c87d 9885fd4bfe38cd9 b4d316f5dab 693b62f4f3274b8 67f00c0967)
Closes-Bug: #1681989
(cherry picked from commit f2d03bf92db3615