Description of problem: oVirt 4.1 support discard from gust OS to storage backend. Ceph as Cinder backend support trimming rbd images to. I avoid this the lack of 'discard' option via 'diskunmap' (https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/diskunmap) vdsm hook and all works as expected. When fstrim is called in VM (or disk mounted with 'discard' option) - Ceph start reclaim unused space. Version-Release number of selected component (if applicable): 4.1.1.6 How reproducible: Steps to Reproduce: 1. (On Web Admin) Select VM -> Edit. 2. General -> Instance Images -> Create. 3. Select 'Cinder'. Actual results: No "Enable Discard" option. Expected results: "Enable Discard: option is present. Additional info: Priority low, because can be avoid via vdsm hook (who come from google see description).
Like with file-based disks, we can (should) treat this as a best-effort attempt.
Still missed feature in oVirt 4.2
Since moving to Cinderlib as tech preview in RHV 4.3 we deprecated the Cinder storage domains