]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
RemoteFS: Fix the offline snapshot delete operation
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Sun, 21 Jun 2015 10:59:59 +0000 (13:59 +0300)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 2 Jul 2015 19:21:42 +0000 (22:21 +0300)
commit0a360207112f5d21eb482feddfd88d5b6e10fdaa
tree11becfee11a24b0e588bb3c5362372c60e0ec106
parenta8c34eccf1e27580d9f8ecfb6b349ccd079e2aa7
RemoteFS: Fix the offline snapshot delete operation

The RemoteFS snapshot driver commits the wrong differencing disk
when performing an offline snapshot delete.

Because of this issue, the same snapshot will represent a different
point in time if the previous one is deleted. More information
about this situation is provided in the bug description.

This patch fixes the issue by commiting the right image in this
case.

Change-Id: Ifb5e840e5a918d727275a2c0be783e1fe045e798
Closes-bug: #1468445
cinder/tests/unit/test_remotefs.py
cinder/volume/drivers/remotefs.py