Description of problem:
In order to efficiently resize internal block volumes during a live merge operation we need to query libvirt for the highest_wr_offset/allocation statistic for all volumes in a vmdrive's volume chain. Currently libvirt is not providing such an API so we need to preemptively extend volumes. Fix this once the API is available and enable on-demand extensions for live merge targets.
I don't see how libvirt will make it in time for oVirt 3.5.1 - moving out to 3.5.2.
Re-targeting to 3.5.3 since this bug has not been marked as blocker for 3.5.2 and we have already released 3.5.2 Release Candidate.
Moving to 3.6 after consulting devel since it's risky and should be tested well.
Please consider giving private build to test prior to commit.
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
In oVirt testing is done on single release by default. Therefore I'm removing the 4.0 flag. If you think this bug must be tested in 4.0 as well, please re-add the flag. Please note we might not have testing resources to handle the 4.0 clone.
Moving back to assigned as the posted patches are stale and not candidates for merging anymore.
This bug is marked for z-stream, yet the milestone is for a major version, therefore the milestone has been reset.
Please set the correct milestone or drop the z stream flag.
*** Bug 1308375 has been marked as a duplicate of this bug. ***
Duplicate of bug 1181665 ?
(In reply to Yaniv Kaul from comment #11)
> Duplicate of bug 1181665 ?
This one is, in essence, about reaching an optimal size of the merged volume. That one is for deciding when the merge is done.
*** Bug 1420407 has been marked as a duplicate of this bug. ***
Ala - this is an impactful change.
Can you please add some doctext to it?
Verified with the following code:
Verified with the following scenario:
1. Created a VM with disks
2. Created a snapshot (lv size = 1g)
3. Wrote 1.1g of data and created snapshot2 (size = 2g)
4. Delete and live merge snapshot1 ( size = 1g)
Moving to VERIFIED
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.
Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.
If the solution does not work for you, please open a new bug report.