]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Sheepdog: Improve snapshot and clone operation
authorTeruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp>
Mon, 6 Jul 2015 12:34:37 +0000 (21:34 +0900)
committerTeruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp>
Wed, 2 Sep 2015 09:30:05 +0000 (18:30 +0900)
commit34a28c302c6fbde5cf5307e16bb0f746d3ee03c3
treef3b27ab65459649a0cc6c5d027abeadfefaf25f0
parent77d6bf6550d0b5a94bec7f88024a4105b33502f8
Sheepdog: Improve snapshot and clone operation

This patch changes SheepdogDriver Class methods to use
SheepdogClient Class methods for detailed Error logs.

We change the following SheepdogDriver methods.

- create_snapshot
- delete_snapshot
- create_volume_from_snapshot
- create_cloned_volume
- extend_volume

SheepdogClient Class methods are implemented to enable
fine grained Error handling.

So, the administrators are enable to do error recovery
more easily using those logs.

Change-Id: Ib126088e4100739db013b21970051af1f29790d5
cinder/tests/unit/test_sheepdog.py
cinder/volume/drivers/sheepdog.py