Bug 1377849 - LV is not deactivated after live merge when the VM is running on HSM
Summary: LV is not deactivated after live merge when the VM is running on HSM
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: vdsm
Classification: oVirt
Component: Core
Version: 4.17.11
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.0.6
: 4.18.16
Assignee: Ala Hino
QA Contact: Kevin Alon Goldblatt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-20 18:59 UTC by Ala Hino
Modified: 2017-01-18 07:25 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-18 07:25:56 UTC
oVirt Team: Storage
Embargoed:
tnisan: ovirt-4.0.z?
rule-engine: planning_ack?
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 64301 0 master MERGED Live Merge: Teardown volume on HSM after live merge 2016-09-29 21:30:13 UTC
oVirt gerrit 64985 0 ovirt-4.0 MERGED Live Merge: Teardown volume on HSM after live merge 2016-10-10 13:42:10 UTC

Description Ala Hino 2016-09-20 18:59:21 UTC
Description of problem:
After live merge of a snapshot of a VM running on HSM, the LV is not deactivated and the device is not removed from /dev/sdUUID

How reproducible:
100%

Steps to Reproduce:
1. create a VM
2. add a block disk if any size
3. run the VM on HSM
4. create a snapshot
4. delete the snapshot while the VM is running

Actual results:
LV isn't deactivated and device is not removed from /dev/sdUUID

Expected results:
LV to be deactivated and device to be removed

Additional info:
Useful commands to verify the issue:
* dmsetup table | grep volUUID
* ls -al /dev/sdUUID/
In both commands output the volume should not present.

Comment 1 Kevin Alon Goldblatt 2016-11-20 15:51:10 UTC
Verified with the following code:
-------------------------------------------
rhevm-4.0.6-0.1.el7ev.noarch
vdsm-4.18.999-759.git435a852.el7.centos.x86_64

Verified with the following scenario:
-------------------------------------------
Description of problem:
After live merge of a snapshot of a VM running on HSM, the LV is not deactivated and the device is not removed from /dev/sdUUID

How reproducible:
100%

Steps to Reproduce:
1. create a VM
2. add a block disk if any size
3. run the VM on HSM
4. create a snapshot
4. delete the snapshot while the VM is running

Actual results:
LV IS NOW DEACTIVATED and device IS NOW removed from /dev/sdUUID

* dmsetup table | grep volUUID - RETURNED NOTHING
* ls -al /dev/sdUUID/ - NO LONGER DISPLAYS the device
In both commands output the volume IS NOT present.


MOVING TO VERIFIED!


Note You need to log in before you can comment on or make changes to this bug.