]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Snapshot reservation sync calls wrong resource.
authorjohn-griffith <john.griffith@solidfire.com>
Thu, 21 Mar 2013 15:48:03 +0000 (09:48 -0600)
committerjohn-griffith <john.griffith@solidfire.com>
Sat, 23 Mar 2013 21:34:30 +0000 (15:34 -0600)
commit5ffed5d2f71215de963c5a54e4f8a0ba48a05803
tree0b5cb54f8a21c0f79bcbcd8b4c742d2b6e9a56d8
parent407d9e5e95ad8a921231bfa81e903924c2617c34
Snapshot reservation sync calls wrong resource.

The snapshot reservations code isn't calling the
correct resource on sync (it's calling volumes).  There's
also some problems with the logic being used on the delete/clean up
that are fixed here as well.

Fixes bug: 1157506
Fixes bug: 1157982

Change-Id: I91327b8043ab63aa35ea8a91b6de544bf5bf6c61
(cherry picked from commit b450eef832ff471b78776c9715b0878e95d69263)
cinder/db/api.py
cinder/flags.py
cinder/quota.py
cinder/tests/test_quota.py
cinder/volume/api.py
cinder/volume/manager.py
etc/cinder/cinder.conf.sample