]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add completion logging for snapshots and volumes
authorJohn Griffith <john.griffith@solidfire.com>
Wed, 28 Jan 2015 04:59:28 +0000 (22:59 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Thu, 29 Jan 2015 04:53:17 +0000 (22:53 -0600)
commit9d9a017913e362a30b14fc1b8d4c8642da5df09b
treeec9df6c8e2f20421b7776354a146906849cfed54
parenta36100bd34a22ddc3b620947809a41d328b1e949
Add completion logging for snapshots and volumes

While trying to debug insufficient resource issues occasionally
seen in the gate, it was noted that there's no logging for
resource deletion of volumes and snapshots.

This patch adds some simple logging in the cinder.volume.api
to note when and why a delete call might fail as an info
message indicating when the request is successfully issued
to the scheduler/rpc layer.

In addition, this patch also adds the same sort of logging
to the LVM backend driver.

This additional logging will help troubleshoot the current
resource issues/races we're encountering in the gate.

Change-Id: I1ac39a43d63650ab020b180eefb3a24a946328d2
cinder/tests/test_volume.py
cinder/volume/api.py
cinder/volume/drivers/lvm.py