diff options
author | Zhiteng Huang <zhiteng.huang@intel.com> | 2012-09-18 08:50:17 +0800 |
---|---|---|
committer | Russell Bryant <rbryant@redhat.com> | 2012-09-18 17:29:21 -0400 |
commit | 28e6abf200d50d2d1c4a043c37cd3b3318d8933d (patch) | |
tree | 74992ae38b42d85faca7f088d00b5d44c58557e6 /nova/notifications.py | |
parent | fe916c95cfdaf4aeb1fdbfd57421b7d1222e7d4b (diff) | |
download | nova-28e6abf200d50d2d1c4a043c37cd3b3318d8933d.tar.gz nova-28e6abf200d50d2d1c4a043c37cd3b3318d8933d.tar.xz nova-28e6abf200d50d2d1c4a043c37cd3b3318d8933d.zip |
Update quota when deleting volume that failed to be scheduled
If one volume was failed to get scheduled, removing such volume should
also clean up reservation.
Also when create_volume is ready to send to scheduler, reservation
should be committed no matter backend can successfully create that
volume or not since deleting volume call will do a minus reservation
even on volume with 'error' status.
This change updates RPC API to version 2.2
Fix bug 1052052
Change-Id: Ia632a0e49318d534f0acbd3df5c9f6bb86eefa2a
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions