Bug 1638318

Summary: missing VDSM hook diskunmap in Node NG releases
Product: [oVirt] ovirt-release Reporter: Andreas Elvers <andreas.elvers+redhat.bugzilla>
Component: GeneralAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED DUPLICATE QA Contact: Lukas Svaty <lsvaty>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.2CC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-11 10:41:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andreas Elvers 2018-10-11 10:39:43 UTC
Description of problem:

Regarding bug #1440230 and the temporary fix (https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/diskunmap) for the time being, there is a problem with oVirt Node NG releases. They lack this vdsm hook. So a node with Cinder/Ceph combo is unable to unmap freed space and will eventually suffocate in no space left on the core Ceph storage.


Version-Release number of selected component (if applicable):


How reproducible:

In a Ceph backed VM delete a file and fstrim the filesystem.

Steps to Reproduce:
1. within the VM: dd if=/dev/zero bs=1M of=/bug_testfile count=1024
2. note size increase of the image in Ceph
3. within VM: rm /bug_testfile && fstrim /
4. note size decrease of the image in Ceph

Actual results:

The size will not decrease.

Expected results:

The size should decrease.

Additional info:

Comment 1 Andreas Elvers 2018-10-11 10:41:29 UTC

*** This bug has been marked as a duplicate of bug 1638317 ***